InspIRCd  2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations
Public Member Functions | List of all members
LocalIntExt Class Reference
Inheritance diagram for LocalIntExt:
LocalExtItem ExtensionItem ServiceProvider usecountbase classbase

Public Member Functions

 LocalIntExt (const std::string &key, Module *owner)
 
std::string serialize (SerializeFormat format, const Extensible *container, void *item) const
 
intptr_t get (const Extensible *container) const
 
intptr_t set (Extensible *container, intptr_t value)
 
void free (void *item)
 
- Public Member Functions inherited from LocalExtItem
 LocalExtItem (const std::string &key, Module *owner)
 
virtual void unserialize (SerializeFormat format, Extensible *container, const std::string &value)
 
- Public Member Functions inherited from ExtensionItem
 ExtensionItem (const std::string &key, Module *owner)
 
- Public Member Functions inherited from ServiceProvider
 ServiceProvider (Module *Creator, const std::string &Name, ServiceType Type)
 
- Public Member Functions inherited from classbase
virtual CullResult cull ()
 
- Public Member Functions inherited from usecountbase
unsigned int GetUseCount () const
 
void refcount_inc () const
 
bool refcount_dec () const
 

Additional Inherited Members

- Public Attributes inherited from ServiceProvider
ModuleRef creator
 
const std::string name
 
const ServiceType service
 
- Protected Member Functions inherited from ExtensionItem
void * get_raw (const Extensible *container) const
 
void * set_raw (Extensible *container, void *value)
 
void * unset_raw (Extensible *container)
 

Member Function Documentation

void LocalIntExt::free ( void *  item)
virtual

Free the item

Implements LocalExtItem.

std::string LocalIntExt::serialize ( SerializeFormat  format,
const Extensible container,
void *  item 
) const
virtual

Serialize this item into a string

Parameters
formatThe format to serialize to
containerThe object containing this item
itemThe item itself

Reimplemented from LocalExtItem.


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