SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
Variable Class Reference

#include <AlgorithmBase.h>

Public Types

typedef boost::variant< int,
double, std::string, bool,
AlgoOption, std::vector
< Variable > > 
Value
 

Public Member Functions

 Variable ()
 
 Variable (const Name &name, const Value &value)
 
 Variable (const Name &name, const Datatypes::DatatypeHandle &value)
 
int getInt () const
 
double getDouble () const
 
std::string getString () const
 
bool getBool () const
 
Datatypes::DatatypeHandle getDatatype () const
 
std::vector< VariablegetList () const
 
AlgoOption getOption () const
 

Public Attributes

Name name_
 
Value value_
 
Datatypes::DatatypeHandle data_
 

Member Typedef Documentation

typedef boost::variant< int, double, std::string, bool, AlgoOption, std::vector<Variable> > Value
Todo:
: expand this

Constructor & Destructor Documentation

Variable ( )
inline
Variable ( const Name name,
const Value value 
)
inline
Variable ( const Name name,
const Datatypes::DatatypeHandle value 
)
inline

Member Function Documentation

bool getBool ( ) const
DatatypeHandle getDatatype ( ) const
double getDouble ( ) const
int getInt ( ) const
std::vector< Variable > getList ( ) const
AlgoOption getOption ( ) const
std::string getString ( ) const

Member Data Documentation

Name name_
Value value_

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