Top | ![]() |
![]() |
![]() |
![]() |
GXmlSerializableTreeMapGXmlSerializableTreeMap — Serializable Framework. A GXmlSerializable objects container based on GeeTreeMap. |
#define | GXML_TYPE_SERIALIZABLE_TREE_MAP |
struct | GXmlSerializableTreeMap |
struct | GXmlSerializableTreeMapClass |
It uses a key and value store implementing GeeTreeMap interface. It implements GXmlSerializable and GXmlSerializableCollection interfaces.
gboolean
gxml_serializable_tree_map_deserialize_proceed
(GXmlSerializableTreeMap *self
);
gboolean
gxml_serializable_tree_map_deserialized
(GXmlSerializableTreeMap *self
);
gboolean gxml_serializable_tree_map_deserialize_node (GXmlSerializableTreeMap *self
,GXmlNode *node
,GError **error
);
self |
the GXmlSerializableTreeMap instance |
|
node |
|
|
error |
location to store the error occuring, or |
gboolean gxml_serializable_tree_map_deserialize_children (GXmlSerializableTreeMap *self
,GError **error
);
self |
the GXmlSerializableTreeMap instance |
|
error |
location to store the error occuring, or |
gboolean gxml_serializable_tree_map_set_default_namespace (GXmlSerializableTreeMap *self
,GXmlNode *node
);
gboolean
gxml_serializable_tree_map_serialize_use_xml_node_value
(GXmlSerializableTreeMap *self
);
gboolean
gxml_serializable_tree_map_property_use_nick
(GXmlSerializableTreeMap *self
);
gchar *
gxml_serializable_tree_map_node_name (GXmlSerializableTreeMap *self
);
GParamSpec * gxml_serializable_tree_map_find_property_spec (GXmlSerializableTreeMap *self
,const gchar *property_name
);
GParamSpec ** gxml_serializable_tree_map_list_serializable_properties (GXmlSerializableTreeMap *self
,int *result_length1
);
GXmlNode * gxml_serializable_tree_map_serialize (GXmlSerializableTreeMap *self
,GXmlNode *node
,GError **error
);
self |
the GXmlSerializableTreeMap instance |
|
node |
|
|
error |
location to store the error occuring, or |
GXmlNode * gxml_serializable_tree_map_default_serialize (GXmlSerializableTreeMap *self
,GXmlNode *node
,GError **error
);
self |
the GXmlSerializableTreeMap instance |
|
node |
|
|
error |
location to store the error occuring, or |
GXmlNode * gxml_serializable_tree_map_serialize_property (GXmlSerializableTreeMap *self
,GXmlNode *element
,GParamSpec *prop
,GError **error
);
self |
the GXmlSerializableTreeMap instance |
|
element |
|
|
prop |
|
|
error |
location to store the error occuring, or |
GXmlNode * gxml_serializable_tree_map_default_serialize_property (GXmlSerializableTreeMap *self
,GXmlNode *element
,GParamSpec *prop
,GError **error
);
self |
the GXmlSerializableTreeMap instance |
|
element |
|
|
prop |
|
|
error |
location to store the error occuring, or |
gboolean gxml_serializable_tree_map_deserialize (GXmlSerializableTreeMap *self
,GXmlNode *node
,GError **error
);
self |
the GXmlSerializableTreeMap instance |
|
node |
|
|
error |
location to store the error occuring, or |
gboolean gxml_serializable_tree_map_default_deserialize (GXmlSerializableTreeMap *self
,GXmlNode *node
,GError **error
);
self |
the GXmlSerializableTreeMap instance |
|
node |
|
|
error |
location to store the error occuring, or |
gboolean gxml_serializable_tree_map_deserialize_property (GXmlSerializableTreeMap *self
,GXmlNode *property_node
,GError **error
);
self |
the GXmlSerializableTreeMap instance |
|
property_node |
|
|
error |
location to store the error occuring, or |
gboolean gxml_serializable_tree_map_default_deserialize_property (GXmlSerializableTreeMap *self
,GXmlNode *property_node
,GError **error
);
self |
the GXmlSerializableTreeMap instance |
|
property_node |
|
|
error |
location to store the error occuring, or |
GXmlSerializableTreeMap * gxml_serializable_tree_map_new (GType k_type
,GBoxedCopyFunc k_dup_func
,GDestroyNotify k_destroy_func
,GType v_type
,GBoxedCopyFunc v_dup_func
,GDestroyNotify v_destroy_func
);
GParamSpec ** gxml_serializable_tree_map_get_properties (GXmlSerializableTreeMap *self
,int *result_length1
);
Get and return the current value of the "properties" property.
void gxml_serializable_tree_map_set_properties (GXmlSerializableTreeMap *self
,GParamSpec **value
,int value_length1
);
Set the value of the "properties" property to value
.
self |
the GXmlSerializableTreeMap instance to modify |
|
value |
the new value of the "properties" property |
GHashTable *
gxml_serializable_tree_map_get_ignored_serializable_properties
(GXmlSerializableTreeMap *self
);
Get and return the current value of the "ignored-serializable-properties" property.
void gxml_serializable_tree_map_set_ignored_serializable_properties (GXmlSerializableTreeMap *self
,GHashTable *value
);
Set the value of the "ignored-serializable-properties" property to value
.
self |
the GXmlSerializableTreeMap instance to modify |
|
value |
the new value of the "ignored-serializable-properties" property |
#define GXML_TYPE_SERIALIZABLE_TREE_MAP (gxml_serializable_tree_map_get_type ())
The type for GXmlSerializableTreeMap.
struct GXmlSerializableTreeMap { GeeTreeMap parent_instance; GXmlSerializableTreeMapPrivate * priv; GXmlNode* _node; gboolean _deserialized; };
Serializable Framework. A GXmlSerializable objects container based on GeeTreeMap.
It uses a key and value store implementing GeeTreeMap interface. It implements GXmlSerializable and GXmlSerializableCollection interfaces.
struct GXmlSerializableTreeMapClass { GeeTreeMapClass parent_class; gboolean (*deserialize_proceed) (GXmlSerializableTreeMap* self); gboolean (*deserialized) (GXmlSerializableTreeMap* self); gboolean (*deserialize_node) (GXmlSerializableTreeMap* self, GXmlNode* node, GError** error); gboolean (*deserialize_children) (GXmlSerializableTreeMap* self, GError** error); gboolean (*set_default_namespace) (GXmlSerializableTreeMap* self, GXmlNode* node); gboolean (*serialize_use_xml_node_value) (GXmlSerializableTreeMap* self); gboolean (*property_use_nick) (GXmlSerializableTreeMap* self); gchar* (*node_name) (GXmlSerializableTreeMap* self); GParamSpec* (*find_property_spec) (GXmlSerializableTreeMap* self, const gchar* property_name); GParamSpec** (*list_serializable_properties) (GXmlSerializableTreeMap* self, int* result_length1); GXmlNode* (*serialize) (GXmlSerializableTreeMap* self, GXmlNode* node, GError** error); GXmlNode* (*serialize_property) (GXmlSerializableTreeMap* self, GXmlNode* element, GParamSpec* prop, GError** error); gboolean (*deserialize) (GXmlSerializableTreeMap* self, GXmlNode* node, GError** error); gboolean (*deserialize_property) (GXmlSerializableTreeMap* self, GXmlNode* property_node, GError** error); };
The class structure for GXML_TYPE_SERIALIZABLE_TREE_MAP
. All the fields in this structure are private and should never be accessed directly.