manpagez: man pages & more
html files: eggdbus
Home | html | info | man

EggDBusVariant

EggDBusVariant — Holds a value and a type

Synopsis

                    EggDBusVariant;
void                egg_dbus_variant_print              (EggDBusVariant *variant,
                                                         guint indent);
EggDBusVariant *    egg_dbus_variant_new                (void);
EggDBusVariant *    egg_dbus_variant_new_for_gvalue     (const GValue *value,
                                                         const gchar *signature);
const GValue *      egg_dbus_variant_get_gvalue         (EggDBusVariant *variant);
const gchar *       egg_dbus_variant_get_variant_signature
                                                        (EggDBusVariant *variant);
EggDBusVariant *    egg_dbus_variant_new_for_string     (const gchar *value);
EggDBusVariant *    egg_dbus_variant_new_for_object_path
                                                        (const gchar *value);
EggDBusVariant *    egg_dbus_variant_new_for_signature  (const gchar *value);
EggDBusVariant *    egg_dbus_variant_new_for_string_array
                                                        (gchar **value);
EggDBusVariant *    egg_dbus_variant_new_for_object_path_array
                                                        (gchar **value);
EggDBusVariant *    egg_dbus_variant_new_for_signature_array
                                                        (gchar **value);
EggDBusVariant *    egg_dbus_variant_new_for_byte       (guchar value);
EggDBusVariant *    egg_dbus_variant_new_for_int16      (gint16 value);
EggDBusVariant *    egg_dbus_variant_new_for_uint16     (guint16 value);
EggDBusVariant *    egg_dbus_variant_new_for_int        (gint value);
EggDBusVariant *    egg_dbus_variant_new_for_uint       (guint value);
EggDBusVariant *    egg_dbus_variant_new_for_int64      (gint64 value);
EggDBusVariant *    egg_dbus_variant_new_for_uint64     (guint64 value);
EggDBusVariant *    egg_dbus_variant_new_for_boolean    (gboolean value);
EggDBusVariant *    egg_dbus_variant_new_for_double     (gdouble value);
EggDBusVariant *    egg_dbus_variant_new_for_seq        (EggDBusArraySeq *seq,
                                                         const gchar *element_signature);
EggDBusVariant *    egg_dbus_variant_new_for_map        (EggDBusHashMap *map,
                                                         const gchar *key_signature,
                                                         const gchar *value_signature);
EggDBusVariant *    egg_dbus_variant_new_for_structure  (EggDBusStructure *structure);
void                egg_dbus_variant_set_string         (EggDBusVariant *variant,
                                                         const gchar *value);
void                egg_dbus_variant_set_object_path    (EggDBusVariant *variant,
                                                         const gchar *value);
void                egg_dbus_variant_set_signature      (EggDBusVariant *variant,
                                                         const gchar *value);
void                egg_dbus_variant_set_string_array   (EggDBusVariant *variant,
                                                         gchar **value);
void                egg_dbus_variant_set_object_path_array
                                                        (EggDBusVariant *variant,
                                                         gchar **value);
void                egg_dbus_variant_set_signature_array
                                                        (EggDBusVariant *variant,
                                                         gchar **value);
void                egg_dbus_variant_set_byte           (EggDBusVariant *variant,
                                                         guchar value);
void                egg_dbus_variant_set_int16          (EggDBusVariant *variant,
                                                         gint16 value);
void                egg_dbus_variant_set_uint16         (EggDBusVariant *variant,
                                                         guint16 value);
void                egg_dbus_variant_set_int            (EggDBusVariant *variant,
                                                         gint value);
void                egg_dbus_variant_set_uint           (EggDBusVariant *variant,
                                                         guint value);
void                egg_dbus_variant_set_int64          (EggDBusVariant *variant,
                                                         gint64 value);
void                egg_dbus_variant_set_uint64         (EggDBusVariant *variant,
                                                         guint64 value);
void                egg_dbus_variant_set_boolean        (EggDBusVariant *variant,
                                                         gboolean value);
void                egg_dbus_variant_set_double         (EggDBusVariant *variant,
                                                         gdouble value);
void                egg_dbus_variant_set_seq            (EggDBusVariant *variant,
                                                         EggDBusArraySeq *seq,
                                                         const gchar *element_signature);
void                egg_dbus_variant_set_map            (EggDBusVariant *variant,
                                                         EggDBusHashMap *map,
                                                         const gchar *key_signature,
                                                         const gchar *value_signature);
void                egg_dbus_variant_set_structure      (EggDBusVariant *variant,
                                                         EggDBusStructure *structure);
const gchar *       egg_dbus_variant_get_string         (EggDBusVariant *variant);
const gchar *       egg_dbus_variant_get_object_path    (EggDBusVariant *variant);
const gchar *       egg_dbus_variant_get_signature      (EggDBusVariant *variant);
gchar **            egg_dbus_variant_get_string_array   (EggDBusVariant *variant);
gchar **            egg_dbus_variant_get_object_path_array
                                                        (EggDBusVariant *variant);
gchar **            egg_dbus_variant_get_signature_array
                                                        (EggDBusVariant *variant);
guchar              egg_dbus_variant_get_byte           (EggDBusVariant *variant);
gint16              egg_dbus_variant_get_int16          (EggDBusVariant *variant);
guint16             egg_dbus_variant_get_uint16         (EggDBusVariant *variant);
gint                egg_dbus_variant_get_int            (EggDBusVariant *variant);
guint               egg_dbus_variant_get_uint           (EggDBusVariant *variant);
gint64              egg_dbus_variant_get_int64          (EggDBusVariant *variant);
guint64             egg_dbus_variant_get_uint64         (EggDBusVariant *variant);
gboolean            egg_dbus_variant_get_boolean        (EggDBusVariant *variant);
gdouble             egg_dbus_variant_get_double         (EggDBusVariant *variant);
EggDBusArraySeq *   egg_dbus_variant_get_seq            (EggDBusVariant *variant);
EggDBusHashMap *    egg_dbus_variant_get_map            (EggDBusVariant *variant);
EggDBusStructure *  egg_dbus_variant_get_structure      (EggDBusVariant *variant);
gboolean            egg_dbus_variant_is_unset           (EggDBusVariant *variant);
gboolean            egg_dbus_variant_is_string          (EggDBusVariant *variant);
gboolean            egg_dbus_variant_is_object_path     (EggDBusVariant *variant);
gboolean            egg_dbus_variant_is_signature       (EggDBusVariant *variant);
gboolean            egg_dbus_variant_is_string_array    (EggDBusVariant *variant);
gboolean            egg_dbus_variant_is_object_path_array
                                                        (EggDBusVariant *variant);
gboolean            egg_dbus_variant_is_signature_array (EggDBusVariant *variant);
gboolean            egg_dbus_variant_is_byte            (EggDBusVariant *variant);
gboolean            egg_dbus_variant_is_int16           (EggDBusVariant *variant);
gboolean            egg_dbus_variant_is_uint16          (EggDBusVariant *variant);
gboolean            egg_dbus_variant_is_int             (EggDBusVariant *variant);
gboolean            egg_dbus_variant_is_uint            (EggDBusVariant *variant);
gboolean            egg_dbus_variant_is_int64           (EggDBusVariant *variant);
gboolean            egg_dbus_variant_is_uint64          (EggDBusVariant *variant);
gboolean            egg_dbus_variant_is_boolean         (EggDBusVariant *variant);
gboolean            egg_dbus_variant_is_double          (EggDBusVariant *variant);
gboolean            egg_dbus_variant_is_seq             (EggDBusVariant *variant);
gboolean            egg_dbus_variant_is_map             (EggDBusVariant *variant);
gboolean            egg_dbus_variant_is_structure       (EggDBusVariant *variant);

Object Hierarchy

  GObject
   +----EggDBusVariant

Properties

  "signature"                EggDBusSignature*     : Read

Description

The EggDBusVariant type is used to represent D-Bus variants. It is a polymorphic type in the sense that it can hold any values of any type used in D-Bus. It is similar to GValue but provides a simpler API in addition to knowledge about the D-Bus signature.

Details

EggDBusVariant

typedef struct _EggDBusVariant EggDBusVariant;

egg_dbus_variant_print ()

void                egg_dbus_variant_print              (EggDBusVariant *variant,
                                                         guint indent);

egg_dbus_variant_new ()

EggDBusVariant *    egg_dbus_variant_new                (void);

Creates a new EggDBusVariant that doesn't hold any value.

Returns :

A EggDBusVariant. Free with g_object_unref().

egg_dbus_variant_new_for_gvalue ()

EggDBusVariant *    egg_dbus_variant_new_for_gvalue     (const GValue *value,
                                                         const gchar *signature);

Creates a new EggDBusVariant from value and signature.

value :

A GValue.

signature :

D-Bus signature for value.

Returns :

A EggDBusVariant. Free with g_object_unref().

egg_dbus_variant_get_gvalue ()

const GValue *      egg_dbus_variant_get_gvalue         (EggDBusVariant *variant);

Gets the value of variant as a GValue.

variant :

A EggDBusVariant.

Returns :

A pointer to a GValue owned by variant. Do not free.

egg_dbus_variant_get_variant_signature ()

const gchar *       egg_dbus_variant_get_variant_signature
                                                        (EggDBusVariant *variant);

Gets the signature of the type that variant holds.

variant :

A EggDBusVariant.

Returns :

A D-Bus signature. Do not free, the value is owned by variant.

egg_dbus_variant_new_for_string ()

EggDBusVariant *    egg_dbus_variant_new_for_string     (const gchar *value);

Creates a new variant that holds a copy of value.

value :

A string.

Returns :

A new EggDBusVariant. Free with g_object_unref().

egg_dbus_variant_new_for_object_path ()

EggDBusVariant *    egg_dbus_variant_new_for_object_path
                                                        (const gchar *value);

Creates a new variant that holds a copy of value.

value :

An object path.

Returns :

A new EggDBusVariant. Free with g_object_unref().

egg_dbus_variant_new_for_signature ()

EggDBusVariant *    egg_dbus_variant_new_for_signature  (const gchar *value);

Creates a new variant that holds a copy of value.

value :

A D-Bus signature.

Returns :

A new EggDBusVariant. Free with g_object_unref().

egg_dbus_variant_new_for_string_array ()

EggDBusVariant *    egg_dbus_variant_new_for_string_array
                                                        (gchar **value);

Creates a new variant that holds a copy of value.

value :

A string array.

Returns :

A new EggDBusVariant. Free with g_object_unref().

egg_dbus_variant_new_for_object_path_array ()

EggDBusVariant *    egg_dbus_variant_new_for_object_path_array
                                                        (gchar **value);

Creates a new variant that holds a copy of value.

value :

An object path array.

Returns :

A new EggDBusVariant. Free with g_object_unref().

egg_dbus_variant_new_for_signature_array ()

EggDBusVariant *    egg_dbus_variant_new_for_signature_array
                                                        (gchar **value);

Creates a new variant that holds a copy of value.

value :

A signature array.

Returns :

A new EggDBusVariant. Free with g_object_unref().

egg_dbus_variant_new_for_byte ()

EggDBusVariant *    egg_dbus_variant_new_for_byte       (guchar value);

Creates a new variant that holds a guchar equal to value.

value :

A guchar.

Returns :

A new EggDBusVariant. Free with g_object_unref().

egg_dbus_variant_new_for_int16 ()

EggDBusVariant *    egg_dbus_variant_new_for_int16      (gint16 value);

Creates a new variant that holds a gint16 equal to value.

value :

A gint16.

Returns :

A new EggDBusVariant. Free with g_object_unref().

egg_dbus_variant_new_for_uint16 ()

EggDBusVariant *    egg_dbus_variant_new_for_uint16     (guint16 value);

Creates a new variant that holds a guint16 equal to value.

value :

A guint16.

Returns :

A new EggDBusVariant. Free with g_object_unref().

egg_dbus_variant_new_for_int ()

EggDBusVariant *    egg_dbus_variant_new_for_int        (gint value);

Creates a new variant that holds a gint equal to value.

value :

A gint.

Returns :

A new EggDBusVariant. Free with g_object_unref().

egg_dbus_variant_new_for_uint ()

EggDBusVariant *    egg_dbus_variant_new_for_uint       (guint value);

Creates a new variant that holds a guint equal to value.

value :

A guint.

Returns :

A new EggDBusVariant. Free with g_object_unref().

egg_dbus_variant_new_for_int64 ()

EggDBusVariant *    egg_dbus_variant_new_for_int64      (gint64 value);

Creates a new variant that holds a gint64 equal to value.

value :

A gint64.

Returns :

A new EggDBusVariant. Free with g_object_unref().

egg_dbus_variant_new_for_uint64 ()

EggDBusVariant *    egg_dbus_variant_new_for_uint64     (guint64 value);

Creates a new variant that holds a guint64 equal to value.

value :

A guint64.

Returns :

A new EggDBusVariant. Free with g_object_unref().

egg_dbus_variant_new_for_boolean ()

EggDBusVariant *    egg_dbus_variant_new_for_boolean    (gboolean value);

Creates a new variant that holds a gboolean equal to value.

value :

A gboolean.

Returns :

A new EggDBusVariant. Free with g_object_unref().

egg_dbus_variant_new_for_double ()

EggDBusVariant *    egg_dbus_variant_new_for_double     (gdouble value);

Creates a new variant that holds a gdouble equal to value.

value :

A gdouble.

Returns :

A new EggDBusVariant. Free with g_object_unref().

egg_dbus_variant_new_for_seq ()

EggDBusVariant *    egg_dbus_variant_new_for_seq        (EggDBusArraySeq *seq,
                                                         const gchar *element_signature);

Creates a new variant that holds a reference to seq.

seq :

A EggDBusArraySeq.

element_signature :

D-Bus signature of the elements stored in seq.

Returns :

A new EggDBusVariant. Free with g_object_unref().

egg_dbus_variant_new_for_map ()

EggDBusVariant *    egg_dbus_variant_new_for_map        (EggDBusHashMap *map,
                                                         const gchar *key_signature,
                                                         const gchar *value_signature);

Creates a new variant that holds a reference to map.

map :

A EggDBusHashMap.

key_signature :

D-Bus signature of the keys stored in map.

value_signature :

D-Bus signature of the values stored in map.

Returns :

A new EggDBusVariant. Free with g_object_unref().

egg_dbus_variant_new_for_structure ()

EggDBusVariant *    egg_dbus_variant_new_for_structure  (EggDBusStructure *structure);

Creates a new variant that holds a reference to structure.

structure :

A EggDBusStructure.

Returns :

A new EggDBusVariant. Free with g_object_unref().

egg_dbus_variant_set_string ()

void                egg_dbus_variant_set_string         (EggDBusVariant *variant,
                                                         const gchar *value);

Makes variant hold a copy of value.

variant :

A EggDBusVariant.

value :

A string.

egg_dbus_variant_set_object_path ()

void                egg_dbus_variant_set_object_path    (EggDBusVariant *variant,
                                                         const gchar *value);

Makes variant hold a copy of value.

variant :

A EggDBusVariant.

value :

An object path.

egg_dbus_variant_set_signature ()

void                egg_dbus_variant_set_signature      (EggDBusVariant *variant,
                                                         const gchar *value);

Makes variant hold a copy of value.

variant :

A EggDBusVariant.

value :

A signature.

egg_dbus_variant_set_string_array ()

void                egg_dbus_variant_set_string_array   (EggDBusVariant *variant,
                                                         gchar **value);

Makes variant hold a copy of value.

variant :

A EggDBusVariant.

value :

A NULL-terminated string array.

egg_dbus_variant_set_object_path_array ()

void                egg_dbus_variant_set_object_path_array
                                                        (EggDBusVariant *variant,
                                                         gchar **value);

Makes variant hold a copy of value.

variant :

A EggDBusVariant.

value :

A NULL-terminated object path array.

egg_dbus_variant_set_signature_array ()

void                egg_dbus_variant_set_signature_array
                                                        (EggDBusVariant *variant,
                                                         gchar **value);

Makes variant hold a copy of value.

variant :

A EggDBusVariant.

value :

A NULL-terminated signature array.

egg_dbus_variant_set_byte ()

void                egg_dbus_variant_set_byte           (EggDBusVariant *variant,
                                                         guchar value);

