InspIRCd
2.0
|
#include <extensible.h>
Public Member Functions | |
LocalExtItem (const std::string &key, Module *owner) | |
virtual std::string | serialize (SerializeFormat format, const Extensible *container, void *item) const |
virtual void | unserialize (SerializeFormat format, Extensible *container, const std::string &value) |
virtual void | free (void *item)=0 |
![]() | |
ExtensionItem (const std::string &key, Module *owner) | |
![]() | |
ServiceProvider (Module *Creator, const std::string &Name, ServiceType Type) | |
![]() | |
virtual CullResult | cull () |
![]() | |
unsigned int | GetUseCount () const |
void | refcount_inc () const |
bool | refcount_dec () const |
Additional Inherited Members | |
![]() | |
ModuleRef | creator |
const std::string | name |
const ServiceType | service |
![]() | |
void * | get_raw (const Extensible *container) const |
void * | set_raw (Extensible *container, void *value) |
void * | unset_raw (Extensible *container) |
Base class for items that are NOT synchronized between servers
|
pure virtual |
Free the item
Implements ExtensionItem.
Implemented in LocalIntExt, SimpleExtItem< T >, and SimpleExtItem< std::string >.
|
virtual |
Serialize this item into a string
format | The format to serialize to |
container | The object containing this item |
item | The item itself |
Implements ExtensionItem.
Reimplemented in LocalIntExt, and LocalStringExt.
|
virtual |
Convert the string form back into an item
format | The format to serialize from (not FORMAT_USER) |
container | The object that this item applies to |
value | The return from a serialize() call that was run elsewhere with this key |
Implements ExtensionItem.