7 #ifndef GDCORE_SERIALIZERVALUE_H
8 #define GDCORE_SERIALIZERVALUE_H
10 #include "GDCore/String.h"
32 void SetBool(
bool val);
47 void SetDouble(
double val);
78 double GetDouble()
const;
91 bool IsInt()
const {
return isInt; }
A value stored inside a gd::SerializerElement.
Definition: SerializerValue.h:20
bool IsDouble() const
Return true if the value is a double.
Definition: SerializerValue.h:95
bool IsString() const
Return true if the value is a string.
Definition: SerializerValue.h:87
const gd::String & GetRawString() const
Definition: SerializerValue.h:68
bool IsInt() const
Return true if the value is an int.
Definition: SerializerValue.h:91
bool IsBoolean() const
Return true if the value is a boolean.
Definition: SerializerValue.h:83
String represents an UTF8 encoded string.
Definition: String.h:33
Definition: CommonTools.h:24