EvEmu
0.8.4
11 September 2021
|
Separates string to arguments. More...
#include "Seperator.h"
Public Member Functions | |
Seperator (const char *str, const char *divs=" \t", const char *quotes="\"\'") | |
const std::string & | arg (size_t index) const |
size_t | argCount () const |
bool | isNumber (size_t index) const |
bool | isHexNumber (size_t index) const |
Protected Attributes | |
std::vector< std::string > | mArgs |
Separates string to arguments.
Definition at line 36 of file Seperator.h.
Seperator::Seperator | ( | const char * | str, |
const char * | divs = " \t" , |
||
const char * | quotes = "\"\'" |
||
) |
Definition at line 34 of file Seperator.cpp.
|
inline |
Definition at line 43 of file Seperator.h.
References mArgs.
Referenced by cmd_find_nth_noneq(), cmd_parse_eq_arg(), Command_attrlist(), Command_ban(), Command_bubbletrack(), Command_bubblewarp(), Command_dogma(), Command_dropLoot(), Command_giveallskills(), Command_giveisk(), Command_giveskill(), Command_goto(), Command_heal(), Command_healtarget(), Command_kick(), Command_kill(), Command_online(), Command_pop(), Command_repairmodules(), Command_savedungeon(), Command_search(), Command_setattr(), Command_setbpattr(), Command_spawn(), Command_spawnn(), Command_tr(), Command_unban(), Command_unload(), Command_unspawn(), CRC32Text(), DestinyDumpLogText(), CommandDispatcher::Execute(), generic_createitem(), isHexNumber(), isNumber(), LoadScript(), ObjectToSQL(), PrintHelp(), PrintTimeNow(), ProcessCommand(), StuffExtract(), TimeToString(), TriToOBJ(), and UnmarshalLogText().
|
inline |
Definition at line 44 of file Seperator.h.
References mArgs.
Referenced by cmd_find_nth_noneq(), cmd_parse_eq_arg(), Command_ban(), Command_bubbletrack(), Command_cloak(), Command_create(), Command_createitem(), Command_dogma(), Command_giveallskills(), Command_giveisk(), Command_giveskill(), Command_goto(), Command_heal(), Command_healtarget(), Command_kick(), Command_kill(), Command_killallnpcs(), Command_online(), Command_pop(), Command_repairmodules(), Command_savedungeon(), Command_search(), Command_setattr(), Command_setbpattr(), Command_sov(), Command_spawn(), Command_spawndungeon(), Command_spawnn(), Command_tr(), Command_unban(), Command_unload(), CRC32Text(), DestinyDumpLogText(), CommandDispatcher::Execute(), generic_createitem(), LoadScript(), ObjectToSQL(), PrintHelp(), StuffExtract(), TimeToString(), TriToOBJ(), and UnmarshalLogText().
|
inline |
Definition at line 47 of file Seperator.h.
References arg(), and IsHexNumber().
Referenced by Command_ban(), Command_kick(), and Command_unban().
|
inline |
Definition at line 46 of file Seperator.h.
References arg(), and IsNumber().
Referenced by Command_attrlist(), Command_ban(), Command_bubblewarp(), Command_dogma(), Command_fleetinvite(), Command_giveallskills(), Command_giveisk(), Command_giveskill(), Command_goto(), Command_heal(), Command_healtarget(), Command_kick(), Command_kill(), Command_online(), Command_repairmodules(), Command_savedungeon(), Command_setattr(), Command_setbpattr(), Command_spawn(), Command_spawndungeon(), Command_spawnn(), Command_tr(), Command_unban(), Command_unload(), Command_unspawn(), and generic_createitem().
|
protected |
Definition at line 50 of file Seperator.h.
Referenced by arg(), argCount(), and Seperator().