Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Parameters::parameter_value Struct Reference

Container for parameter values. More...

#include <Parameters.hpp>

List of all members.

Public Types

typedef std::map< std::string,
parameter_value * > 
MValue
typedef std::vector< parameter_value * > VValue

Public Methods

 parameter_value ()
 create

 parameter_value (const parameter_value &other)
 ~parameter_value ()
 clean up

void convertToArray ()
 convert single value to an entry in the vector array.

const std::string & getValue ()

Public Attributes

MValue table
 map of string to parameter_value pointers.

std::vector< parameter_value * > array
 vector of parameter_value pointers

std::string value
 string representation of parameter value.


Detailed Description

Container for parameter values.


Member Typedef Documentation

typedef std::map<std::string, parameter_value*> Parameters::parameter_value::MValue
 

typedef std::vector<parameter_value*> Parameters::parameter_value::VValue
 


Constructor & Destructor Documentation

Parameters::parameter_value::parameter_value   [inline]
 

create

Parameters::parameter_value::parameter_value const parameter_value &    other [inline]
 

Make a deep copy.

Parameters:
other  the parameter_value to copy.

Parameters::parameter_value::~parameter_value   [inline]
 

clean up


Member Function Documentation

void Parameters::parameter_value::convertToArray   [inline]
 

convert single value to an entry in the vector array.

const std::string& Parameters::parameter_value::getValue   [inline]
 

Get the value.

Returns:
the value of the contents of the first element of array if present, otherwise the contents of value.


Member Data Documentation

std::vector<parameter_value*> Parameters::parameter_value::array
 

vector of parameter_value pointers

MValue Parameters::parameter_value::table
 

map of string to parameter_value pointers.

std::string Parameters::parameter_value::value
 

string representation of parameter value.


The documentation for this struct was generated from the following file:
Generated on Wed Nov 3 12:59:50 2004 for Lemur Toolkit by doxygen1.2.18