#include <Commands.h>
|
| CArgParser (const std::vector< std::string > &args, const std::string &function, size_t start_index) |
|
size_t | size () const |
|
std::string | ReadString (size_t min=0, size_t max=0) |
|
std::wstring | ReadWideString (size_t min=0, size_t max=0) |
|
std::string | ReadStringOneOf (const std::vector< std::string > &opts, bool ignorecase=false) |
|
std::wstring | ReadWideStringOneOf (const std::vector< std::string > &opts, bool ignorecase=false) |
|
int | ReadInt (int min=INT_MIN, int max=INT_MAX) |
|
unsigned int | ReadUInt (unsigned int min=0, unsigned int max=UINT_MAX) |
|
double | ReadDouble (double min=-DBL_MAX, double max=DBL_MAX) |
|
float | ReadFloat (float min=-FLT_MAX, float max=FLT_MAX) |
|
bool | ReadBool () |
|
halo::s_player & | ReadPlayer () |
|
std::string | ReadPlayerHash () |
|
std::string | ReadPlayerOrHash () |
|
commands::CArgParser::CArgParser |
( |
const std::vector< std::string > & |
args, |
|
|
const std::string & |
function, |
|
|
size_t |
start_index |
|
) |
| |
|
explicit |
bool commands::CArgParser::ReadBool |
( |
| ) |
|
double commands::CArgParser::ReadDouble |
( |
double |
min = -DBL_MAX , |
|
|
double |
max = DBL_MAX |
|
) |
| |
float commands::CArgParser::ReadFloat |
( |
float |
min = -FLT_MAX , |
|
|
float |
max = FLT_MAX |
|
) |
| |
int commands::CArgParser::ReadInt |
( |
int |
min = INT_MIN , |
|
|
int |
max = INT_MAX |
|
) |
| |
std::string commands::CArgParser::ReadPlayerHash |
( |
| ) |
|
std::string commands::CArgParser::ReadPlayerOrHash |
( |
| ) |
|
std::string commands::CArgParser::ReadString |
( |
size_t |
min = 0 , |
|
|
size_t |
max = 0 |
|
) |
| |
std::string commands::CArgParser::ReadStringOneOf |
( |
const std::vector< std::string > & |
opts, |
|
|
bool |
ignorecase = false |
|
) |
| |
unsigned int commands::CArgParser::ReadUInt |
( |
unsigned int |
min = 0 , |
|
|
unsigned int |
max = UINT_MAX |
|
) |
| |
std::wstring commands::CArgParser::ReadWideString |
( |
size_t |
min = 0 , |
|
|
size_t |
max = 0 |
|
) |
| |
std::wstring commands::CArgParser::ReadWideStringOneOf |
( |
const std::vector< std::string > & |
opts, |
|
|
bool |
ignorecase = false |
|
) |
| |
size_t commands::CArgParser::size |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: