SCIRun
5.0
|
#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< Variable > | getList () const |
AlgoOption | getOption () const |
Public Attributes | |
Name | name_ |
Value | value_ |
Datatypes::DatatypeHandle | data_ |
typedef boost::variant< int, double, std::string, bool, AlgoOption, std::vector<Variable> > Value |
|
inline |
|
inline |
bool getBool | ( | ) | const |
DatatypeHandle getDatatype | ( | ) | const |
double getDouble | ( | ) | const |
int getInt | ( | ) | const |
std::vector< Variable > getList | ( | ) | const |
AlgoOption getOption | ( | ) | const |
std::string getString | ( | ) | const |
Name name_ |
Value value_ |