Dmap.ContainerRecord

g Dmap.ContainerRecord Dmap.ContainerRecord GObject.GInterface GObject.GInterface GObject.GInterface->Dmap.ContainerRecord

Implementations:

None

Methods

add_entry (record, id)

get_entries ()

get_entry_count ()

get_id ()

Virtual Methods

do_add_entry (record, id)

do_get_entries ()

do_get_entry_count ()

do_get_id ()

Properties

Name

Type

Flags

Short Description

name

str

r/w

Container name

Signals

None

Fields

None

Class Details

class Dmap.ContainerRecord
Bases:

GObject.GInterface

Structure:

Dmap.ContainerRecordInterface

add_entry(record, id)
Parameters:
Raises:

GLib.Error

Add a record to the database. It is assumed that the record is placed directly into the database (not copied) and not freed.

get_entries()
Returns:

A pointer to a Dmap.Db containing the entries contained in record.

Return type:

Dmap.Db

get_entry_count()
Returns:

the number of records in the container record.

Return type:

int

get_id()
Returns:

the ID for the given record.

Return type:

int

do_add_entry(record, id) virtual
Parameters:

Add a record to the database. It is assumed that the record is placed directly into the database (not copied) and not freed.

do_get_entries() virtual
Returns:

A pointer to a Dmap.Db containing the entries contained in record.

Return type:

Dmap.Db

do_get_entry_count() virtual
Returns:

the number of records in the container record.

Return type:

int

do_get_id() virtual
Returns:

the ID for the given record.

Return type:

int

Property Details

Dmap.ContainerRecord.props.name
Name:

name

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Container name