Top | ![]() |
![]() |
![]() |
![]() |
GXmlSerializableHashMapGXmlSerializableHashMap — Serializable Framework. A GXmlSerializable objects container based on GeeHashMap. |
#define | GXML_TYPE_SERIALIZABLE_HASH_MAP |
struct | GXmlSerializableHashMap |
struct | GXmlSerializableHashMapClass |
It uses a key and value store implementing GeeHashMap interface. It implements GXmlSerializable and GXmlSerializableCollection interfaces.
gboolean
gxml_serializable_hash_map_deserialize_proceed
(GXmlSerializableHashMap *self
);
gboolean
gxml_serializable_hash_map_deserialized
(GXmlSerializableHashMap *self
);
gboolean gxml_serializable_hash_map_deserialize_node (GXmlSerializableHashMap *self
,GXmlNode *node
,GError **error
);
self |
the GXmlSerializableHashMap instance |
|
node |
|
|
error |
location to store the error occuring, or |
gboolean gxml_serializable_hash_map_deserialize_children (GXmlSerializableHashMap *self
,GError **error
);
self |
the GXmlSerializableHashMap instance |
|
error |
location to store the error occuring, or |
gboolean gxml_serializable_hash_map_set_default_namespace (GXmlSerializableHashMap *self
,GXmlNode *node
);
gboolean
gxml_serializable_hash_map_get_enable_unknown_serializable_property
(GXmlSerializableHashMap *self
);
gboolean
gxml_serializable_hash_map_serialize_use_xml_node_value
(GXmlSerializableHashMap *self
);
gboolean
gxml_serializable_hash_map_property_use_nick
(GXmlSerializableHashMap *self
);
gchar *
gxml_serializable_hash_map_node_name (GXmlSerializableHashMap *self
);
GParamSpec * gxml_serializable_hash_map_find_property_spec (GXmlSerializableHashMap *self
,const gchar *property_name
);
GParamSpec ** gxml_serializable_hash_map_list_serializable_properties (GXmlSerializableHashMap *self
,int *result_length1
);
GXmlNode * gxml_serializable_hash_map_serialize (GXmlSerializableHashMap *self
,GXmlNode *node
,GError **error
);
self |
the GXmlSerializableHashMap instance |
|
node |
|
|
error |
location to store the error occuring, or |
GXmlNode * gxml_serializable_hash_map_default_serialize (GXmlSerializableHashMap *self
,GXmlNode *node
,GError **error
);
self |
the GXmlSerializableHashMap instance |
|
node |
|
|
error |
location to store the error occuring, or |
GXmlNode * gxml_serializable_hash_map_serialize_property (GXmlSerializableHashMap *self
,GXmlNode *element
,GParamSpec *prop
,GError **error
);
self |
the GXmlSerializableHashMap instance |
|
element |
|
|
prop |
|
|
error |
location to store the error occuring, or |
GXmlNode * gxml_serializable_hash_map_default_serialize_property (GXmlSerializableHashMap *self
,GXmlNode *element
,GParamSpec *prop
,GError **error
);
self |
the GXmlSerializableHashMap instance |
|
element |
|
|
prop |
|
|
error |
location to store the error occuring, or |
gboolean gxml_serializable_hash_map_deserialize (GXmlSerializableHashMap *self
,GXmlNode *node
,GError **error
);
self |
the GXmlSerializableHashMap instance |
|
node |
|
|
error |
location to store the error occuring, or |
gboolean gxml_serializable_hash_map_default_deserialize (GXmlSerializableHashMap *self
,GXmlNode *node
,GError **error
);
self |
the GXmlSerializableHashMap instance |
|
node |
|
|
error |
location to store the error occuring, or |
gboolean gxml_serializable_hash_map_deserialize_property (GXmlSerializableHashMap *self
,GXmlNode *property_node
,GError **error
);
self |
the GXmlSerializableHashMap instance |
|
property_node |
|
|
error |
location to store the error occuring, or |
gboolean gxml_serializable_hash_map_default_deserialize_property (GXmlSerializableHashMap *self
,GXmlNode *property_node
,GError **error
);
self |
the GXmlSerializableHashMap instance |
|
property_node |
|
|
error |
location to store the error occuring, or |
GXmlSerializableHashMap * gxml_serializable_hash_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_hash_map_get_properties (GXmlSerializableHashMap *self
,int *result_length1
);
Get and return the current value of the "properties" property.
void gxml_serializable_hash_map_set_properties (GXmlSerializableHashMap *self
,GParamSpec **value
,int value_length1
);
Set the value of the "properties" property to value
.
self |
the GXmlSerializableHashMap instance to modify |
|
value |
the new value of the "properties" property |
GHashTable *
gxml_serializable_hash_map_get_ignored_serializable_properties
(GXmlSerializableHashMap *self
);
Get and return the current value of the "ignored-serializable-properties" property.
void gxml_serializable_hash_map_set_ignored_serializable_properties (GXmlSerializableHashMap *self
,GHashTable *value
);
Set the value of the "ignored-serializable-properties" property to value
.
self |
the GXmlSerializableHashMap instance to modify |
|
value |
the new value of the "ignored-serializable-properties" property |
#define GXML_TYPE_SERIALIZABLE_HASH_MAP (gxml_serializable_hash_map_get_type ())
The type for GXmlSerializableHashMap.
struct GXmlSerializableHashMap { GeeHashMap parent_instance; GXmlSerializableHashMapPrivate * priv; GXmlNode* _node; gboolean _deserialized; };
Serializable Framework. A GXmlSerializable objects container based on GeeHashMap.
It uses a key and value store implementing GeeHashMap interface. It implements GXmlSerializable and GXmlSerializableCollection interfaces.
struct GXmlSerializableHashMapClass { GeeHashMapClass parent_class; gboolean (*deserialize_proceed) (GXmlSerializableHashMap* self); gboolean (*deserialized) (GXmlSerializableHashMap* self); gboolean (*deserialize_node) (GXmlSerializableHashMap* self, GXmlNode* node, GError** error); gboolean (*deserialize_children) (GXmlSerializableHashMap* self, GError** error); gboolean (*set_default_namespace) (GXmlSerializableHashMap* self, GXmlNode* node); gboolean (*get_enable_unknown_serializable_property) (GXmlSerializableHashMap* self); gboolean (*serialize_use_xml_node_value) (GXmlSerializableHashMap* self); gboolean (*property_use_nick) (GXmlSerializableHashMap* self); gchar* (*node_name) (GXmlSerializableHashMap* self); GParamSpec* (*find_property_spec) (GXmlSerializableHashMap* self, const gchar* property_name); GParamSpec** (*list_serializable_properties) (GXmlSerializableHashMap* self, int* result_length1); GXmlNode* (*serialize) (GXmlSerializableHashMap* self, GXmlNode* node, GError** error); GXmlNode* (*serialize_property) (GXmlSerializableHashMap* self, GXmlNode* element, GParamSpec* prop, GError** error); gboolean (*deserialize) (GXmlSerializableHashMap* self, GXmlNode* node, GError** error); gboolean (*deserialize_property) (GXmlSerializableHashMap* self, GXmlNode* property_node, GError** error); };
The class structure for GXML_TYPE_SERIALIZABLE_HASH_MAP
. All the fields in this structure are private and should never be accessed directly.