CommandLine.h File Reference

#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 Documentation

#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)


Generated on Tue Jul 28 16:21:08 2009 for Orxonox by  doxygen 1.5.6