Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include <glib/gtypes.h>
Go to the source code of this file.
Typedefs | |
typedef typedefG_BEGIN_DECLS struct _GVariantType | GVariantType |
#define G_VARIANT_TYPE | ( | type_string | ) | (g_variant_type_checked_ ((type_string))) |
G_VARIANT_TYPE: @type_string: a well-formed GVariantType type string
Converts a string to a const GVariantType. Depending on the current debugging level, this function may perform a runtime check to ensure that @string is a valid GVariant type string.
It is always a programmer error to use this macro with an invalid type string. If in doubt, use g_variant_type_string_is_valid() to check if the string is valid.
Since 2.24
Definition at line 282 of file gvarianttype.h.
#define G_VARIANT_TYPE_ANY ((const GVariantType *) "*") |
G_VARIANT_TYPE_ANY:
An indefinite type that is a supertype of every type (including itself).
Definition at line 176 of file gvarianttype.h.
#define G_VARIANT_TYPE_ARRAY ((const GVariantType *) "a*") |
G_VARIANT_TYPE_ARRAY:
An indefinite type that is a supertype of every array type.
Definition at line 198 of file gvarianttype.h.
#define G_VARIANT_TYPE_BASIC ((const GVariantType *) "?") |
G_VARIANT_TYPE_BASIC:
An indefinite type that is a supertype of every basic (ie: non-container) type.
Definition at line 184 of file gvarianttype.h.
#define G_VARIANT_TYPE_BOOLEAN ((const GVariantType *) "b") |
G_VARIANT_TYPE_BOOLEAN:
The type of a value that can be either TRUE or FALSE.
Definition at line 41 of file gvarianttype.h.
#define G_VARIANT_TYPE_BYTE ((const GVariantType *) "y") |
G_VARIANT_TYPE_BYTE:
The type of an integer value that can range from 0 to 255.
Definition at line 48 of file gvarianttype.h.
#define G_VARIANT_TYPE_BYTESTRING ((const GVariantType *) "ay") |
G_VARIANT_TYPE_BYTESTRING:
The type of an array of bytes. This type is commonly used to pass around strings that may not be valid utf8. In that case, the convention is that the nul terminator character should be included as the last character in the array.
Definition at line 247 of file gvarianttype.h.
#define G_VARIANT_TYPE_BYTESTRING_ARRAY ((const GVariantType *) "aay") |
G_VARIANT_TYPE_BYTESTRING_ARRAY:
The type of an array of byte strings (an array of arrays of bytes).
Definition at line 254 of file gvarianttype.h.
#define G_VARIANT_TYPE_DICT_ENTRY ((const GVariantType *) "{?*}") |
G_VARIANT_TYPE_DICT_ENTRY:
An indefinite type that is a supertype of every dictionary entry type.
Definition at line 214 of file gvarianttype.h.
#define G_VARIANT_TYPE_DICTIONARY ((const GVariantType *) "a{?*}") |
G_VARIANT_TYPE_DICTIONARY:
An indefinite type that is a supertype of every dictionary type – that is, any array type that has an element type equal to any dictionary entry type.
Definition at line 223 of file gvarianttype.h.
#define G_VARIANT_TYPE_DOUBLE ((const GVariantType *) "d") |
G_VARIANT_TYPE_DOUBLE:
The type of a double precision IEEE754 floating point number. These guys go up to about 1.80e308 (plus and minus) but miss out on some numbers in between. In any case, that's far greater than the estimated number of fundamental particles in the observable universe.
Definition at line 108 of file gvarianttype.h.
#define G_VARIANT_TYPE_HANDLE ((const GVariantType *) "h") |
G_VARIANT_TYPE_HANDLE:
The type of a 32bit signed integer value, that by convention, is used as an index into an array of file descriptors that are sent alongside a D-Bus message.
If you are not interacting with D-Bus, then there is no reason to make use of this type.
Definition at line 160 of file gvarianttype.h.
#define G_VARIANT_TYPE_INT16 ((const GVariantType *) "n") |
G_VARIANT_TYPE_INT16:
The type of an integer value that can range from -32768 to 32767.
Definition at line 55 of file gvarianttype.h.
#define G_VARIANT_TYPE_INT32 ((const GVariantType *) "i") |
G_VARIANT_TYPE_INT32:
The type of an integer value that can range from -2147483648 to 2147483647.
Definition at line 71 of file gvarianttype.h.
#define G_VARIANT_TYPE_INT64 ((const GVariantType *) "x") |
G_VARIANT_TYPE_INT64:
The type of an integer value that can range from -9223372036854775808 to 9223372036854775807.
Definition at line 87 of file gvarianttype.h.
#define G_VARIANT_TYPE_MAYBE ((const GVariantType *) "m*") |
G_VARIANT_TYPE_MAYBE:
An indefinite type that is a supertype of every maybe type.
Definition at line 191 of file gvarianttype.h.
#define G_VARIANT_TYPE_OBJECT_PATH ((const GVariantType *) "o") |
G_VARIANT_TYPE_OBJECT_PATH:
The type of a D-Bus object reference. These are strings of a specific format used to identify objects at a given destination on the bus.
If you are not interacting with D-Bus, then there is no reason to make use of this type. If you are, then the D-Bus specification contains a precise description of valid object paths.
Definition at line 128 of file gvarianttype.h.
#define G_VARIANT_TYPE_OBJECT_PATH_ARRAY ((const GVariantType *) "ao") |
G_VARIANT_TYPE_OBJECT_PATH_ARRAY:
The type of an array of object paths.
Definition at line 237 of file gvarianttype.h.
#define G_VARIANT_TYPE_SIGNATURE ((const GVariantType *) "g") |
G_VARIANT_TYPE_SIGNATURE:
The type of a D-Bus type signature. These are strings of a specific format used as type signatures for D-Bus methods and messages.
If you are not interacting with D-Bus, then there is no reason to make use of this type. If you are, then the D-Bus specification contains a precise description of valid signature strings.
Definition at line 140 of file gvarianttype.h.
#define G_VARIANT_TYPE_STRING ((const GVariantType *) "s") |
G_VARIANT_TYPE_STRING:
The type of a string. "" is a string. NULL is not a string.
Definition at line 115 of file gvarianttype.h.
#define G_VARIANT_TYPE_STRING_ARRAY ((const GVariantType *) "as") |
G_VARIANT_TYPE_STRING_ARRAY:
The type of an array of strings.
Definition at line 230 of file gvarianttype.h.
#define G_VARIANT_TYPE_TUPLE ((const GVariantType *) "r") |
G_VARIANT_TYPE_TUPLE:
An indefinite type that is a supertype of every tuple type, regardless of the number of items in the tuple.
Definition at line 206 of file gvarianttype.h.
#define G_VARIANT_TYPE_UINT16 ((const GVariantType *) "q") |
G_VARIANT_TYPE_UINT16:
The type of an integer value that can range from 0 to 65535. There were about this many people living in Toronto in the 1870s.
Definition at line 63 of file gvarianttype.h.
#define G_VARIANT_TYPE_UINT32 ((const GVariantType *) "u") |
G_VARIANT_TYPE_UINT32:
The type of an integer value that can range from 0 to 4294967295. That's one number for everyone who was around in the late 1970s.
Definition at line 79 of file gvarianttype.h.
#define G_VARIANT_TYPE_UINT64 ((const GVariantType *) "t") |
G_VARIANT_TYPE_UINT64:
The type of an integer value that can range from 0 to 18446744073709551615 (inclusive). That's a really big number, but a Rubik's cube can have a bit more than twice as many possible positions.
Definition at line 97 of file gvarianttype.h.
#define G_VARIANT_TYPE_UNIT ((const GVariantType *) "()") |
G_VARIANT_TYPE_UNIT:
The empty tuple type. Has only one instance. Known also as "triv" or "void".
Definition at line 168 of file gvarianttype.h.
#define G_VARIANT_TYPE_VARDICT ((const GVariantType *) "a{sv}") |
G_VARIANT_TYPE_VARDICT:
The type of a dictionary mapping strings to variants (the ubiquitous "a{sv}" type).
Since: 2.30
Definition at line 264 of file gvarianttype.h.
#define G_VARIANT_TYPE_VARIANT ((const GVariantType *) "v") |
G_VARIANT_TYPE_VARIANT:
The type of a box that contains any other value (including another variant).
Definition at line 148 of file gvarianttype.h.
typedef typedefG_BEGIN_DECLS struct _GVariantType GVariantType |
Definition at line 34 of file gvarianttype.h.
GLIB_AVAILABLE_IN_ALL const GVariantType * g_variant_type_checked_ | ( | const gchar * | type_string | ) |
GLIB_AVAILABLE_IN_ALL GVariantType * g_variant_type_copy | ( | const GVariantType * | type | ) |
GLIB_AVAILABLE_IN_ALL gchar * g_variant_type_dup_string | ( | const GVariantType * | type | ) |
GLIB_AVAILABLE_IN_ALL const GVariantType * g_variant_type_element | ( | const GVariantType * | type | ) |
GLIB_AVAILABLE_IN_ALL gboolean g_variant_type_equal | ( | gconstpointer | type1, |
gconstpointer | type2 ) |
GLIB_AVAILABLE_IN_ALL const GVariantType * g_variant_type_first | ( | const GVariantType * | type | ) |
GLIB_AVAILABLE_IN_ALL void g_variant_type_free | ( | GVariantType * | type | ) |
GLIB_AVAILABLE_IN_ALL gsize g_variant_type_get_string_length | ( | const GVariantType * | type | ) |
GLIB_AVAILABLE_IN_ALL guint g_variant_type_hash | ( | gconstpointer | type | ) |
GLIB_AVAILABLE_IN_ALL gboolean g_variant_type_is_array | ( | const GVariantType * | type | ) |
GLIB_AVAILABLE_IN_ALL gboolean g_variant_type_is_basic | ( | const GVariantType * | type | ) |
GLIB_AVAILABLE_IN_ALL gboolean g_variant_type_is_container | ( | const GVariantType * | type | ) |
GLIB_AVAILABLE_IN_ALL gboolean g_variant_type_is_definite | ( | const GVariantType * | type | ) |
GLIB_AVAILABLE_IN_ALL gboolean g_variant_type_is_dict_entry | ( | const GVariantType * | type | ) |
GLIB_AVAILABLE_IN_ALL gboolean g_variant_type_is_maybe | ( | const GVariantType * | type | ) |
GLIB_AVAILABLE_IN_ALL gboolean g_variant_type_is_subtype_of | ( | const GVariantType * | type, |
const GVariantType * | supertype ) |
GLIB_AVAILABLE_IN_ALL gboolean g_variant_type_is_tuple | ( | const GVariantType * | type | ) |
GLIB_AVAILABLE_IN_ALL gboolean g_variant_type_is_variant | ( | const GVariantType * | type | ) |
GLIB_AVAILABLE_IN_ALL const GVariantType * g_variant_type_key | ( | const GVariantType * | type | ) |
GLIB_AVAILABLE_IN_ALL gsize g_variant_type_n_items | ( | const GVariantType * | type | ) |
GLIB_AVAILABLE_IN_ALL GVariantType * g_variant_type_new | ( | const gchar * | type_string | ) |
GLIB_AVAILABLE_IN_ALL GVariantType * g_variant_type_new_array | ( | const GVariantType * | element | ) |
GLIB_AVAILABLE_IN_ALL GVariantType * g_variant_type_new_dict_entry | ( | const GVariantType * | key, |
const GVariantType * | value ) |
GLIB_AVAILABLE_IN_ALL GVariantType * g_variant_type_new_maybe | ( | const GVariantType * | element | ) |
GLIB_AVAILABLE_IN_ALL GVariantType * g_variant_type_new_tuple | ( | const GVariantType *const * | items, |
gint | length ) |
GLIB_AVAILABLE_IN_ALL const GVariantType * g_variant_type_next | ( | const GVariantType * | type | ) |
GLIB_AVAILABLE_IN_ALL const gchar * g_variant_type_peek_string | ( | const GVariantType * | type | ) |
GLIB_AVAILABLE_IN_2_60 gsize g_variant_type_string_get_depth_ | ( | const gchar * | type_string | ) |
GLIB_AVAILABLE_IN_ALL gboolean g_variant_type_string_is_valid | ( | const gchar * | type_string | ) |
GLIB_AVAILABLE_IN_ALL gboolean g_variant_type_string_scan | ( | const gchar * | string, |
const gchar * | limit, | ||
const gchar ** | endptr ) |
GLIB_AVAILABLE_IN_ALL const GVariantType * g_variant_type_value | ( | const GVariantType * | type | ) |