Makes variant hold a guchar equal to value.

variant :

A EggDBusVariant.

value :

A guchar.

egg_dbus_variant_set_int16 ()

void                egg_dbus_variant_set_int16          (EggDBusVariant *variant,
                                                         gint16 value);

Makes variant hold a gint16 equal to value.

variant :

A EggDBusVariant.

value :

A gint16.

egg_dbus_variant_set_uint16 ()

void                egg_dbus_variant_set_uint16         (EggDBusVariant *variant,
                                                         guint16 value);

Makes variant hold a guint64 equal to value.

variant :

A EggDBusVariant.

value :

A guint16.

egg_dbus_variant_set_int ()

void                egg_dbus_variant_set_int            (EggDBusVariant *variant,
                                                         gint value);

Makes variant hold a gint equal to value.

variant :

A EggDBusVariant.

value :

A gint.

egg_dbus_variant_set_uint ()

void                egg_dbus_variant_set_uint           (EggDBusVariant *variant,
                                                         guint value);

Makes variant hold a guint equal to value.

variant :

A EggDBusVariant.

value :

A guint.

egg_dbus_variant_set_int64 ()

void                egg_dbus_variant_set_int64          (EggDBusVariant *variant,
                                                         gint64 value);

Makes variant hold a gint64 equal to value.

variant :

A EggDBusVariant.

value :

A gint64.

egg_dbus_variant_set_uint64 ()

void                egg_dbus_variant_set_uint64         (EggDBusVariant *variant,
                                                         guint64 value);

Makes variant hold a guint64 equal to value.

variant :

A EggDBusVariant.

value :

A guint64.

egg_dbus_variant_set_boolean ()

void                egg_dbus_variant_set_boolean        (EggDBusVariant *variant,
                                                         gboolean value);

Makes variant hold a gboolean equal to value.

variant :

A EggDBusVariant.

value :

A gboolean.

egg_dbus_variant_set_double ()

void                egg_dbus_variant_set_double         (EggDBusVariant *variant,
                                                         gdouble value);

Makes variant hold a gdouble equal to value.

variant :

A EggDBusVariant.

value :

A gdouble.

egg_dbus_variant_set_seq ()

void                egg_dbus_variant_set_seq            (EggDBusVariant *variant,
                                                         EggDBusArraySeq *seq,
                                                         const gchar *element_signature);

Makes variant hold a reference to seq.

variant :

A EggDBusVariant.

seq :

A EggDBusArraySeq.

element_signature :

D-Bus signature of the elements stored in seq.

egg_dbus_variant_set_map ()

void                egg_dbus_variant_set_map            (EggDBusVariant *variant,
                                                         EggDBusHashMap *map,
                                                         const gchar *key_signature,
                                                         const gchar *value_signature);

Makes variant hold a reference to map.

variant :

A EggDBusVariant.

map :

A EggDBusHashMap.

key_signature :

D-Bus signature of the keys stored in map.

value_signature :

D-Bus signature of the values stored in map.

egg_dbus_variant_set_structure ()

void                egg_dbus_variant_set_structure      (EggDBusVariant *variant,
                                                         EggDBusStructure *structure);

Makes variant hold a reference to structure.

variant :

A EggDBusVariant.

structure :

A EggDBusStructure.

egg_dbus_variant_get_string ()

const gchar *       egg_dbus_variant_get_string         (EggDBusVariant *variant);

Gets the string stored in variant.

variant :

A EggDBusVariant.

Returns :

A string. Free with g_free().

egg_dbus_variant_get_object_path ()

const gchar *       egg_dbus_variant_get_object_path    (EggDBusVariant *variant);

Gets the object path stored in variant.

variant :

A EggDBusVariant.

Returns :

An object path. Free with g_free().

egg_dbus_variant_get_signature ()

const gchar *       egg_dbus_variant_get_signature      (EggDBusVariant *variant);

egg_dbus_variant_get_string_array ()

gchar **            egg_dbus_variant_get_string_array   (EggDBusVariant *variant);

Gets the string array stored in variant.

variant :

A EggDBusVariant.

Returns :

A NULL-terminated string array. Free with g_strfreev().

