ArgumentVector::ArgumentVector::Argument Class Reference

List of all members.


Public Types

enum  ARGUMENT_TYPE {
  BOOL, INTEGER, UINTEGER, FLOAT,
  STRING
}
 Enum for possible argument types. More...

Public Member Functions

 Argument (bool value)
 Argument (int value)
 Argument (unsigned int value)
 Argument (float value)
 Argument (std::string value)
 Argument (const Argument &src)
 ~Argument ()
const ARGUMENT_TYPE getType () const
const int & get (int &dst) const
const unsigned int & get (unsigned int &dst) const
const bool & get (bool &dst) const
const float & get (float &dst) const
const std::string & get (std::string &dst) const

Private Member Functions

Argumentoperator= (const Argument &src)

Private Attributes

ARGUMENT_TYPE type
void * value

Detailed Description

Nested class for storing Argument values. The class allows to store the type and value of an argument.

Member Enumeration Documentation

Enum for possible argument types.

Enumerator:
BOOL 
INTEGER 
UINTEGER 
FLOAT 
STRING 


Constructor & Destructor Documentation

ArgumentVector::ArgumentVector::Argument::Argument ( bool  value  ) 

ArgumentVector::ArgumentVector::Argument::Argument ( int  value  ) 

ArgumentVector::ArgumentVector::Argument::Argument ( unsigned int  value  ) 

ArgumentVector::ArgumentVector::Argument::Argument ( float  value  ) 

ArgumentVector::ArgumentVector::Argument::Argument ( std::string  value  ) 

ArgumentVector::ArgumentVector::Argument::Argument ( const Argument src  ) 

ArgumentVector::ArgumentVector::Argument::~Argument (  ) 


Member Function Documentation

const std::string & ArgumentVector::ArgumentVector::Argument::get ( std::string &  dst  )  const

const float & ArgumentVector::ArgumentVector::Argument::get ( float &  dst  )  const

const bool & ArgumentVector::ArgumentVector::Argument::get ( bool &  dst  )  const

const unsigned int & ArgumentVector::ArgumentVector::Argument::get ( unsigned int &  dst  )  const

const int & ArgumentVector::ArgumentVector::Argument::get ( int &  dst  )  const

const ArgumentVector::Argument::ARGUMENT_TYPE ArgumentVector::ArgumentVector::Argument::getType (  )  const

Argument& ArgumentVector::ArgumentVector::Argument::operator= ( const Argument src  )  [private]


Member Data Documentation

ARGUMENT_TYPE ArgumentVector::ArgumentVector::Argument::type [private]

void* ArgumentVector::ArgumentVector::Argument::value [private]


The documentation for this class was generated from the following files:

Generated on Wed Oct 20 16:11:53 2010 for inVRs by doxygen 1.5.8