#include <Arguments.h>
Public Member Functions | |
| Arguments (int argc=0, char **argv=NULL) | |
| ~Arguments () | |
| void | SetApplicationFilename (const std::string &strApplicationFilename) |
| const std::string & | GetApplicationFilename () const |
| const bool | HasOption (const std::string &strOptionName) const |
| void | SetOption (const std::string &strOptionName, const std::string &strOptionValue) |
| const std::string | GetOption (const std::string &strOptionName) const |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Arguments &argArguments) |
| Arguments::Arguments | ( | int | argc = 0, |
|
| char ** | argv = NULL | |||
| ) | [inline] |
Constructor
| Arguments::~Arguments | ( | ) | [inline] |
Destructor
| void Arguments::SetApplicationFilename | ( | const std::string & | strApplicationFilename | ) | [inline] |
Sets the application Filename
| const std::string& Arguments::GetApplicationFilename | ( | ) | const [inline] |
get the application Filename
| const bool Arguments::HasOption | ( | const std::string & | strOptionName | ) | const [inline] |
Returns true if the expected option is available
| void Arguments::SetOption | ( | const std::string & | strOptionName, | |
| const std::string & | strOptionValue | |||
| ) | [inline] |
Sets an option
| const std::string Arguments::GetOption | ( | const std::string & | strOptionName | ) | const [inline] |
Get an option
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const Arguments & | argArguments | |||
| ) | [friend] |
Stream Operator
Operator for streams
1.5.4