Anope IRC Services  Version 2.0
Public Member Functions | Private Attributes
ServiceReference< T > Class Template Reference

#include <service.h>

Inheritance diagram for ServiceReference< T >:
Inheritance graph
[legend]
Collaboration diagram for ServiceReference< T >:
Collaboration graph
[legend]

Public Member Functions

 ServiceReference ()
 
 ServiceReference (const Anope::string &t, const Anope::string &n)
 
void operator= (const Anope::string &n)
 
 operator bool () anope_override
 
- Public Member Functions inherited from Reference< T >
 Reference ()
 
 Reference (T *obj)
 
 Reference (const Reference< T > &other)
 
virtual ~Reference ()
 
Reference< T > & operator= (const Reference< T > &other)
 
 operator T * ()
 
T * operator-> ()
 
T * operator* ()
 
bool operator== (const Reference< T > &other)
 
- Public Member Functions inherited from ReferenceBase
 ReferenceBase ()
 
 ReferenceBase (const ReferenceBase &other)
 
virtual ~ReferenceBase ()
 
void Invalidate ()
 

Private Attributes

Anope::string type
 
Anope::string name
 

Additional Inherited Members

- Protected Attributes inherited from Reference< T >
T * ref
 
- Protected Attributes inherited from ReferenceBase
bool invalid
 

Detailed Description

template<typename T>
class ServiceReference< T >

Like Reference, but used to refer to Services.

Definition at line 120 of file service.h.

Constructor & Destructor Documentation

template<typename T>
ServiceReference< T >::ServiceReference ( )
inline

Definition at line 126 of file service.h.

template<typename T>
ServiceReference< T >::ServiceReference ( const Anope::string t,
const Anope::string n 
)
inline

Definition at line 128 of file service.h.

Member Function Documentation

template<typename T>
ServiceReference< T >::operator bool ( )
inlinevirtual

Reimplemented from Reference< T >.

Definition at line 138 of file service.h.

template<typename T>
void ServiceReference< T >::operator= ( const Anope::string n)
inline

Definition at line 132 of file service.h.

Field Documentation

template<typename T>
Anope::string ServiceReference< T >::name
private

Definition at line 123 of file service.h.

Referenced by NSIdentifyLDAP::OnNickRegister().

template<typename T>
Anope::string ServiceReference< T >::type
private

Definition at line 122 of file service.h.


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