|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <LUPI.hpp>
Public Member Functions | |
| OptionTrue (std::string const &a_name, std::string const &a_descriptor="", int a_minimumNeeded=0, int a_maximumNeeded=-1) | |
| ~OptionTrue () | |
| Public Member Functions inherited from LUPI::OptionBoolean | |
| OptionBoolean (ArgumentType a_argumentType, std::string const &a_name, std::string const &a_descriptor, bool a_default) | |
| virtual | ~OptionBoolean ()=0 |
| bool | _default () const |
| std::string | printStatus2 () const |
| Public Member Functions inherited from LUPI::ArgumentBase | |
| ArgumentBase (ArgumentType a_argumentType, std::string const &a_name, std::string const &a_descriptor, int a_minimumNeeded, int a_maximumNeeded) | |
| virtual | ~ArgumentBase ()=0 |
| ArgumentType | argumentType () const |
| std::string const & | name () const |
| std::vector< std::string > const & | names () |
| bool | hasName (std::string const &a_name) const |
| std::string const & | descriptor () const |
| int | minimumNeeded () const |
| int | maximumNeeded () const |
| std::size_t | counts () const |
| virtual std::string const & | value (std::size_t a_index=0) const |
| std::vector< std::string > const & | values () const |
| virtual bool | isOptionalArgument () const |
| virtual bool | requiresAValue () const |
| virtual int | parse (ArgumentParser const &a_argumentParser, int a_index, int a_argc, char **a_argv) |
| std::string | usage (bool a_requiredOption) const |
| void | printStatus (std::string a_indent) const |
An boolean optional argument whose default is false and changes to true if one or more options are entered.
| LUPI::OptionTrue::OptionTrue | ( | std::string const & | a_name, |
| std::string const & | a_descriptor = "", | ||
| int | a_minimumNeeded = 0, | ||
| int | a_maximumNeeded = -1 ) |
OptionTrue constructor.
| a_name | [in] The name of the argument. |
| a_descriptor | [in] The string printed with arugment's help. |
| a_minimumNeeded | [in] Not used. Will probably be deprecated. |
| a_maximumNeeded | [in] Not used. Will probably be deprecated. |
Definition at line 291 of file LUPI_argumentParser.cc.