Top | ![]() |
![]() |
![]() |
![]() |
GXmlSerializableFloatGXmlSerializableFloat — Represent any float property to be added as a GXmlAttribute to a GXmlElement |
#define | GXML_TYPE_SERIALIZABLE_FLOAT |
struct | GXmlSerializableFloat |
struct | GXmlSerializableFloatClass |
This object can be used when the property could be removed from serialization, specially if missing on XML have some missing and avoidable.
gfloat
gxml_serializable_float_get_value (GXmlSerializableFloat *self
);
Parse the stored value, from the XML property, to a gint. This parsing may is different from the actual stored string.
The stored value, is parsed using to double value and then casted to an float before return, this make flexible on stored values in XML and parsed without errors, but they could defere from the value returned by this method.
void gxml_serializable_float_set_value (GXmlSerializableFloat *self
,gfloat val
);
Given float number is parsed to string and then stored.
#define GXML_TYPE_SERIALIZABLE_FLOAT (gxml_serializable_float_get_type ())
The type for GXmlSerializableFloat.
struct GXmlSerializableFloat { GXmlSerializableDouble parent_instance; GXmlSerializableFloatPrivate * priv; };
Represent any float property to be added as a GXmlAttribute to a GXmlElement
This object can be used when the property could be removed from serialization, specially if missing on XML have some missing and avoidable.
struct GXmlSerializableFloatClass { GXmlSerializableDoubleClass parent_class; };
The class structure for GXML_TYPE_SERIALIZABLE_FLOAT
. All the fields in this structure are private and should never be accessed directly.