62 #ifndef _AX_EVENT_KEY_VALUE_SET_H_ 63 #define _AX_EVENT_KEY_VALUE_SET_H_ 134 const gchar *name_space,
162 const gchar *name_space,
185 const gchar *name_space,
204 const gchar *name_space,
205 const gchar *user_tag,
227 const gchar *name_space,
228 const gchar *key_nice_name,
229 const gchar *value_nice_name,
248 const gchar *name_space,
269 const gchar *name_space,
290 const gchar *name_space,
311 const gchar *name_space,
335 const gchar *name_space,
359 const gchar *name_space,
378 const gchar *name_space,
gboolean ax_event_key_value_set_get_element(const AXEventKeyValueSet *key_value_set, const gchar *key, const gchar *name_space, AXEventElementItem **item, GError **error)
Retrieve the element item associated with a key.
gboolean ax_event_key_value_set_get_boolean(const AXEventKeyValueSet *key_value_set, const gchar *key, const gchar *name_space, gboolean *value, GError **error)
Retrieve the boolean value associated with a key.
gboolean ax_event_key_value_set_get_double(const AXEventKeyValueSet *key_value_set, const gchar *key, const gchar *name_space, gdouble *value, GError **error)
Retrieve the double value associated with a key.
gboolean ax_event_key_value_set_get_string(const AXEventKeyValueSet *key_value_set, const gchar *key, const gchar *name_space, gchar **value, GError **error)
Retrieve the string value associated with a key.
struct _AXEventKeyValueSet AXEventKeyValueSet
The AXEventKeyValueSet is an opaque data type required to create event declarations, event subscription and for receiving events.
Definition: ax_event_key_value_set.h:73
gboolean ax_event_key_value_set_get_value_type(const AXEventKeyValueSet *key_value_set, const gchar *key, const gchar *name_space, AXEventValueType *value_type, GError **error)
Retrieve the value type of the value associated with a key.
gboolean ax_event_key_value_set_add_key_values(AXEventKeyValueSet *key_value_set, GError **error,...)
Adds a set of key/value pairs to an AXEventKeyValueSet. The number of arguments is arbitrary and must...
gboolean ax_event_key_value_set_mark_as_source(AXEventKeyValueSet *key_value_set, const gchar *key, const gchar *name_space, GError **error)
Mark a key in the AXEventKeyValueSet as a source. A source key is an identifier used to distinguish b...
AXEventKeyValueSet * ax_event_key_value_set_new(void)
Creates a new AXEventKeyValueSet.
AXEventValueType
Definition: ax_event_types.h:19
void ax_event_key_value_set_free(AXEventKeyValueSet *key_value_set)
Frees an AXEventKeyValueSet.
gboolean ax_event_key_value_set_add_nice_names(AXEventKeyValueSet *key_value_set, const gchar *key, const gchar *name_space, const gchar *key_nice_name, const gchar *value_nice_name, GError **error)
Set the nice names of a key/value pair in the AXEventKeyValueSet. Nice names can be used to display h...
gboolean ax_event_key_value_set_get_integer(const AXEventKeyValueSet *key_value_set, const gchar *key, const gchar *name_space, gint *value, GError **error)
Retrieve the integer value associated with a key.
gboolean ax_event_key_value_set_remove_key(AXEventKeyValueSet *key_value_set, const gchar *key, const gchar *name_space, GError **error)
Removes a key and its associated value from an AXEventKeyValueSet.
gboolean ax_event_key_value_set_mark_as_user_defined(AXEventKeyValueSet *key_value_set, const gchar *key, const gchar *name_space, const gchar *user_tag, GError **error)
Mark a key in AXEventKeyValueSet with an user defined tag.
struct _AXEventElementItem AXEventElementItem
The AXEventElementItem is a n opaque data type representing a node in a tree.
Definition: ax_event_element_item.h:26
gboolean ax_event_key_value_set_mark_as_data(AXEventKeyValueSet *key_value_set, const gchar *key, const gchar *name_space, GError **error)
Mark a key in the AXEventKeyValueSet as data. A data key is a key that represents the state of what t...
gboolean ax_event_key_value_set_add_key_value(AXEventKeyValueSet *key_value_set, const gchar *key, const gchar *name_space, gconstpointer value, AXEventValueType value_type, GError **error)
Add a key/value pair to an AXEventKeyValueSet. If the added key is already in the AXEventKeyValueSet...