In file EO++.h:

class Arg

An Arg repesents an argument that can be passed to a program in the command line

Inheritance:


Public Classes

enum argType
Type of arguments

Public Methods

Arg(const Arg& _arg)
Copy constructor
Arg(const string& _shortName = "NONE", const string& _longName = "NONE", const string& _description = "NONE")
Construct an Arg
const string& description( void )
Returns the description of the argument
const string& longName( void )
Returns the long name
const string& shortName( void )
Returns the short name
virtual Arg::argType type( void )
Returns the type of the argument
virtual ~Arg()
Virtual destructor is needed

Public

enum argType
Type of arguments

Documentation

An Arg repesents an argument that can be passed to a program in the command line
enum argType
Type of arguments

Arg(const string& _shortName = "NONE", const string& _longName = "NONE", const string& _description = "NONE")
Construct an Arg
Parameters:
_shortName - Short name of the argument
_longName - Long name of the argument
_type - Type of the argument. Must be FLAG or PARAM.
_description - What is the utility of the parameter or flag

Arg(const Arg& _arg)
Copy constructor
Parameters:
_arg - The source arg.

virtual ~Arg()
Virtual destructor is needed

const string& shortName( void )
Returns the short name

const string& longName( void )
Returns the long name

virtual Arg::argType type( void )
Returns the type of the argument

const string& description( void )
Returns the description of the argument


Direct child classes:
Param
Flag

alphabetic index hierarchy of classes


BinOp