Go to the documentation of this file.
33 #ifndef TTA_DATA_OBJECT_HH
34 #define TTA_DATA_OBJECT_HH
79 virtual void setString(std::string value);
88 virtual void setBool(
bool value);
90 virtual bool isNull()
const;
139 virtual void setString(std::string value)
override;
142 virtual void setDouble(
double value)
override;
145 virtual void setFloat(
float value)
override;
147 virtual bool isNull()
const;
148 virtual void setNull()
override;
virtual void setString(std::string value) override
virtual void setNull() override
virtual void setDouble(double value)
virtual SLongWord longValue() const
virtual std::string stringValue() const
OrigType type_
The type of value in which DataObject was last assigned.
virtual void setInteger(int value)
virtual float floatValue() const
bool floatFresh_
Flag indicating that the value of float is up-to-date.
virtual std::string stringValue() const
virtual float floatValue() const
bool intFresh_
Flag indicating that the value of integer is up-to-date.
float floatValue_
Value as float.
virtual double doubleValue() const
virtual int integerValue() const
virtual void setFloat(float value) override
virtual void setLong(SLongWord value)
virtual void setFloat(float value)
SLongWord intValue_
Value as integer.
virtual bool isNull() const
virtual void setLong(SLongWord value) override
bool stringFresh_
Flag indicating that the value of string is up-to-date.
bool doubleFresh_
Flag indicating that the value of double is up-to-date.
virtual bool operator!=(const DataObject &object) const
virtual void setInteger(int value) override
virtual int integerValue() const override
virtual SLongWord longValue() const override
std::string stringValue_
Value as string.
static NullDataObject * instance_
virtual void setBool(bool value)
virtual double doubleValue() const
virtual ~NullDataObject()
virtual bool boolValue() const
virtual void setString(std::string value)
virtual void setDouble(double value) override
virtual bool isNull() const
double doubleValue_
Value as double.
static NullDataObject & instance()