UCommon
ost::MapObject Class Reference

The MapObject is a base class which can be used to make a derived class operate on a MapTable. More...

#include <object.h>

Collaboration diagram for ost::MapObject:

Public Member Functions

void detach (void)
 Remove the object from it's current table.
 
 MapObject (const char *id)
 Save id, mark as not using any table.
 

Protected Attributes

const char * idObject
 
MapObjectnextObject
 
MapTabletable
 

Friends

class MapIndex
 
class MapTable
 

Detailed Description

The MapObject is a base class which can be used to make a derived class operate on a MapTable.

Derived classes may override new and delete operators to use managed free list from a MapTable.

Author
David Sugar dyfet.nosp@m.@gnu.nosp@m.telep.nosp@m.hony.nosp@m..org

Mappable object.

Definition at line 586 of file object.h.

Constructor & Destructor Documentation

◆ MapObject()

ost::MapObject::MapObject ( const char * id)

Save id, mark as not using any table.

Parameters
idstring for this object.

Friends And Related Symbol Documentation

◆ MapIndex

friend class MapIndex
friend

Definition at line 593 of file object.h.

◆ MapTable

friend class MapTable
friend

Definition at line 592 of file object.h.

Field Documentation

◆ idObject

const char* ost::MapObject::idObject
protected

Definition at line 595 of file object.h.

◆ nextObject

MapObject* ost::MapObject::nextObject
protected

Definition at line 594 of file object.h.

◆ table

MapTable* ost::MapObject::table
protected

Definition at line 596 of file object.h.


The documentation for this class was generated from the following file: