Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Extensible Class Reference

class Extensible is the parent class of many classes such as userrec and chanrec. More...

#include <base.h>

Inheritance diagram for Extensible:

Inheritance graph
[legend]
Collaboration diagram for Extensible:

Collaboration graph
[legend]
List of all members.

Private Attributes

std::map< std::string, VoidPointerExtension_Items
 Private data store.


Detailed Description

class Extensible is the parent class of many classes such as userrec and chanrec.

class Extensible implements a system which allows modules to 'extend' the class by attaching data within a map associated with the object. In this way modules can store their own custom information within user objects, channel objects and server objects, without breaking other modules (this is more sensible than using a flags variable, and each module defining bits within the flag as 'theirs' as it is less prone to conflict and supports arbitary data storage).

Definition at line 38 of file base.h.


Member Data Documentation

std::map<std::string,VoidPointer> Extensible::Extension_Items [private]
 

Private data store.

Definition at line 42 of file base.h.


The documentation for this class was generated from the following file:
Generated on Thu Apr 29 16:22:03 2004 for InspIRCd by doxygen1.3-rc3