Public Types | |
enum | { Mandatory = 0x1, MandatoryValue = 0x2, OptionalValue = 0x4, SetByDefault = 0x8, Usage = 0x100, Help = 0x200 } |
Public Member Functions | |
Option () | |
Option (char opt, const std::string &long_opt, const OptionType &type, unsigned int flags, const std::string &defval, const OptionDesc &optdesc=OptionDesc()) | |
Option (char opt, const std::string &long_opt, const OptionType &type=OptionBoolType(), unsigned int flags=0, const OptionDesc &optdesc=OptionDesc()) | |
Option (char opt, const OptionType &type=OptionBoolType(), unsigned int flags=0, const OptionDesc &optdesc=OptionDesc()) | |
Option (const std::string &long_opt, const OptionType &type=OptionBoolType(), unsigned int flags=0, const OptionDesc &optdesc=OptionDesc()) | |
Option (char opt, const OptionType &type, unsigned int flags, const std::string &defval, const OptionDesc &optdesc=OptionDesc()) | |
Option (const std::string &long_opt, const OptionType &type, unsigned int flags, const std::string &defval, const OptionDesc &optdesc=OptionDesc()) | |
Option (const Option &o) | |
Option & | operator= (const Option &o) |
char | getOpt () const |
const std::string & | getLongOpt () const |
const OptionType & | getOptionType () const |
unsigned int | getFlags () const |
const std::string & | getDefaultValue () const |
const OptionDesc & | getOptionDesc () const |
~Option () |
Definition at line 158 of file GetOpt.h.
anonymous enum |