MOAB: Mesh Oriented datABase
(version 5.4.1)
|
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 57 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 85 of file ProgOptions.cpp.
const char* ProgOpt::get_argstring | ( | ) | const [inline, private] |
friend class ProgOptions [friend] |
Definition at line 91 of file ProgOptions.cpp.
std::vector< std::string > ProgOpt::args [private] |
Definition at line 61 of file ProgOptions.cpp.
Referenced by ProgOptions::evaluate(), ProgOptions::getArgs(), ProgOptions::getOpt(), ProgOptions::getOptAllArgs(), ProgOptions::numOptSet(), ProgOptions::parseCommandLine(), and ProgOptions::process_option().
ProgOpt* ProgOpt::cancel_opt [private] |
Definition at line 65 of file ProgOptions.cpp.
Referenced by ProgOptions::addOpt(), and ProgOptions::process_option().
int ProgOpt::flags [private] |
Definition at line 64 of file ProgOptions.cpp.
Referenced by ProgOptions::evaluate(), ProgOptions::get_option_usage_prefix(), ProgOptions::parseCommandLine(), and ProgOptions::process_option().
std::string ProgOpt::longname [private] |
Definition at line 60 of file ProgOptions.cpp.
Referenced by ProgOptions::get_option_usage_prefix(), and ProgOptions::printHelp().
std::string ProgOpt::shortname [private] |
Definition at line 60 of file ProgOptions.cpp.
Referenced by ProgOptions::get_option_usage_prefix().
void* ProgOpt::storage [private] |
Definition at line 63 of file ProgOptions.cpp.
Referenced by ProgOptions::addOpt(), ProgOptions::parseCommandLine(), and ProgOptions::process_option().
OptType ProgOpt::type [private] |
Definition at line 62 of file ProgOptions.cpp.
Referenced by ProgOptions::evaluate(), get_argstring(), ProgOptions::getArgs(), ProgOptions::getOpt(), ProgOptions::getOptAllArgs(), ProgOptions::parseCommandLine(), and ProgOptions::process_option().