#include <csbuild-options.h>
Inheritance diagram for csbuild::options:


Public Types | |
| enum | purge_mode { PURGE_ALWAYS, PURGE_SUCCESS, PURGE_NEVER } |
| Purge modes. More... | |
| typedef std::tr1::shared_ptr< options > | ptr |
| A shared_ptr to an options object. | |
Public Member Functions | |
| options () | |
| The constructor. | |
| virtual | ~options () |
| The destructor. | |
Public Attributes | |
| bool | nolog |
| No logging. | |
| bool | build_arch_all |
| Build architecture all packages. | |
| bool | build_source |
| Build source package. | |
| bool | force_orig_source |
| Force original source. dpkg-buildpackage -sa. | |
| std::string | distribution |
| Distribution. | |
| std::string | purge_string |
| Purge build directory. | |
| purge_mode | purge |
| Purge build directory. | |
| std::string | maintainer |
| Maintainer. | |
| std::string | keyid |
| Key ID. | |
| std::string | uploader |
| Uploader. | |
| sbuild::string_list | forced_dependencies |
| Forced dependencies. | |
| sbuild::string_list | additional_dependencies |
| Additional dependencies. | |
| bool | bin_nmu |
| Make a binary non-maintainer upload. | |
| bool | gcc_snapshot |
| Use the current GCC snapshot to build. | |
Static Public Attributes | |
| static const action_type | ACTION_BUILD |
| Begin, run and end a session. | |
Protected Member Functions | |
| virtual void | add_options () |
| Add options to option groups. | |
| virtual void | add_option_groups () |
| Add option groups to container groups. | |
| virtual void | check_options () |
| Check options after parsing. | |
Protected Attributes | |
| boost::program_options::options_description | build |
| Build options group. | |
| boost::program_options::options_description | user |
| User options group. | |
| boost::program_options::options_description | special |
| Special options group. | |
Definition at line 35 of file csbuild-options.h.
| typedef std::tr1::shared_ptr<options> csbuild::options::ptr |
A shared_ptr to an options object.
Reimplemented from schroot_base::options.
Definition at line 39 of file csbuild-options.h.
Purge modes.
| PURGE_ALWAYS | Always purge build. |
| PURGE_SUCCESS | Purge build on success only. |
| PURGE_NEVER | Never purge build. |
Definition at line 69 of file csbuild-options.h.
| options::options | ( | ) |
The constructor.
Reimplemented from schroot_base::options.
Definition at line 41 of file csbuild-options.cc.
| options::~options | ( | ) | [virtual] |
The destructor.
Reimplemented from schroot_base::options.
Definition at line 49 of file csbuild-options.cc.
| void options::add_options | ( | ) | [protected, virtual] |
Add options to option groups.
Reimplemented from schroot_base::options.
Definition at line 54 of file csbuild-options.cc.
References schroot_base::options::action, ACTION_BUILD, schroot_base::options::actions, schroot_base::options::add_options(), additional_dependencies, bin_nmu, build, build_source, distribution, gcc_snapshot, schroot_base::options::general, keyid, nolog, special, uploader, and user.
| void options::add_option_groups | ( | ) | [protected, virtual] |
Add option groups to container groups.
Reimplemented from schroot_base::options.
Definition at line 105 of file csbuild-options.cc.
References schroot_base::options::add_option_groups(), build, schroot_base::options::global, special, user, and schroot_base::options::visible.
| void options::check_options | ( | ) | [protected, virtual] |
Check options after parsing.
Reimplemented from schroot_base::options.
Definition at line 121 of file csbuild-options.cc.
References ACTION_BUILD, schroot_base::options::check_options(), and schroot_base::options::vm.
const options::action_type options::ACTION_BUILD [static] |
Begin, run and end a session.
Definition at line 42 of file csbuild-options.h.
Referenced by add_options(), check_options(), and csbuild::main::run_impl().
| std::string csbuild::options::distribution |
| std::string csbuild::options::purge_string |
| std::string csbuild::options::maintainer |
| std::string csbuild::options::keyid |
| std::string csbuild::options::uploader |
Additional dependencies.
Definition at line 92 of file csbuild-options.h.
Referenced by add_options().
Make a binary non-maintainer upload.
Definition at line 95 of file csbuild-options.h.
Referenced by add_options().
Use the current GCC snapshot to build.
Definition at line 98 of file csbuild-options.h.
Referenced by add_options().
boost::program_options::options_description csbuild::options::build [protected] |
Build options group.
Definition at line 111 of file csbuild-options.h.
Referenced by add_option_groups(), and add_options().
boost::program_options::options_description csbuild::options::user [protected] |
User options group.
Definition at line 114 of file csbuild-options.h.
Referenced by add_option_groups(), and add_options().
boost::program_options::options_description csbuild::options::special [protected] |
Special options group.
Definition at line 117 of file csbuild-options.h.
Referenced by add_option_groups(), and add_options().
1.5.2