Class representing a Data value. More...
#include <DataValue.hpp>
Public Member Functions | |
virtual DataValue * | clone ()=0 |
string cast operator | |
DataValue (const DataValue &otherValue) | |
DataType | getType () |
virtual | operator std::string () const =0 |
Method to convert value to string. | |
DataValue & | operator= (const DataValue &otherValue) |
Protected Member Functions | |
void | copyFrom (const DataValue &otherValue) |
Protected Attributes | |
DataType | type_ |
Class representing a Data value.
Definition at line 55 of file DataValue.hpp.
virtual DataValue* mermaid::support::data::DataValue::clone | ( | ) | [pure virtual] |
string cast operator
Implements mermaid::support::syntacticsugar::Cloneable.
Implemented in mermaid::support::data::DataBox, mermaid::support::data::DataBoxArray, mermaid::support::data::Double, mermaid::support::data::DoubleArray, mermaid::support::data::Integer, mermaid::support::data::IntegerArray, mermaid::support::data::String, and mermaid::support::data::StringArray.
virtual mermaid::support::data::DataValue::operator std::string | ( | ) | const [pure virtual] |
Method to convert value to string.
Implements mermaid::support::syntacticsugar::Stringable.
Implemented in mermaid::support::data::DataBox, mermaid::support::data::DataBoxArray, mermaid::support::data::Double, mermaid::support::data::DoubleArray, mermaid::support::data::Integer, mermaid::support::data::IntegerArray, mermaid::support::data::String, and mermaid::support::data::StringArray.