TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
MapReference Class Reference

#include <MapReference.h>

Public Member Functions

 MapReference ()
 
 ~MapReference ()
 
MapReferencenext ()
 
MapReference constnext () const
 
MapReferencenockeck_prev ()
 
MapReference constnocheck_prev () const
 
- Public Member Functions inherited from Reference< Map, Player >
 Reference ()
 
virtual ~Reference ()
 
void link (Map *toObj, Player *fromObj)
 
void unlink ()
 
void invalidate ()
 
bool isValid () const
 
Reference< Map, Player > * next ()
 
Reference< Map, Player > constnext () const
 
Reference< Map, Player > * prev ()
 
Reference< Map, Player > constprev () const
 
Reference< Map, Player > * nocheck_next ()
 
Reference< Map, Player > constnocheck_next () const
 
Reference< Map, Player > * nocheck_prev ()
 
Reference< Map, Player > constnocheck_prev () const
 
Mapoperator-> () const
 
MapgetTarget () const
 
PlayerGetSource () const
 
- Public Member Functions inherited from LinkedListElement
 LinkedListElement ()
 
virtual ~LinkedListElement ()
 
bool hasNext () const
 
bool hasPrev () const
 
bool isInList () const
 
LinkedListElementnext ()
 
LinkedListElement constnext () const
 
LinkedListElementprev ()
 
LinkedListElement constprev () const
 
LinkedListElementnocheck_next ()
 
LinkedListElement constnocheck_next () const
 
LinkedListElementnocheck_prev ()
 
LinkedListElement constnocheck_prev () const
 
void delink ()
 
void insertBefore (LinkedListElement *pElem)
 
void insertAfter (LinkedListElement *pElem)
 

Protected Member Functions

void targetObjectBuildLink () override
 
void targetObjectDestroyLink () override
 
void sourceObjectDestroyLink () override
 

Constructor & Destructor Documentation

MapReference::MapReference ( )
inline
MapReference::~MapReference ( )
inline
46 { unlink(); }
void unlink()
Definition: Reference.h:61

+ Here is the call graph for this function:

Member Function Documentation

MapReference* MapReference::next ( )
inline
Reference< TO, FROM > * next()
Definition: Reference.h:83
Definition: MapReference.h:25

+ Here is the call graph for this function:

MapReference const* MapReference::next ( ) const
inline
48 { return (MapReference const*)Reference<Map, Player>::next(); }
Reference< TO, FROM > * next()
Definition: Reference.h:83
Definition: MapReference.h:25

+ Here is the call graph for this function:

MapReference const* MapReference::nocheck_prev ( ) const
inline
Reference< TO, FROM > * nocheck_prev()
Definition: Reference.h:90
Definition: MapReference.h:25

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

MapReference* MapReference::nockeck_prev ( )
inline
Reference< TO, FROM > * nocheck_prev()
Definition: Reference.h:90
Definition: MapReference.h:25

+ Here is the call graph for this function:

void MapReference::sourceObjectDestroyLink ( )
inlineoverrideprotectedvirtual

Implements Reference< Map, Player >.

40  {
41  // called from invalidate()
43  }
void decSize()
Definition: LinkedList.h:138
MapRefManager m_mapRefManager
Definition: Map.h:647
Map * getTarget() const
Definition: Reference.h:94

+ Here is the call graph for this function:

void MapReference::targetObjectBuildLink ( )
inlineoverrideprotectedvirtual

Implements Reference< Map, Player >.

29  {
30  // called from link()
33  }
void incSize()
Definition: LinkedList.h:137
void insertFirst(LinkedListElement *pElem)
Definition: LinkedList.h:110
MapRefManager m_mapRefManager
Definition: Map.h:647
Map * getTarget() const
Definition: Reference.h:94

+ Here is the call graph for this function:

void MapReference::targetObjectDestroyLink ( )
inlineoverrideprotectedvirtual

Implements Reference< Map, Player >.

35  {
36  // called from unlink()
38  }
void decSize()
Definition: LinkedList.h:138
bool isValid() const
Definition: Reference.h:78
MapRefManager m_mapRefManager
Definition: Map.h:647
Map * getTarget() const
Definition: Reference.h:94

+ Here is the call graph for this function:


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