IConsoleCmdArgs

C++
struct IConsoleCmdArgs {
};
File

IConsole.h

Description

Interface to the arguments of the console command.

IConsoleCmdArgs::~IConsoleCmdArgs Destructor
C++
virtual ~IConsoleCmdArgs();
IConsoleCmdArgs::GetArg Method
C++
virtual const char* GetArg(int nIndex) const = 0;
Description

Gets argument by index, nIndex must be in 0 <= nIndex < GetArgCount()

IConsoleCmdArgs::GetArgCount Method
C++
virtual int GetArgCount() const = 0;
Description

Gets number of arguments supplied to the command (including the command itself)

IConsoleCmdArgs::GetCommandLine Method
C++
virtual const char* GetCommandLine() const = 0;
Description

Gets complete command line