Bayonne2 / Common C++ 2 Framework
|
The MapObject is a base class which can be used to make a derived class operate on a MapTable. More...
#include <object.h>
Public Member Functions | |
void | detach (void) |
Remove the object from it's current table. More... | |
MapObject (const char *id) | |
Save id, mark as not using any table. More... | |
Protected Attributes | |
MapObject * | nextObject |
const char * | idObject |
MapTable * | table |
Friends | |
class | MapTable |
class | MapIndex |
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.
MapObject::MapObject | ( | const char * | id | ) |
Save id, mark as not using any table.
id | string for this object. |
void MapObject::detach | ( | void | ) |
Remove the object from it's current table.