Orxonox  0.0.5 Codename: Arcturus
Classes | Namespaces | Macros | Typedefs
CommandLineIncludes.h File Reference

Declaration of CommandLineParser and CommandLineArgument, definition of the SetCommandLineArgument() macros. More...

#include "core/CorePrereqs.h"
#include "CommandLineParser.h"
#include "core/module/StaticallyInitializedInstance.h"

Go to the source code of this file.

Classes

class  orxonox::StaticallyInitializedCommandLineArgument
 

Namespaces

 orxonox
 Die Wagnis Klasse hat die folgenden Aufgaben:
 

Macros

#define SetCommandLineArgument(name, defaultValue)
 
#define SetCommandLineSwitch(name)   SetCommandLineArgument(name, false)
 

Typedefs

typedef StaticallyInitializedCommandLineArgument orxonox::SI_CLA
 

Detailed Description

Declaration of CommandLineParser and CommandLineArgument, definition of the SetCommandLineArgument() macros.

Macro Definition Documentation

#define SetCommandLineArgument (   name,
  defaultValue 
)
Value:
orxonox::CommandLineArgument& CmdArgumentDummyBoolVar##name \
= (new orxonox::SI_CLA(new orxonox::CommandLineArgument(#name, defaultValue)))->getArgument()
false defaultValue(2, false).argumentCompleter(0
Container class for a command line argument of any type supported by MultiType.
Definition: CommandLineParser.h:65
StaticallyInitializedCommandLineArgument SI_CLA
Definition: CommandLineIncludes.h:78
#define SetCommandLineSwitch (   name)    SetCommandLineArgument(name, false)