egg_dbus_variant_get_object_path_array ()

gchar **            egg_dbus_variant_get_object_path_array
                                                        (EggDBusVariant *variant);

Gets the object path array stored in variant.

variant :

A EggDBusVariant.

Returns :

A NULL-terminated object path array. Free with g_strfreev().

egg_dbus_variant_get_signature_array ()

gchar **            egg_dbus_variant_get_signature_array
                                                        (EggDBusVariant *variant);

Gets the signature array stored in variant.

variant :

A EggDBusVariant.

Returns :

A NULL-terminated signature array. Free with g_strfreev().

egg_dbus_variant_get_byte ()

guchar              egg_dbus_variant_get_byte           (EggDBusVariant *variant);

Gets the guchar stored in variant.

variant :

A EggDBusVariant.

Returns :

A guchar.

egg_dbus_variant_get_int16 ()

gint16              egg_dbus_variant_get_int16          (EggDBusVariant *variant);

Gets the gint16 stored in variant.

variant :

A EggDBusVariant.

Returns :

A gint16.

egg_dbus_variant_get_uint16 ()

guint16             egg_dbus_variant_get_uint16         (EggDBusVariant *variant);

Gets the guint16 stored in variant.

variant :

A EggDBusVariant.

Returns :

A guint16.

egg_dbus_variant_get_int ()

gint                egg_dbus_variant_get_int            (EggDBusVariant *variant);

Gets the gint stored in variant.

variant :

A EggDBusVariant.

Returns :

A gint.

egg_dbus_variant_get_uint ()

guint               egg_dbus_variant_get_uint           (EggDBusVariant *variant);

Gets the guint stored in variant.

variant :

A EggDBusVariant.

Returns :

A guint.

egg_dbus_variant_get_int64 ()

gint64              egg_dbus_variant_get_int64          (EggDBusVariant *variant);

Gets the gint64 stored in variant.

variant :

A EggDBusVariant.

Returns :

A gint64.

egg_dbus_variant_get_uint64 ()

guint64             egg_dbus_variant_get_uint64         (EggDBusVariant *variant);

Gets the guint64 stored in variant.

variant :

A EggDBusVariant.

Returns :

A guint64.

egg_dbus_variant_get_boolean ()

gboolean            egg_dbus_variant_get_boolean        (EggDBusVariant *variant);

Gets the gboolean stored in variant.

variant :

A EggDBusVariant.

Returns :

A gboolean.

egg_dbus_variant_get_double ()

gdouble             egg_dbus_variant_get_double         (EggDBusVariant *variant);

Gets the gdouble stored in variant.

variant :

A EggDBusVariant.

Returns :

A gdouble.

egg_dbus_variant_get_seq ()

EggDBusArraySeq *   egg_dbus_variant_get_seq            (EggDBusVariant *variant);

Gets the sequence stored in variant.

variant :

A EggDBusVariant.

Returns :

A EggDBusArraySeq. Free with g_object_unref().

egg_dbus_variant_get_map ()

EggDBusHashMap *    egg_dbus_variant_get_map            (EggDBusVariant *variant);

Gets the map stored in variant.

variant :

A EggDBusVariant.

Returns :

A EggDBusHashMap. Free with g_object_unref().

egg_dbus_variant_get_structure ()

EggDBusStructure *  egg_dbus_variant_get_structure      (EggDBusVariant *variant);

Gets the structure stored in variant.

variant :

A EggDBusVariant.

Returns :

A EggDBusStructure. Free with g_object_unref().

egg_dbus_variant_is_unset ()

gboolean            egg_dbus_variant_is_unset           (EggDBusVariant *variant);

Checks if variant holds a value.

variant :

A EggDBusVariant.

Returns :

TRUE if variant doesn't hold a value.

egg_dbus_variant_is_string ()

gboolean            egg_dbus_variant_is_string          (EggDBusVariant *variant);

Checks if variant holds a string.

variant :

A EggDBusVariant.

Returns :

TRUE only if variant holds a string.

egg_dbus_variant_is_object_path ()

gboolean            egg_dbus_variant_is_object_path     (EggDBusVariant *variant);

Checks if variant holds an object path.

variant :

A EggDBusVariant.

Returns :

TRUE only if variant holds an object path.

egg_dbus_variant_is_signature ()

gboolean            egg_dbus_variant_is_signature       (EggDBusVariant *variant);

egg_dbus_variant_is_string_array ()

gboolean            egg_dbus_variant_is_string_array    (EggDBusVariant *variant);

Checks if variant holds a string array.

variant :

A EggDBusVariant.

Returns :

TRUE only if variant holds a string array.

egg_dbus_variant_is_object_path_array ()

gboolean            egg_dbus_variant_is_object_path_array
                                                        (EggDBusVariant *variant);

Checks if variant holds an object path array.

variant :

A EggDBusVariant.

Returns :

TRUE only if variant holds an object path array.

egg_dbus_variant_is_signature_array ()

gboolean            egg_dbus_variant_is_signature_array (EggDBusVariant *variant);

Checks if variant holds a signature array.

variant :

A EggDBusVariant.

Returns :

TRUE only if variant holds a signature array.

egg_dbus_variant_is_byte ()

gboolean            egg_dbus_variant_is_byte            (EggDBusVariant *variant);

Checks if variant holds a guchar.

variant :

A EggDBusVariant.

Returns :

TRUE only if variant holds a guchar.

egg_dbus_variant_is_int16 ()

gboolean            egg_dbus_variant_is_int16           (EggDBusVariant *variant);

Checks if variant holds a gint16.

variant :

A EggDBusVariant.

Returns :

TRUE only if variant holds a gint16.

egg_dbus_variant_is_uint16 ()

gboolean            egg_dbus_variant_is_uint16          (EggDBusVariant *variant);

Checks if variant holds a guint16.

variant :

A EggDBusVariant.

Returns :

TRUE only if variant holds a guint16.

egg_dbus_variant_is_int ()

gboolean            egg_dbus_variant_is_int             (EggDBusVariant *variant);

Checks if variant holds a gint.

variant :

A EggDBusVariant.

Returns :

TRUE only if variant holds a gint.

egg_dbus_variant_is_uint ()

gboolean            egg_dbus_variant_is_uint            (EggDBusVariant *variant);

Checks if variant holds a guint.

variant :

A EggDBusVariant.

Returns :

TRUE only if variant holds a guint.

egg_dbus_variant_is_int64 ()

gboolean            egg_dbus_variant_is_int64           (EggDBusVariant *variant);

Checks if variant holds a gint64.

variant :

A EggDBusVariant.

Returns :

TRUE only if variant holds a gint64.

egg_dbus_variant_is_uint64 ()

gboolean            egg_dbus_variant_is_uint64          (EggDBusVariant *variant);

Checks if variant holds a guint64.

variant :

A EggDBusVariant.

Returns :

TRUE only if variant holds a guint64.

egg_dbus_variant_is_boolean ()

gboolean            egg_dbus_variant_is_boolean         (EggDBusVariant *variant);

Checks if variant holds a gboolean.

variant :

A EggDBusVariant.

Returns :

TRUE only if variant holds a gboolean.

egg_dbus_variant_is_double ()

gboolean            egg_dbus_variant_is_double          (EggDBusVariant *variant);

Checks if variant holds a gdouble.

variant :

A EggDBusVariant.

Returns :

TRUE only if variant holds a gdouble.

egg_dbus_variant_is_seq ()

gboolean            egg_dbus_variant_is_seq             (EggDBusVariant *variant);

Checks if variant holds a sequence.

variant :

A EggDBusVariant.

Returns :

TRUE only if variant holds a sequence.

egg_dbus_variant_is_map ()

gboolean            egg_dbus_variant_is_map             (EggDBusVariant *variant);

Checks if variant holds a map.

variant :

A EggDBusVariant.

Returns :

TRUE only if variant holds a map.

egg_dbus_variant_is_structure ()

gboolean            egg_dbus_variant_is_structure       (EggDBusVariant *variant);

Checks if variant holds a structure.

variant :

A EggDBusVariant.

Returns :

TRUE only if variant holds a structure.

Property Details

The "signature" property

  "signature"                EggDBusSignature*     : Read

The signature of the variant.

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.