moab
|
Public Member Functions | |
ProgOpt (const std::string &longname_p, const std::string &shortname_p, int flags_p, OptType t=FLAG) | |
Private Member Functions | |
const char * | get_argstring () const |
Private Attributes | |
std::string | shortname |
std::string | longname |
std::vector< std::string > | args |
OptType | type |
void * | storage |
int | flags |
ProgOpt * | cancel_opt |
Friends | |
class | ProgOptions |
Definition at line 37 of file ProgOptions.cpp.
ProgOpt::ProgOpt | ( | const std::string & | longname_p, |
const std::string & | shortname_p, | ||
int | flags_p, | ||
OptType | t = FLAG |
||
) | [inline] |
Definition at line 62 of file ProgOptions.cpp.
const char* ProgOpt::get_argstring | ( | ) | const [inline, private] |
friend class ProgOptions [friend] |
Definition at line 67 of file ProgOptions.cpp.
std::vector< std::string > ProgOpt::args [private] |
Definition at line 40 of file ProgOptions.cpp.
ProgOpt* ProgOpt::cancel_opt [private] |
Definition at line 44 of file ProgOptions.cpp.
int ProgOpt::flags [private] |
Definition at line 43 of file ProgOptions.cpp.
std::string ProgOpt::longname [private] |
Definition at line 39 of file ProgOptions.cpp.
std::string ProgOpt::shortname [private] |
Definition at line 39 of file ProgOptions.cpp.
void* ProgOpt::storage [private] |
Definition at line 42 of file ProgOptions.cpp.
OptType ProgOpt::type [private] |
Definition at line 41 of file ProgOptions.cpp.