10 * A variable of type int, double, string or vector.
11 * The variable also contains its type and an int code
12 * which can identify its contents in any way.
14 * @author Andrew Mustun
27 Variable(const Vector & v, int c);
28 Variable(const QString & v, int c);
29 Variable(int v, int c);
30 Variable(double v, int c);
33 void setString(const QString & str);
35 void setDouble(double d);
36 void setVector(const Vector & v);
41 RS2::VariableType getType();
44 //friend std::ostream& operator << (std::ostream& os, Variable& v);
47 VariableContents contents;
48 RS2::VariableType type;