ost::MapObject(3)
π ost::MapObject β from the Library Functions Manual β¨
okay bestie, gather round, because today we're talking about ost::MapObject, and she is lowkey the blueprint π
πΈ NAME πΈ
ost::MapObject β she's a base class, and her whole deal is letting a derived class of yours operate on a MapTable. no cap. that's the job. that's the vibe. π¦
β¨ SYNOPSIS β¨
#include <object.h>
π Public Member Functions π
void detach (void)β yeets the object out of whatever table it's currently chilling in. gone. removed. bye girl πMapObject (const char *id)β saves theidand marks her as not using any table yet. she's single, she's ready to mingle π«Ά
π Protected Attributes π
MapObject * nextObjectconst char * idObjectMapTable * table
π Friends π
class MapTableclass MapIndex
π Detailed Description π
okay so ost::MapObject is a base class, and the way you use her is by making a derived class that operates on a MapTable. it's giving "inheritance but make it organized." πΈ
and here's the cute part: derived classes may override the new and delete operators so they can use the managed free list from a MapTable. it's iconic, honestly. recycling but for memory. slay β»οΈβ¨
Author
David Sugar dyfet@gnutelephony.org π
Mappable object. that's it, that's the summary, periodt π
π§ Constructor & Destructor Documentation π§
β ost::MapObject::MapObject (const char * id) β
saves the id, and marks the object as not using any table. fresh start energy β¨
Parameters
idβ the string for this object. that's her name tag, bestie π
π Member Function Documentation π
π void ost::MapObject::detach (void) π
removes the object from its current table. she's out. she said "not my table anymore" and left π₯
π¦ 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. the robots did this one, bestie π€β¨
okay that's the whole page, you ate that π go forth and map your objects, iykyk π
GNU CommonC++ Β· Sun Dec 27 2020 Β· ost::MapObject(3) β mwah, love u, bye π
π
π¦ where this page comes from
- ubuntu jammy: libcommoncpp2-doc 1.8.1-10
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms