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.
|
inline |
Definition at line 85 of file ProgOptions.cpp.
|
inlineprivate |
Definition at line 67 of file ProgOptions.cpp.
References FLAG, INT, INT_VECT, REAL, and type.
Referenced by ProgOptions::get_option_usage_prefix().
|
friend |
Definition at line 91 of file ProgOptions.cpp.
|
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().
|
private |
Definition at line 65 of file ProgOptions.cpp.
Referenced by ProgOptions::addOpt(), and ProgOptions::process_option().
|
private |
Definition at line 64 of file ProgOptions.cpp.
Referenced by ProgOptions::evaluate(), ProgOptions::get_option_usage_prefix(), ProgOptions::parseCommandLine(), and ProgOptions::process_option().
|
private |
Definition at line 60 of file ProgOptions.cpp.
Referenced by ProgOptions::get_option_usage_prefix(), and ProgOptions::printHelp().
|
private |
Definition at line 60 of file ProgOptions.cpp.
Referenced by ProgOptions::get_option_usage_prefix().
|
private |
Definition at line 63 of file ProgOptions.cpp.
Referenced by ProgOptions::addOpt(), ProgOptions::addRequiredArg(), ProgOptions::parseCommandLine(), and ProgOptions::process_option().
|
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().