TrinityCore
GridReference< OBJECT > Class Template Reference

#include <GridReference.h>

+ Inheritance diagram for GridReference< OBJECT >:

Public Member Functions

 GridReference ()=default
 
 ~GridReference ()
 
- Public Member Functions inherited from Reference< GridRefManager< OBJECT >, OBJECT, GridReference< OBJECT > >
 Reference ()
 
 ~Reference ()
 
void link (GridRefManager< OBJECT > *toObj, OBJECT *fromObj)
 
void unlink ()
 
void invalidate ()
 
bool isValid () const
 
GridReference< OBJECT > * next ()
 
GridReference< OBJECT > const * next () const
 
GridReference< OBJECT > * prev ()
 
GridReference< OBJECT > const * prev () const
 
GridReference< OBJECT > * nocheck_next ()
 
GridReference< OBJECT > const * nocheck_next () const
 
GridReference< OBJECT > * nocheck_prev ()
 
GridReference< OBJECT > const * nocheck_prev () const
 
GridRefManager< OBJECT > * operator-> () const
 
GridRefManager< OBJECT > * getTarget () const
 
OBJECT * GetSource () const
 
- Public Member Functions inherited from LinkedListElement
 LinkedListElement ()
 
bool hasNext () const
 
bool hasPrev () const
 
bool isInList () const
 
LinkedListElementnext ()
 
LinkedListElement const * next () const
 
LinkedListElementprev ()
 
LinkedListElement const * prev () const
 
LinkedListElementnocheck_next ()
 
LinkedListElement const * nocheck_next () const
 
LinkedListElementnocheck_prev ()
 
LinkedListElement const * nocheck_prev () const
 
void delink ()
 
void insertBefore (LinkedListElement *pElem)
 
void insertAfter (LinkedListElement *pElem)
 

Protected Member Functions

void targetObjectBuildLink ()
 
void targetObjectDestroyLink ()
 
void sourceObjectDestroyLink ()
 
- Protected Member Functions inherited from LinkedListElement
virtual ~LinkedListElement ()
 

Protected Attributes

friend Reference< GridRefManager< OBJECT >, OBJECT, GridReference< OBJECT > >
 

Detailed Description

template<class OBJECT>
class GridReference< OBJECT >

Definition at line 27 of file GridReference.h.

Constructor & Destructor Documentation

◆ GridReference()

template<class OBJECT >
GridReference< OBJECT >::GridReference ( )
default

◆ ~GridReference()

template<class OBJECT >
GridReference< OBJECT >::~GridReference ( )
inline

Definition at line 49 of file GridReference.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ sourceObjectDestroyLink()

template<class OBJECT >
void GridReference< OBJECT >::sourceObjectDestroyLink ( )
inlineprotected

Definition at line 42 of file GridReference.h.

+ Here is the call graph for this function:

◆ targetObjectBuildLink()

template<class OBJECT >
void GridReference< OBJECT >::targetObjectBuildLink ( )
inlineprotected

Definition at line 31 of file GridReference.h.

+ Here is the call graph for this function:

◆ targetObjectDestroyLink()

template<class OBJECT >
void GridReference< OBJECT >::targetObjectDestroyLink ( )
inlineprotected

Definition at line 37 of file GridReference.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ Reference< GridRefManager< OBJECT >, OBJECT, GridReference< OBJECT > >

template<class OBJECT >
friend GridReference< OBJECT >::Reference< GridRefManager< OBJECT >, OBJECT, GridReference< OBJECT > >
protected

Definition at line 30 of file GridReference.h.


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