33 #ifndef H_DC_VARIABLE_INLCUDED
34 #define H_DC_VARIABLE_INLCUDED
36 #include <Dynacoe/Util/Chain.h>
37 #include <Dynacoe/Util/Vector.h>
70 Variable(
const std::string & name,
bool & v);
71 Variable(
const std::string & name,
int & v);
72 Variable(
const std::string & name,
float & v);
73 Variable(
const std::string & name, std::string & v);
74 Variable(
const std::string & name,
void * v);
97 void Set(
const std::string &);
109 bool operator<(
const Variable &,
const Variable &);
Error type. Set only when the variable is built with the default constructor and never Set...
3D and 2D positional vector.
Definition: Vector.h:55
std::string GetName()
reutrns the name of the variable.
std::string ToString()
Returns a text reduction of the variable.
Type GetType()
Returns the type of the variable.
Abstraction for a variable in Dynacoe.
Definition: Variable.h:50
void Set(const std::string &)
Attempts to set the value of the Variable to the value denoted by the string. The function will guess...
Type
The type of the variable represented.
Definition: Variable.h:55