#include <GteCommand.h>
Public Member Functions | |
| Command (int numArguments, char const *arguments[]) | |
| int | ExcessArguments () const |
| int | GetBoolean (std::string const &name) |
| int | GetBoolean (std::string const &name, bool &value) |
| int | GetDouble (std::string const &name, double &value) |
| int | GetFilename (std::string &value, int startArgIndex=1) |
| int | GetFloat (std::string const &name, float &value) |
| int | GetInteger (std::string const &name, int &value) |
| std::string | GetLastError () const |
| int | GetString (std::string const &name, std::string &value) |
| Command & | Inf (double value) |
| Command & | Max (double value) |
| Command & | Min (double value) |
| Command & | Sup (double value) |
| ~Command () | |
Private Attributes | |
| std::vector< std::string > | mArguments |
| bool | mInfSet |
| double | mLarge |
| std::string | mLastError |
| bool | mMaxSet |
| bool | mMinSet |
| std::vector< bool > | mProcessed |
| double | mSmall |
| bool | mSupSet |
Static Private Attributes | |
| static std::string const | msArgOutOfRange |
| static std::string const | msArgRequired |
| static std::string const | msDash |
| static std::string const | msFilenameNotFound |
| static std::string const | msOptNotFound |
Definition at line 17 of file GteCommand.h.
| Command::~Command | ( | ) |
Definition at line 20 of file GteCommand.cpp.
| Command::Command | ( | int | numArguments, |
| char const * | arguments[] | ||
| ) |
Definition at line 24 of file GteCommand.cpp.
| int Command::ExcessArguments | ( | ) | const |
Definition at line 49 of file GteCommand.cpp.
| int Command::GetBoolean | ( | std::string const & | name | ) |
Definition at line 91 of file GteCommand.cpp.
| int Command::GetBoolean | ( | std::string const & | name, |
| bool & | value | ||
| ) |
Definition at line 97 of file GteCommand.cpp.
| int Command::GetDouble | ( | std::string const & | name, |
| double & | value | ||
| ) |
Definition at line 217 of file GteCommand.cpp.
| int Command::GetFilename | ( | std::string & | value, |
| int | startArgIndex = 1 |
||
| ) |
Definition at line 296 of file GteCommand.cpp.
| int Command::GetFloat | ( | std::string const & | name, |
| float & | value | ||
| ) |
Definition at line 170 of file GteCommand.cpp.
| int Command::GetInteger | ( | std::string const & | name, |
| int & | value | ||
| ) |
Definition at line 123 of file GteCommand.cpp.
| std::string Command::GetLastError | ( | ) | const |
Definition at line 321 of file GteCommand.cpp.
| int Command::GetString | ( | std::string const & | name, |
| std::string & | value | ||
| ) |
Definition at line 264 of file GteCommand.cpp.
| Command & Command::Inf | ( | double | value | ) |
Definition at line 77 of file GteCommand.cpp.
| Command & Command::Max | ( | double | value | ) |
Definition at line 70 of file GteCommand.cpp.
| Command & Command::Min | ( | double | value | ) |
Definition at line 63 of file GteCommand.cpp.
| Command & Command::Sup | ( | double | value | ) |
Definition at line 84 of file GteCommand.cpp.
|
private |
Definition at line 57 of file GteCommand.h.
|
private |
Definition at line 65 of file GteCommand.h.
|
private |
Definition at line 62 of file GteCommand.h.
|
private |
Definition at line 69 of file GteCommand.h.
|
private |
Definition at line 64 of file GteCommand.h.
|
private |
Definition at line 63 of file GteCommand.h.
|
private |
Definition at line 58 of file GteCommand.h.
|
staticprivate |
Definition at line 72 of file GteCommand.h.
|
staticprivate |
Definition at line 71 of file GteCommand.h.
|
staticprivate |
Definition at line 74 of file GteCommand.h.
|
staticprivate |
Definition at line 73 of file GteCommand.h.
|
private |
Definition at line 61 of file GteCommand.h.
|
staticprivate |
Definition at line 70 of file GteCommand.h.
|
private |
Definition at line 66 of file GteCommand.h.