|
| single (char aShortName, const std::string &aLongName, const std::string &aExplanation, bool aDefault=false) |
|
| single (const single &)=delete |
|
bool | operator= (const bool &aValue) |
|
void | fWriteValue (std::ostream &aStream) const override |
| write textual representation of value to a std::ostream More...
|
|
void | fSetMeNoarg (const internal::sourceItem &aSource) override |
|
void | fSetMe (std::istream &aStream, const internal::sourceItem &aSource) override |
| function to set the value from a string, remembering the source More...
|
|
void | fCheckRange () const override |
|
void | fAddToRangeFromStream (std::istream &) override |
| special for use in the shellScriptOptionParser More...
|
|
void | fAddDefaultFromStream (std::istream &aStream) override |
| special for use in the shellScriptOptionParser More...
|
|
bool | fGetValue () const |
|
| fundamental_wrapper () |
|
| fundamental_wrapper (bool aValue) |
|
fundamental_wrapper & | operator= (const bool aValue) |
|
bool | operator= (const bool &aValue) |
|
| operator bool & () |
|
| operator const bool & () const |
|
| base (char aShortName, const std::string &aLongName, const std::string &aExplanation, short aNargs) |
| construct an object of type base More...
|
|
virtual | ~base () |
|
virtual void | fRequire (const base *aOtherOption) |
| require aOtherOption when this option is set More...
|
|
virtual void | fRequire (std::vector< const base * > aOtherOptions) |
| add vector of other options, particlularly nice for use with initializer list More...
|
|
template<typename InputIt > |
void | fRequire (InputIt aBegin, InputIt aEnd) |
| add all options from the pair of iterators [aBegin,aEnd) to the list of required options More...
|
|
virtual void | fForbid (const base *aOtherOption) |
| forbid aOtherOption when this option is set More...
|
|
virtual void | fForbid (std::vector< const base * > aOtherOptions) |
| add vector of other options, particlularly nice for use with initializer list More...
|
|
template<typename InputIt > |
void | fForbid (InputIt aBegin, InputIt aEnd) |
| add all options from the pair of iterators [aBegin,aEnd) to the list of forbidden options More...
|
|
virtual bool | fIsSet () const |
| check if this option was set, regardless of from command line or config file More...
|
|
virtual bool | fIsContainer () const |
|
const std::string & | fGetLongName () const |
| returns long name of option, usually only for internal use. More...
|
|
class specialisation for options of type bool
in this class in cases that there is no argument, i.e. when parsing the comand line the value is set to the oppsoite of the default value. If an argument is given, which is always the case in config files, then the value is read as std::boolalpha (when no locale nonsense is done 'true' or 'false')
Definition at line 595 of file Options.h.