|
Classes |
class | Command |
struct | Command::Arg |
class | Commands |
Defines |
#define | BeginHandleArgs int iMaxIndexAccessed = 0; |
#define | GET_ARG(type, i) iMaxIndexAccessed = max( i, iMaxIndexAccessed ); command.GetArg##type( i ); |
#define | sArg(i) GetArg<CString>(command,i,iMaxIndexAccessed) |
#define | fArg(i) GetArg<float>(command,i,iMaxIndexAccessed) |
#define | iArg(i) GetArg<int>(command,i,iMaxIndexAccessed) |
#define | bArg(i) GetArg<bool>(command,i,iMaxIndexAccessed) |
#define | cArg(i) GetColorArg(command,i,iMaxIndexAccessed) |
#define | EndHandleArgs if( iMaxIndexAccessed != (int)command.m_vsArgs.size()-1 ) { IncorrectNumberArgsWarning( command, iMaxIndexAccessed ); } |
Functions |
void | ParseCommands (const CString &sCmds, Commands &vCmdsOut) |
Commands | ParseCommands (const CString &sCmds) |
void | IncorrectNumberArgsWarning (const Command &command, int iMaxIndexAccessed) |
template<class T> T | GetArg (const Command &command, int iIndex, int &iMaxIndexAccessedOut) |
RageColor | GetColorArg (const Command &command, int iIndex, int &iMaxIndexAccessed) |