35 LogAssert(numArguments > 0,
"Invalid number of arguments.");
39 for (
int i = 0; i < numArguments; ++i)
53 for (
int i = 1; i < numArguments; ++i)
103 for (
int i = 1; i < numArguments; ++i)
128 for (
int i = 1; i < numArguments; ++i)
134 || (argument[0] ==
'-' && !isdigit((
int)argument[1])))
140 value = atoi(argument.c_str());
175 for (
int i = 1; i <numArguments; ++i)
181 || (argument[0] ==
'-' && !isdigit((
int)argument[1])))
187 value = (float)atof(argument.c_str());
222 for (
int i = 1; i < numArguments; ++i)
228 || (argument[0] ==
'-' && !isdigit((
int)argument[1])))
234 value = atof(argument.c_str());
269 for (
int i = 1; i < numArguments; ++i)
301 for (
int i = startArgIndex; i < numArguments; ++i)
Command & Max(double value)
std::vector< bool > mProcessed
Command & Sup(double value)
#define LogAssert(condition, message)
std::string GetLastError() const
static std::string const msArgOutOfRange
GLsizei const GLfloat * value
Command & Inf(double value)
GLuint const GLchar * name
int GetDouble(std::string const &name, double &value)
std::vector< std::string > mArguments
Command & Min(double value)
int GetString(std::string const &name, std::string &value)
int GetBoolean(std::string const &name)
GLsizei const GLchar *const * string
typedef int(WINAPI *PFNWGLRELEASEPBUFFERDCARBPROC)(HPBUFFERARB hPbuffer
int GetFilename(std::string &value, int startArgIndex=1)
static std::string const msFilenameNotFound
int GetFloat(std::string const &name, float &value)
int ExcessArguments() const
int GetInteger(std::string const &name, int &value)
static std::string const msDash
static std::string const msOptNotFound
Command(int numArguments, char const *arguments[])
static std::string const msArgRequired