TrinityCore
RefManager< ReferenceType > Class Template Reference

#include <RefManager.h>

+ Inheritance diagram for RefManager< ReferenceType >:

Public Types

typedef LinkedListHead::Iterator< ReferenceType > iterator
 
typedef LinkedListHead::Iterator< ReferenceType const > const_iterator
 
- Public Types inherited from LinkedListHead
typedef Iterator< LinkedListElementiterator
 

Public Member Functions

 RefManager ()
 
ReferenceType * getFirst ()
 
ReferenceType 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 ReferenceType>
class RefManager< ReferenceType >

Definition at line 25 of file RefManager.h.

Member Typedef Documentation

◆ const_iterator

template<class ReferenceType >
typedef LinkedListHead::Iterator<ReferenceType const> RefManager< ReferenceType >::const_iterator

Definition at line 29 of file RefManager.h.

◆ iterator

template<class ReferenceType >
typedef LinkedListHead::Iterator<ReferenceType> RefManager< ReferenceType >::iterator

Definition at line 28 of file RefManager.h.

Constructor & Destructor Documentation

◆ RefManager()

template<class ReferenceType >
RefManager< ReferenceType >::RefManager ( )
inline

Definition at line 30 of file RefManager.h.

◆ ~RefManager()

template<class ReferenceType >
virtual RefManager< ReferenceType >::~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 ReferenceType >
iterator RefManager< ReferenceType >::begin ( )
inline

Definition at line 36 of file RefManager.h.

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

◆ begin() [2/2]

template<class ReferenceType >
const_iterator RefManager< ReferenceType >::begin ( ) const
inline

Definition at line 39 of file RefManager.h.

+ Here is the call graph for this function:

◆ clearReferences()

template<class ReferenceType >
void RefManager< ReferenceType >::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 ReferenceType >
iterator RefManager< ReferenceType >::end ( )
inline

Definition at line 37 of file RefManager.h.

+ Here is the caller graph for this function:

◆ end() [2/2]

template<class ReferenceType >
const_iterator RefManager< ReferenceType >::end ( ) const
inline

Definition at line 40 of file RefManager.h.

◆ getFirst() [1/2]

template<class ReferenceType >
ReferenceType * RefManager< ReferenceType >::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 ReferenceType >
ReferenceType const * RefManager< ReferenceType >::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: