#include <Args.h>
Public Types | |
no_type = 0 | |
type_bool | |
type_str | |
type_sint | |
type_uint | |
enum | { no_type = 0, type_bool, type_str, type_sint, type_uint } |
Public Member Functions | |
Option () | |
Option (const char *option_cstr, bool *value, const bool defaultvalue=true) | |
Option (const char *option_cstr, std::string *value, const char *defaultvalue=0) | |
Option (const char *option_cstr, sint32 *value, const sint32 defaultvalue=true) | |
Option (const char *option_cstr, uint32 *value, const uint32 defaultvalue=true) | |
~Option () | |
Public Attributes | |
std::string | option |
bool * | _bool_val |
std::string * | _str_val |
sint32 * | _sint_val |
uint32 * | _uint_val |
bool | _bool_default |
std::string | _str_default |
sint32 | _sint_default |
uint32 | _uint_default |
enum Args::Option:: { ... } | valuetype |
Definition at line 37 of file Args.h.
anonymous enum |
Args::Option::Option | ( | const char * | option_cstr, | |
bool * | value, | |||
const bool | defaultvalue = true | |||
) | [inline] |
Args::Option::Option | ( | const char * | option_cstr, | |
std::string * | value, | |||
const char * | defaultvalue = 0 | |||
) | [inline] |
bool* Args::Option::_bool_val |
std::string Args::Option::_str_default |
std::string* Args::Option::_str_val |
std::string Args::Option::option |
enum { ... } Args::Option::valuetype |