TrinityCore
RefManager< TO, FROM > Class Template Reference

#include <RefManager.h>

+ Inheritance diagram for RefManager< TO, FROM >:

Public Types

typedef LinkedListHead::Iterator< Reference< TO, FROM > > iterator
 
typedef LinkedListHead::Iterator< Reference< TO, FROM > const > const_iterator
 
- Public Types inherited from LinkedListHead
typedef Iterator< LinkedListElementiterator
 

Public Member Functions

 RefManager ()
 
Reference< TO, FROM > * getFirst ()
 
Reference< TO, FROM > const * getFirst () const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
virtual ~RefManager ()
 
void clearReferences ()
 
- Public Member Functions inherited from LinkedListHead
 LinkedListHead ()
 
bool isEmpty () const
 
LinkedListElementgetFirst ()
 
LinkedListElement const * getFirst () const
 
LinkedListElementgetLast ()
 
LinkedListElement const * getLast () const
 
void insertFirst (LinkedListElement *pElem)
 
void insertLast (LinkedListElement *pElem)
 
uint32 getSize () const
 
void incSize ()
 
void decSize ()
 

Additional Inherited Members

- Protected Member Functions inherited from LinkedListHead
 ~LinkedListHead ()
 

Detailed Description

template<class TO, class FROM>
class RefManager< TO, FROM >

Definition at line 25 of file RefManager.h.

Member Typedef Documentation

◆ const_iterator

template<class TO , class FROM >
typedef LinkedListHead::Iterator<Reference<TO, FROM> const> RefManager< TO, FROM >::const_iterator

Definition at line 29 of file RefManager.h.

◆ iterator

template<class TO , class FROM >
typedef LinkedListHead::Iterator<Reference<TO, FROM> > RefManager< TO, FROM >::iterator

Definition at line 28 of file RefManager.h.

Constructor & Destructor Documentation

◆ RefManager()

template<class TO , class FROM >
RefManager< TO, FROM >::RefManager ( )
inline

Definition at line 30 of file RefManager.h.

◆ ~RefManager()

template<class TO , class FROM >
virtual RefManager< TO, FROM >::~RefManager ( )
inlinevirtual

Definition at line 42 of file RefManager.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ begin() [1/2]

template<class TO , class FROM >
iterator RefManager< TO, FROM >::begin ( )
inline

Definition at line 36 of file RefManager.h.

+ Here is the call graph for this function:

◆ begin() [2/2]

template<class TO , class FROM >
const_iterator RefManager< TO, FROM >::begin ( ) const
inline

Definition at line 39 of file RefManager.h.

+ Here is the call graph for this function:

◆ clearReferences()

template<class TO , class FROM >
void RefManager< TO, FROM >::clearReferences ( )
inline

Definition at line 47 of file RefManager.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ end() [1/2]

template<class TO , class FROM >
iterator RefManager< TO, FROM >::end ( )
inline

Definition at line 37 of file RefManager.h.

◆ end() [2/2]

template<class TO , class FROM >
const_iterator RefManager< TO, FROM >::end ( ) const
inline

Definition at line 40 of file RefManager.h.

◆ getFirst() [1/2]

template<class TO , class FROM >
Reference< TO, FROM > * RefManager< TO, FROM >::getFirst ( )
inline

Definition at line 32 of file RefManager.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getFirst() [2/2]

template<class TO , class FROM >
Reference< TO, FROM > const * RefManager< TO, FROM >::getFirst ( ) const
inline

Definition at line 34 of file RefManager.h.

+ Here is the call graph for this function:

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