Dmap.ContainerDb¶
- Implementations:
None
Methods¶
|
|
|
|
|
|
|
Virtual Methods¶
|
|
|
|
|
|
|
Properties¶
None
Signals¶
None
Fields¶
None
Class Details¶
- class Dmap.ContainerDb¶
- Bases:
- Structure:
- add(record)¶
- Parameters:
record (
Dmap.ContainerRecord
) – A record.- Raises:
Add a record to the database.
- foreach(func, *data)¶
- Parameters:
func (
Dmap.IdContainerRecordFunc
) – The function to apply to each record in the database.
Apply a function to each record in a container database.
- lookup_by_id(id)¶
- Parameters:
id (
int
) – A record ID.- Returns:
the database record corresponding to id. This record should be unrefed when no longer required.
- Return type:
- do_add(record) virtual¶
- Parameters:
record (
Dmap.ContainerRecord
) – A record.
Add a record to the database.
- do_foreach(func, data) virtual¶
- Parameters:
func (
Dmap.IdContainerRecordFunc
) – The function to apply to each record in the database.
Apply a function to each record in a container database.