Bayonne2 / Common C++ 2 Framework
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | Friends
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 MapObject:
Collaboration graph
[legend]

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

MapObjectnextObject
 
const char * idObject
 
MapTabletable
 

Friends

class MapTable
 
class MapIndex
 

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 563 of file object.h.

Constructor & Destructor Documentation

MapObject::MapObject ( const char *  id)

Save id, mark as not using any table.

Parameters
idstring for this object.

Member Function Documentation

void MapObject::detach ( void  )

Remove the object from it's current table.

Friends And Related Function Documentation

friend class MapIndex
friend

Definition at line 567 of file object.h.

friend class MapTable
friend

Definition at line 566 of file object.h.

Field Documentation

const char* MapObject::idObject
protected

Definition at line 569 of file object.h.

MapObject* MapObject::nextObject
protected

Definition at line 568 of file object.h.

MapTable* MapObject::table
protected

Definition at line 570 of file object.h.


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