#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 |
Private Attributes | |
| std::string | m_strApplicationFilename |
| std::map< std::string, std::string > | m_mapOptions |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Arguments &argArguments) |
| Arguments::Arguments | ( | int | argc = 0, |
|
| char ** | argv = NULL | |||
| ) | [inline] |
References m_mapOptions, m_strApplicationFilename, and trim().
| Arguments::~Arguments | ( | ) | [inline] |
| const std::string& Arguments::GetApplicationFilename | ( | ) | const [inline] |
| const std::string Arguments::GetOption | ( | const std::string & | strOptionName | ) | const [inline] |
References m_mapOptions.
| const bool Arguments::HasOption | ( | const std::string & | strOptionName | ) | const [inline] |
References m_mapOptions.
| void Arguments::SetApplicationFilename | ( | const std::string & | strApplicationFilename | ) | [inline] |
References m_strApplicationFilename.
| void Arguments::SetOption | ( | const std::string & | strOptionName, | |
| const std::string & | strOptionValue | |||
| ) | [inline] |
References m_mapOptions.
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const Arguments & | argArguments | |||
| ) | [friend] |
std::map<std::string,std::string> Arguments::m_mapOptions [private] |
Referenced by Arguments(), GetOption(), HasOption(), operator<<(), and SetOption().
std::string Arguments::m_strApplicationFilename [private] |
Referenced by Arguments(), GetApplicationFilename(), and SetApplicationFilename().
1.5.8