Trees | Index | Help |
---|
Module gwy :: Class Container |
|
Container
struct contains private
data only and should be accessed using the functions below.
Method Summary | |
---|---|
Creates a new Container . | |
Returns: Whether container contains something
identified by key . | |
Expands to True if container c
contains a value identified by name n . | |
Returns: The boolean as gboolean . | |
Gets the boolean in container c identified by name
n . | |
Returns: The double as gdouble . | |
Gets the double in container c identified by name
n . | |
Returns: The enum as gint . | |
Gets the enum in container c identified by name
n . | |
Returns: The integer as guint32 . | |
Gets the 32bit integer in container c identified
by name n . | |
Returns: The 64bit integer as guint64 . | |
Gets the 64bit integer in container c identified
by name n . | |
Gets the number of items in a container. | |
Get object of given key from container. | |
Gets the object in container c identified by name
n . | |
Returns: The string. | |
Gets the string in container c identified by name
n . | |
Returns: The character as guchar . | |
Gets the unsigned character in container c
identified by name n . | |
Get-if-set a double from a container. | |
Get-if-set an enum from a container. | |
Get-if-set a 32bit integer from a container. | |
Get-if-set a 64bit integer from a container. | |
Get-if-set an object from a container. | |
Get-if-set an unsigned char from a container. | |
Gets all quark keys of a container. | |
Gets all string keys of a container. | |
Removes a value identified by key from a
container. | |
Removes a value identified by name n from
container c . | |
Removes a values whose key start with prefix from
container container . | |
Makes a value in container identified by
key to be identified by
newkey . | |
Makes a value in container c identified by name
n to be identified by new name
nn . | |
Stores a boolean into container , identified by
key . | |
Stores a boolean into container c , identified by
name n . | |
Stores a double into container , identified by
key . | |
Stores a double into container c , identified by
name n . | |
Stores an enum into container , identified by
key . | |
Stores an enum into container c , identified by
name n . | |
Stores a 32bit integer into container , identified
by key . | |
Stores a 32bit integer into container c ,
identified by name n . | |
Stores a 64bit integer into container , identified
by key . | |
Stores a 64bit integer into container c ,
identified by name n . | |
Stores an object into container , identified by
key . | |
Stores an object into container c , identified by
name n . | |
Set string for key to given value | |
Stores a string into container c , identified by
name n . | |
Stores an unsigned character into container ,
identified by key . | |
Stores an unsigned character into container c ,
identified by name n . | |
Copies a items from one place in container to another place. | |
Calls function on each
container item whose identifier starts with
prefix . | |
Returns: The value as a GValue . | |
Gets the value in container c identified by name
n . | |
Get-if-set a boolean from a container. | |
Get-if-set a string from a container. | |
Get-if-set a generic value from a container. | |
Creates a text representation of container
contents. | |
Returns: The value type as GType ; 0 if there is no
such value. |
Method Details |
---|
__init__()
Creates a new |
contains(key)Returns: Whethercontainer contains something
identified by key .
|
contains_by_name(name)Expands toTrue if container
c contains a value identified by name
n .
|
get_boolean(key)Returns: The boolean asgboolean .
|
get_boolean_by_name(name)Gets the boolean in containerc identified by
name n .
|
get_double(key)Returns: The double asgdouble .
|
get_double_by_name(name)Gets the double in containerc identified by
name n .
|
get_enum(key)Returns: The enum asgint .
|
get_enum_by_name(name)Gets the enum in container |
get_int32(key)Returns: The integer asguint32 .
|
get_int32_by_name(name)Gets the 32bit integer in containerc identified
by name n .
|
get_int64(key)Returns: The 64bit integer asguint64 .
|
get_int64_by_name(name)Gets the 64bit integer in containerc identified
by name n .
|
get_n_items()Gets the number of items in a container.
|
get_object(key)Get object of given key from container.
|
get_object_by_name(name)Gets the object in container container may cease to exist.
|
get_string(key)Returns: The string.
|
get_string_by_name(name)Gets the string in container |
get_uchar(key)Returns: The character asguchar .
|
get_uchar_by_name(name)Gets the unsigned character in containerc
identified by name n .
|
gis_double(key, value)Get-if-set a double from a container.
|
gis_enum(key, value)Get-if-set an enum from a container. Note enums are treated as 32bit integers.
|
gis_int32(key, value)Get-if-set a 32bit integer from a container.
|
gis_int64(key, value)Get-if-set a 64bit integer from a container.
|
gis_object(key, value)Get-if-set an object from a container. The object eventually stored invalue doesn't
have its reference count increased, use g_object_ref() if you want to
access it even when container may cease to
exist.
|
gis_uchar(key, value)Get-if-set an unsigned char from a container.
|
keys()Gets all quark keys of a container.
|
keys_by_name()Gets all string keys of a container.
|
remove(key)Removes a value identified bykey from a
container.
|
remove_by_name(name)Removes a value identified by name True if there was such a value and
was removed.
|
remove_by_prefix(prefix)Removes a values whose key start with prefix can be NULL , all
values are then removed.
|
rename(key, newkey, force)Makes a value in force is True existing
value at newkey is removed from
container . When it's False , an
existing value newkey inhibits the rename and
False is returned.
|
rename_by_name(name, new_name, delete)Makes a value in container Container.rename () for details.
|
set_boolean(key, value)Stores a boolean intocontainer , identified by
key .
|
set_boolean_by_name(name, value)Stores a boolean into containerc , identified by
name n .
|
set_double(key, value)Stores a double intocontainer , identified by
key .
|
set_double_by_name(name, value)Stores a double into containerc , identified by
name n .
|
set_enum(key, value)Stores an enum into
|
set_enum_by_name(name, value)Stores an enum into container |
set_int32(key, value)Stores a 32bit integer intocontainer ,
identified by key .
|
set_int32_by_name(name, value)Stores a 32bit integer into containerc ,
identified by name n .
|
set_int64(key, value)Stores a 64bit integer intocontainer ,
identified by key .
|
set_int64_by_name(name, value)Stores a 64bit integer into containerc ,
identified by name n .
|
set_object(key, value)Stores an object into The container claims ownership on the object, i.e. its reference count is incremented. The object must implementSerializable interface
to allow serialization of the container.
|
set_object_by_name(name, value)Stores an object into container Container.set_object () for details.
|
set_string(key, value)Set string for key to given value
|
set_string_by_name(name, value)Stores a string into container |
set_uchar(key, value)Stores an unsigned character intocontainer ,
identified by key .
|
set_uchar_by_name(name, value)Stores an unsigned character into containerc ,
identified by name n .
|
transfer(dest, source_prefix, dest_prefix, force)Copies a items from one place in container to another place. The copies are shallow, objects are not physically duplicated, only referenced indest .
|
UNIMPLEMENTED_foreach(prefix, function, user_data)Calls function (GQuark key,
GValue *value, user_data).
|
UNIMPLEMENTED_get_value(key)Returns: The value as aGValue .
|
UNIMPLEMENTED_get_value_by_name(name)Gets the value in containerc identified by name
n .
|
UNIMPLEMENTED_gis_boolean(key, value)Get-if-set a boolean from a container.
|
UNIMPLEMENTED_gis_string(key, value)Get-if-set a string from a container. The string eventually stored invalue must be
treated as constant and never freed or modified.
|
UNIMPLEMENTED_gis_value(key, value)Get-if-set a generic value from a container.
|
UNIMPLEMENTED_serialize_to_text()Creates a text representation of
|
value_type(key)Returns: The value type asGType ; 0 if there is
no such value.
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Tue Dec 30 04:01:41 2008 | http://epydoc.sf.net |