#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] |
Arguments::~Arguments | ( | ) | [inline] |
const std::string& Arguments::GetApplicationFilename | ( | ) | const [inline] |
const std::string Arguments::GetOption | ( | const std::string & | strOptionName | ) | const [inline] |
const bool Arguments::HasOption | ( | const std::string & | strOptionName | ) | const [inline] |
void Arguments::SetApplicationFilename | ( | const std::string & | strApplicationFilename | ) | [inline] |
void Arguments::SetOption | ( | const std::string & | strOptionName, | |
const std::string & | strOptionValue | |||
) | [inline] |
std::ostream& operator<< | ( | std::ostream & | os, | |
const Arguments & | argArguments | |||
) | [friend] |
std::map<std::string,std::string> Arguments::m_mapOptions [private] |
std::string Arguments::m_strApplicationFilename [private] |