Anope IRC Services  Version 2.0
Public Member Functions | Protected Member Functions
PrimitiveExtensibleItem< T > Class Template Reference

#include <extensible.h>

Inheritance diagram for PrimitiveExtensibleItem< T >:
Inheritance graph
Collaboration diagram for PrimitiveExtensibleItem< T >:
Collaboration graph

Public Member Functions

 PrimitiveExtensibleItem (Module *m, const Anope::string &n)
- Public Member Functions inherited from BaseExtensibleItem< T >
 BaseExtensibleItem (Module *m, const Anope::string &n)
 ~BaseExtensibleItem ()
T * Set (Extensible *obj, const T &value)
T * Set (Extensible *obj)
void Unset (Extensible *obj) anope_override
T * Get (const Extensible *obj) const
bool HasExt (const Extensible *obj) const
T * Require (Extensible *obj)
- Public Member Functions inherited from ExtensibleBase
virtual void ExtensibleSerialize (const Extensible *, const Serializable *, Serialize::Data &) const
virtual void ExtensibleUnserialize (Extensible *, Serializable *, Serialize::Data &)
- Public Member Functions inherited from Service
 Service (Module *o, const Anope::string &t, const Anope::string &n)
virtual ~Service ()
void Register ()
void Unregister ()
- Public Member Functions inherited from Base
 Base ()
virtual ~Base ()
void AddReference (ReferenceBase *r)
void DelReference (ReferenceBase *r)

Protected Member Functions

T * Create (Extensible *obj) anope_override
- Protected Member Functions inherited from ExtensibleBase
 ExtensibleBase (Module *m, const Anope::string &n)
 ~ExtensibleBase ()

Additional Inherited Members

- Static Public Member Functions inherited from Service
static ServiceFindService (const Anope::string &t, const Anope::string &n)
static std::vector< Anope::stringGetServiceKeys (const Anope::string &t)
static void AddAlias (const Anope::string &t, const Anope::string &n, const Anope::string &v)
static void DelAlias (const Anope::string &t, const Anope::string &n)
- Data Fields inherited from Service
Anope::string type
Anope::string name
- Protected Attributes inherited from ExtensibleBase
std::map< Extensible *, void * > items

Detailed Description

template<typename T>
class PrimitiveExtensibleItem< T >

Definition at line 139 of file extensible.h.

Constructor & Destructor Documentation

◆ PrimitiveExtensibleItem()

template<typename T>
PrimitiveExtensibleItem< T >::PrimitiveExtensibleItem ( Module m,
const Anope::string n 

Definition at line 147 of file extensible.h.

Member Function Documentation

◆ Create()

template<typename T>
T* PrimitiveExtensibleItem< T >::Create ( Extensible obj)

Implements BaseExtensibleItem< T >.

Definition at line 142 of file extensible.h.

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