#include <input_argument_parser.h>
Public Member Functions | |
const std::string & | getApplicationName () const |
int | getArgc () |
std::string | getArgument (unsigned int pos) const |
char ** | getArgv () |
const std::string & | getConfigFile () const |
const std::string & | getLogFile () const |
LoggingLevel | getLoggingLevel () const |
const StringList & | getPluginList () const |
const StringMap & | getShaders () const |
InputArguments (const InputArguments &ia) | |
InputArguments (int argc, char *argv[]) | |
~InputArguments () | |
Private Attributes | |
std::string | mApplicationName |
int | mArgc |
char ** | mArgv |
std::string | mConfigFile |
bool | mDebug |
std::string | mLogFile |
LoggingLevel | mLoggingLevel |
StringList | mPluginList |
StringMap | mShaders |
bool | mWarnings |
Friends | |
class | Application |
class | InputArgParser |
Definition at line 43 of file input_argument_parser.h.
gpucalc::InputArguments::InputArguments | ( | int | argc, | |
char * | argv[] | |||
) | [inline] |
Definition at line 50 of file input_argument_parser.h.
00050 : mLogFile("gpucalc.log"), mApplicationName("gpucalc"), mConfigFile("plugins.cfg"), mPluginList(), 00051 mShaders(), mLoggingLevel(LL_Normal), mDebug(false), mWarnings(true), mArgc(argc), mArgv(argv) 00052 { 00053 }
gpucalc::InputArguments::InputArguments | ( | const InputArguments & | ia | ) | [inline] |
Definition at line 55 of file input_argument_parser.h.
00055 : mLogFile(ia.mLogFile), mApplicationName(ia.mApplicationName), mConfigFile(ia.mConfigFile), 00056 mPluginList(ia.mPluginList), mShaders(ia.mShaders), mLoggingLevel(ia.mLoggingLevel), mDebug(ia.mDebug), mWarnings(ia.mWarnings), 00057 mArgc(ia.mArgc), mArgv(ia.mArgv) 00058 { 00059 }
gpucalc::InputArguments::~InputArguments | ( | ) | [inline] |
const std::string& gpucalc::InputArguments::getApplicationName | ( | ) | const [inline] |
Definition at line 72 of file input_argument_parser.h.
00073 { 00074 return mApplicationName; 00075 }
int gpucalc::InputArguments::getArgc | ( | ) | [inline] |
std::string gpucalc::InputArguments::getArgument | ( | unsigned int | pos | ) | const [inline] |
char** gpucalc::InputArguments::getArgv | ( | ) | [inline] |
const std::string& gpucalc::InputArguments::getConfigFile | ( | ) | const [inline] |
const std::string& gpucalc::InputArguments::getLogFile | ( | ) | const [inline] |
LoggingLevel gpucalc::InputArguments::getLoggingLevel | ( | ) | const [inline] |
const StringList& gpucalc::InputArguments::getPluginList | ( | ) | const [inline] |
const StringMap& gpucalc::InputArguments::getShaders | ( | ) | const [inline] |
friend class Application [friend] |
Definition at line 46 of file input_argument_parser.h.
friend class InputArgParser [friend] |
Definition at line 47 of file input_argument_parser.h.
std::string gpucalc::InputArguments::mApplicationName [private] |
Definition at line 118 of file input_argument_parser.h.
int gpucalc::InputArguments::mArgc [private] |
Definition at line 130 of file input_argument_parser.h.
char** gpucalc::InputArguments::mArgv [private] |
Definition at line 131 of file input_argument_parser.h.
std::string gpucalc::InputArguments::mConfigFile [private] |
Definition at line 119 of file input_argument_parser.h.
bool gpucalc::InputArguments::mDebug [private] |
Definition at line 126 of file input_argument_parser.h.
std::string gpucalc::InputArguments::mLogFile [private] |
Definition at line 117 of file input_argument_parser.h.
Definition at line 124 of file input_argument_parser.h.
Definition at line 121 of file input_argument_parser.h.
StringMap gpucalc::InputArguments::mShaders [private] |
Definition at line 122 of file input_argument_parser.h.
bool gpucalc::InputArguments::mWarnings [private] |
Definition at line 128 of file input_argument_parser.h.