GXml.ThreeMap – GXml-0.20 – Vala Binding Reference

GXml.ThreeMap – GXml-0.20 Reference Manual

# ThreeMap

## Object Hierarchy:

## Description:

public interface ThreeMap : Object, Collection, Traversable<DomElement>, Iterable<DomElement>

Gee.Iterable and Gee.Traversable implementation of GXml.Collection

All known implementing classes:

- HashThreeMap

Namespace: GXml
Package: GXml-0.20

## Content:

### Properties:

- public abstract string attribute_primary_key { get; set construct; }
  An attribute's name in items to be added and used to retrieve elements as primary key.
- public abstract string attribute_secondary_key { get; set construct; }
  An attribute's name in items to be added and used to retrieve elements as secondary key.
- public abstract string attribute_third_key { get; set construct; }
  An attribute's name in items to be added and used to retrieve elements as third key.
- public abstract Set<string> primary_keys_set { owned get; }
  Returns list of primary keys used in collection.

### Methods:

- public abstract bool has_primary_key (string key)
  Returns true if @key is used in collection as primary key.
- public abstract bool has_secondary_key (string pkey, string key)
  Returns true if @key is used in collection as secondary key with @pkey as primary.
- public abstract bool has_third_key (string pkey, string skey, string key)
  Returns true if @key is used in collection as third key with secondary key and pkey as primary.
- public abstract DomElement? item (string primary_key, string secondary_key, string third_key)
  Returns an DomElement in the collection using given string keys.
- public abstract Set<string> secondary_keys_set (string pkey)
  Returns list of secondary keys used in collection with @pkey as primary key.
- public abstract Set<string> third_keys_set (string pkey, string skey)
  Returns list of third keys used in collection with pkey as primary key and skey as secondary key.

### Inherited Members:

All known members inherited from class GLib.Object

- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data

- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer

- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref

All known members inherited from interface GXml.Collection

- append
- clear
- create_item
- element

- get_item
- initialize
- items_name
- items_type

- length
- nodes_index
- search
- validate_append

All known members inherited from interface Gee.Traversable

- @foreach
- all_match
- any_match
- chop
- element_type
- filter

- first_match
- flat_map
- fold
- map
- max

- min
- order_by
- scan
- stream
- tee

All known members inherited from interface Gee.Iterable

- iterator