Anope IRC Services  Version 2.0
Public Member Functions | Static Public Member Functions | Data Fields
Extensible Class Reference

#include <extensible.h>

Inheritance diagram for Extensible:
Inheritance graph
[legend]

Public Member Functions

virtual ~Extensible ()
 
template<typename T >
T * GetExt (const Anope::string &name) const
 
bool HasExt (const Anope::string &name) const
 
template<typename T >
T * Extend (const Anope::string &name, const T &what)
 
template<typename T >
T * Extend (const Anope::string &name)
 
template<typename T >
T * Require (const Anope::string &name)
 
template<typename T >
void Shrink (const Anope::string &name)
 
template<>
bool * Extend (const Anope::string &name, const bool &what)
 

Static Public Member Functions

static void ExtensibleSerialize (const Extensible *, const Serializable *, Serialize::Data &data)
 
static void ExtensibleUnserialize (Extensible *, Serializable *, Serialize::Data &data)
 

Data Fields

std::set< ExtensibleBase * > extension_items
 

Detailed Description

Definition at line 36 of file extensible.h.

Constructor & Destructor Documentation

Extensible::~Extensible ( )
virtual

Definition at line 25 of file extensible.cpp.

References extension_items.

Member Function Documentation

template<typename T >
T * Extensible::Extend ( const Anope::string name,
const T &  what 
)
template<typename T >
T * Extensible::Extend ( const Anope::string name)

Definition at line 233 of file extensible.h.

References LOG_DEBUG.

template<>
bool* Extensible::Extend ( const Anope::string name,
const bool &  what 
)

Definition at line 60 of file extensible.cpp.

References LOG_DEBUG.

void Extensible::ExtensibleSerialize ( const Extensible e,
const Serializable s,
Serialize::Data data 
)
static
void Extensible::ExtensibleUnserialize ( Extensible e,
Serializable s,
Serialize::Data data 
)
static
template<typename T >
T * Extensible::GetExt ( const Anope::string name) const
bool Extensible::HasExt ( const Anope::string name) const
template<typename T >
T * Extensible::Require ( const Anope::string name)
template<typename T >
void Extensible::Shrink ( const Anope::string name)

Field Documentation

std::set<ExtensibleBase *> Extensible::extension_items

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