GXmlSerializableDouble

GXmlSerializableDouble — Represent any real double value property to be added as a GXmlAttribute to a GXmlElement

Functions

Types and Values

Description

This object can be used when the property could be removed from serialization, specially if missing on XML have some missing and avoidable.

Functions

gxml_serializable_double_get_fraction ()

gint
gxml_serializable_double_get_fraction (GXmlSerializableDouble *self);

Parameters

self

the GXmlSerializableDouble instance

 

gxml_serializable_double_set_fraction ()

void
gxml_serializable_double_set_fraction (GXmlSerializableDouble *self,
                                       gint fraction);

Parameters

self

the GXmlSerializableDouble instance

 

fraction

 

 

gxml_serializable_double_get_value ()

gdouble
gxml_serializable_double_get_value (GXmlSerializableDouble *self);

Parameters

self

the GXmlSerializableDouble instance

 

gxml_serializable_double_set_value ()

void
gxml_serializable_double_set_value (GXmlSerializableDouble *self,
                                    gdouble val);

Parameters

self

the GXmlSerializableDouble instance

 

val

 

 

gxml_serializable_double_to_string ()

gchar *
gxml_serializable_double_to_string (GXmlSerializableDouble *self);

Parameters

self

the GXmlSerializableDouble instance

 

gxml_serializable_double_format ()

gchar *
gxml_serializable_double_format (GXmlSerializableDouble *self,
                                 const gchar *f);

Parameters

self

the GXmlSerializableDouble instance

 

f

 

 

gxml_serializable_double_new ()

GXmlSerializableDouble *
gxml_serializable_double_new (void);

Types and Values

GXML_TYPE_SERIALIZABLE_DOUBLE

#define GXML_TYPE_SERIALIZABLE_DOUBLE (gxml_serializable_double_get_type ())

The type for GXmlSerializableDouble.


struct GXmlSerializableDouble

struct GXmlSerializableDouble {
	GObject parent_instance;
	GXmlSerializableDoublePrivate * priv;
	gchar* _val;
	gint _fraction;
};

Represent any real double value 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 GXmlSerializableDoubleClass

struct GXmlSerializableDoubleClass {
	GObjectClass parent_class;
};

The class structure for GXML_TYPE_SERIALIZABLE_DOUBLE. All the fields in this structure are private and should never be accessed directly.

Members