#include "CorePrereqs.h"
#include <map>
#include "util/OrxAssert.h"
#include "util/MultiType.h"
Namespaces | |
namespace | orxonox |
Classes | |
class | orxonox::CommandLine |
Global interface to command line options. Allows to add and retrieve command line arguments. Also does the parsing. More... | |
class | orxonox::CommandLineArgument |
Container class for a command line argument of any type supported by MultiType. More... | |
Defines | |
#define | SetCommandLineArgument(name, defaultValue) |
#define | SetCommandLineOnlyArgument(name, defaultValue) |
#define | SetCommandLineOnlySwitch(name) |
#define | SetCommandLineSwitch(name) |
Functions | |
template<> | |
void | orxonox::CommandLine::getValue< std::string > (const std::string &name, std::string *value) |
#define SetCommandLineArgument | ( | name, | |||
defaultValue | ) |
Value:
orxonox::CommandLineArgument& CmdArgumentDummyBoolVar##name \ = orxonox::CommandLine::addArgument(#name, defaultValue, false)
#define SetCommandLineOnlyArgument | ( | name, | |||
defaultValue | ) |
Value:
orxonox::CommandLineArgument& CmdArgumentDummyBoolVar##name \ = orxonox::CommandLine::addArgument(#name, defaultValue, true)
#define SetCommandLineOnlySwitch | ( | name | ) |
Value:
orxonox::CommandLineArgument& CmdArgumentDummyBoolVar##name \ = orxonox::CommandLine::addArgument(#name, false, true)
#define SetCommandLineSwitch | ( | name | ) |
Value:
orxonox::CommandLineArgument& CmdArgumentDummyBoolVar##name \ = orxonox::CommandLine::addArgument(#name, false, false)