scsl 0.1.1
Shimmering Clarity Standard Library
|
Public Member Functions | |
Flags (std::string fName) | |
Flags (std::string fName, std::string fDescription) | |
bool | Register (std::string fName, FlagType fType, std::string fDescription) |
bool | Register (std::string fName, bool defaultValue, std::string fDescription) |
bool | Register (std::string fName, int defaultValue, std::string fDescription) |
bool | Register (std::string fName, unsigned int defaultValue, std::string fDescription) |
bool | Register (std::string fName, size_t defaultValue, std::string fDescription) |
bool | Register (std::string fName, std::string defaultValue, std::string fDescription) |
size_t | Size () |
Flag * | Lookup (std::string fName) |
bool | ValueOf (std::string fName, FlagValue &value) |
ParseStatus | Parse (int argc, char **argv) |
void | Usage (std::ostream &os, int exitCode) |
size_t | NumArgs () |
std::vector< std::string > | Args () |
std::string | Arg (int index) |
bool | GetBool (std::string fName, bool &flagValue) |
bool | GetUnsignedInteger (std::string fName, unsigned int &flagValue) |
bool | GetInteger (std::string fName, int &flagValue) |
bool | GetString (std::string fName, std::string &flagValue) |
bool | GetSizeT (std::string fName, std::size_t &flagValue) |