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;
bool doubleFresh_
Flag indicating that the value of double is up-to-date.
OrigType type_
The type of value in which DataObject was last assigned.
double doubleValue_
Value as double.
virtual void setFloat(float value)
virtual void setLong(SLongWord value)
bool intFresh_
Flag indicating that the value of integer is up-to-date.
bool stringFresh_
Flag indicating that the value of string is up-to-date.
virtual void setDouble(double value)
virtual float floatValue() const
virtual std::string stringValue() const
virtual void setBool(bool value)
virtual bool operator!=(const DataObject &object) const
float floatValue_
Value as float.
virtual bool isNull() const
SLongWord intValue_
Value as integer.
virtual double doubleValue() const
std::string stringValue_
Value as string.
virtual void setString(std::string value)
virtual bool boolValue() const
virtual int integerValue() const
bool floatFresh_
Flag indicating that the value of float is up-to-date.
virtual void setInteger(int value)
virtual SLongWord longValue() const
virtual void setString(std::string value) override
virtual double doubleValue() const
static NullDataObject * instance_
virtual void setLong(SLongWord value) override
virtual void setNull() override
NullDataObject(const DataObject &obj)
static NullDataObject & instance()
virtual ~NullDataObject()
virtual float floatValue() const
virtual void setInteger(int value) override
virtual bool isNull() const
virtual void setFloat(float value) override
virtual void setDouble(double value) override
virtual std::string stringValue() const
virtual int integerValue() const override
virtual SLongWord longValue() const override