Gee.Map

g GObject.GInterface GObject.GInterface Gee.Map Gee.Map GObject.GInterface->Gee.Map

Implementations:

Gee.AbstractMap

Methods

class

empty (k_type, k_dup_func, k_destroy_func, v_type, v_dup_func, v_destroy_func)

clear ()

contains (key)

contains_all (map)

get (key)

get_entries ()

get_is_empty ()

get_key_type ()

get_keys ()

get_read_only ()

get_read_only_view ()

get_size ()

get_value_type ()

get_values ()

has (key, value)

has_all (map)

has_key (key)

map_iterator ()

remove (key)

remove_all (map)

set (key, value)

set_all (map)

unset (key)

unset_all (map)

Virtual Methods

do_clear ()

do_get (key)

do_get_entries ()

do_get_is_empty ()

do_get_keys ()

do_get_read_only ()

do_get_read_only_view ()

do_get_size ()

do_get_values ()

do_has (key, value)

do_has_all (map)

do_has_key (key)

do_map_iterator ()

do_set (key, value)

do_set_all (map)

do_unset (key)

do_unset_all (map)

Properties

Name

Type

Flags

Short Description

entries

Gee.Set

r

entries

keys

Gee.Set

r

keys

read-only

bool

r

read-only

read-only-view

Gee.Map

r

read-only-view

size

int

r

size

values

Gee.Collection

r

values

Signals

None

Fields

None

Class Details

class Gee.Map
Bases:

GObject.GInterface

Structure:

Gee.MapIface

classmethod empty(k_type, k_dup_func, k_destroy_func, v_type, v_dup_func, v_destroy_func)
Parameters:
Return type:

Gee.Map

clear()
contains(key)
Parameters:

key (object or None) –

Return type:

bool

contains_all(map)
Parameters:

map (Gee.Map) –

Return type:

bool

get(key)
Parameters:

key (object or None) –

Return type:

object or None

get_entries()
Return type:

Gee.Set

get_is_empty()
Return type:

bool

get_key_type()
Return type:

GObject.GType

get_keys()
Return type:

Gee.Set

get_read_only()
Return type:

bool

get_read_only_view()
Return type:

Gee.Map

get_size()
Return type:

int

get_value_type()
Return type:

GObject.GType

get_values()
Return type:

Gee.Collection

has(key, value)
Parameters:
Return type:

bool

has_all(map)
Parameters:

map (Gee.Map) –

Return type:

bool

has_key(key)
Parameters:

key (object or None) –

Return type:

bool

map_iterator()
Return type:

Gee.MapIterator

remove(key)
Parameters:

key (object or None) –

Return type:

(bool, value: object)

remove_all(map)
Parameters:

map (Gee.Map) –

Return type:

bool

set(key, value)
Parameters:
set_all(map)
Parameters:

map (Gee.Map) –

unset(key)
Parameters:

key (object or None) –

Return type:

(bool, value: object)

unset_all(map)
Parameters:

map (Gee.Map) –

Return type:

bool

do_clear() virtual
do_get(key) virtual
Parameters:

key (object or None) –

Return type:

object or None

do_get_entries() virtual
Return type:

Gee.Set

do_get_is_empty() virtual
Return type:

bool

do_get_keys() virtual
Return type:

Gee.Set

do_get_read_only() virtual
Return type:

bool

do_get_read_only_view() virtual
Return type:

Gee.Map

do_get_size() virtual
Return type:

int

do_get_values() virtual
Return type:

Gee.Collection

do_has(key, value) virtual
Parameters:
Return type:

bool

do_has_all(map) virtual
Parameters:

map (Gee.Map) –

Return type:

bool

do_has_key(key) virtual
Parameters:

key (object or None) –

Return type:

bool

do_map_iterator() virtual
Return type:

Gee.MapIterator

do_set(key, value) virtual
Parameters:
do_set_all(map) virtual
Parameters:

map (Gee.Map) –

do_unset(key) virtual
Parameters:

key (object or None) –

Return type:

(bool, value: object)

do_unset_all(map) virtual
Parameters:

map (Gee.Map) –

Return type:

bool

Property Details

Gee.Map.props.entries
Name:

entries

Type:

Gee.Set

Default Value:

None

Flags:

READABLE

entries

Gee.Map.props.keys
Name:

keys

Type:

Gee.Set

Default Value:

None

Flags:

READABLE

keys

Gee.Map.props.read_only
Name:

read-only

Type:

bool

Default Value:

False

Flags:

READABLE

read-only

Gee.Map.props.read_only_view
Name:

read-only-view

Type:

Gee.Map

Default Value:

None

Flags:

READABLE

read-only-view

Gee.Map.props.size
Name:

size

Type:

int

Default Value:

0

Flags:

READABLE

size

Gee.Map.props.values
Name:

values

Type:

Gee.Collection

Default Value:

None

Flags:

READABLE

values