Public Types | |
| enum class | Type : uint8_t { None , Bool , Int32 , UInt16 , StringView , StringSpan , Custom } |
| using | CustomParser = bool (*)(void* userData, StringSpan value) |
Public Member Functions | |
| bool | requiresValue () const |
Static Public Member Functions | |
| static CommandLineValue | none () |
| static CommandLineValue | boolean (bool &value) |
| static CommandLineValue | int32 (int32_t &value) |
| static CommandLineValue | uint16 (uint16_t &value) |
| static CommandLineValue | stringView (SC::StringView &value) |
| static CommandLineValue | stringSpan (SC::StringSpan &value) |
| static CommandLineValue | custom (void *userData, CustomParser customParse) |
Public Attributes | |
| Type | type = Type::None |
| void * | storage = nullptr |
| CustomParser | customParse = nullptr |