Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ost_mapobject(3) [debian man page]

ost::MapObject(3)					     Library Functions Manual						 ost::MapObject(3)

NAME
ost::MapObject - The MapObject is a base class which can be used to make a derived class operate on a MapTable. SYNOPSIS
#include <object.h> 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 MapObject * nextObject const char * idObject MapTable * table 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@gnutelephony.org Mappable object. Constructor &; Destructor Documentation ost::MapObject::MapObject (const char *id) Save id, mark as not using any table. Parameters: id string for this object. Member Function Documentation void ost::MapObject::detach (void) Remove the object from it's current table. Friends And Related Function Documentation friend class MapIndex [friend] friend class MapTable [friend] Member Data Documentation const char* ost::MapObject::idObject [protected] MapObject* ost::MapObject::nextObject [protected] MapTable* ost::MapObject::table [protected] Author Generated automatically by Doxygen for GNU CommonC++ from the source code. GNU CommonC++ Sat Jun 23 2012 ost::MapObject(3)

Check Out this Related Man Page

ost::MapIndex(3)					     Library Functions Manual						  ost::MapIndex(3)

NAME
ost::MapIndex - The MapIndex allows linear access into a MapTable, that otherwise could have its elements being retrieved only by key. SYNOPSIS
#include <object.h> Public Member Functions MapIndex () Creates an empty map index (pointing to nothing). MapIndex (MapObject *theObject) Creates a map index pointing to a specific map object. MapIndex (const MapIndex &theIndex) Creates a copy of a given map index. void * operator* () const Dereference operator: the pointed object it is returned as void * for easy re-cast. MapIndex & operator= (MapObject *theObject) Assignment operator to avoid implicit cast. MapIndex & operator++ () Prefix increment operator, to be used in loops and such. MapIndex operator++ (int) Postfix increment operator, to be used in loops and such. bool operator== (const MapIndex &theIndex) const Comparison operator, between two MapIndex's. bool operator!= (const MapIndex &theIndex) const bool operator== (const MapObject *theObject) const Comparison operator, between the MapIndex and a MapObject, useful to avoid casts for sake of clearness. bool operator!= (const MapObject *theObject) const Detailed Description The MapIndex allows linear access into a MapTable, that otherwise could have its elements being retrieved only by key. It can be increased, checked and dereferenced like a pointer, by means of suitable operators. Author: Sergio Repetto s.repetto@pentaengineering.it Index object to access MapTable elements Constructor &; Destructor Documentation ost::MapIndex::MapIndex () [inline] Creates an empty map index (pointing to nothing). ost::MapIndex::MapIndex (MapObject *theObject) [inline] Creates a map index pointing to a specific map object. Parameters: the indexed object ost::MapIndex::MapIndex (const MapIndex &theIndex) [inline] Creates a copy of a given map index. Parameters: the source index object Member Function Documentation bool ost::MapIndex::operator!= (const MapIndex &theIndex) const [inline] bool ost::MapIndex::operator!= (const MapObject *theObject) const [inline] void* ost::MapIndex::operator* () const [inline] Dereference operator: the pointed object it is returned as void * for easy re-cast. Returns: pointer to indexed object. MapIndex& ost::MapIndex::operator++ () Prefix increment operator, to be used in loops and such. Returns: the object itself, as changed. MapIndex ost::MapIndex::operator++ (int) [inline] Postfix increment operator, to be used in loops and such. Returns: the object itself, as changed. References operator++(). Referenced by operator++(). MapIndex& ost::MapIndex::operator= (MapObject *theObject) Assignment operator to avoid implicit cast. Returns: the object itself, as changed. bool ost::MapIndex::operator== (const MapIndex &theIndex) const [inline] Comparison operator, between two MapIndex's. Returns: the object itself, as changed. bool ost::MapIndex::operator== (const MapObject *theObject) const [inline] Comparison operator, between the MapIndex and a MapObject, useful to avoid casts for sake of clearness. Returns: the object itself, as changed. Author Generated automatically by Doxygen for GNU CommonC++ from the source code. GNU CommonC++ Sat Jun 23 2012 ost::MapIndex(3)
Man Page