Go to the documentation of this file.
47 type_(TYPE_STRING), intFresh_(
false), stringFresh_(true),
48 doubleFresh_(
false), floatFresh_(
false), intValue_(0), stringValue_(
""),
49 doubleValue_(0), floatValue_(0) {
220 string method =
"DataObject::integerValue()";
221 string message =
"DataObject not initialized.";
223 __FILE__, __LINE__, method, message);
247 string method =
"DataObject::integerValue()";
248 string message =
"DataObject not initialized.";
250 __FILE__, __LINE__, method, message);
290 string method =
"DataObject::integerValue()";
291 string message =
"DataObject not initialized.";
293 __FILE__, __LINE__, method, message);
317 string method =
"DataObject::integerValue()";
318 string message =
"DataObject not initialized.";
320 __FILE__, __LINE__, method, message);
359 string method =
"DataObject::stringValue()";
360 string message =
"DataObject not initialized.";
401 string method =
"DataObject::doubleValue()";
402 string message =
"DataObject not initialized.";
443 string method =
"DataObject::floatValue()";
444 string message =
"DataObject not initialized.";
473 if (strValue ==
"true") {
475 }
else if (strValue ==
"false") {
511 string value2 =
object.stringValue();
512 return value1 != value2;
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
static std::string toString(const T &source)
bool intFresh_
Flag indicating that the value of integer is up-to-date.
float floatValue_
Value as float.
virtual double doubleValue() const
static double toDouble(const T &source)
virtual int integerValue() const
#define abortWithError(message)
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.
static unsigned int toUnsignedInt(const T &source)
bool doubleFresh_
Flag indicating that the value of double is up-to-date.
find Finds info of the inner loops in the false
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_
static SLongWord toLong(const T &source)
virtual void setBool(bool value)
static int toInt(const T &source)
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 ULongWord toUnsignedLong(const T &source)
static NullDataObject & instance()
static float toFloat(const T &source)