TrinityCore
LinkedListElement Class Reference

#include <LinkedList.h>

+ Inheritance diagram for LinkedListElement:

Public Member Functions

 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

virtual ~LinkedListElement ()
 

Private Member Functions

 LinkedListElement (LinkedListElement const &)=delete
 
 LinkedListElement (LinkedListElement &&)=delete
 
LinkedListElementoperator= (LinkedListElement const &)=delete
 
LinkedListElementoperator= (LinkedListElement &&)=delete
 

Private Attributes

LinkedListElementiNext
 
LinkedListElementiPrev
 

Friends

class LinkedListHead
 

Detailed Description

Definition at line 27 of file LinkedList.h.

Constructor & Destructor Documentation

◆ LinkedListElement() [1/3]

LinkedListElement::LinkedListElement ( )
inline

Definition at line 36 of file LinkedList.h.

◆ LinkedListElement() [2/3]

LinkedListElement::LinkedListElement ( LinkedListElement const &  )
privatedelete

◆ LinkedListElement() [3/3]

LinkedListElement::LinkedListElement ( LinkedListElement &&  )
privatedelete

◆ ~LinkedListElement()

virtual LinkedListElement::~LinkedListElement ( )
inlineprotectedvirtual

Definition at line 86 of file LinkedList.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ delink()

void LinkedListElement::delink ( )
inline

Definition at line 52 of file LinkedList.h.

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

◆ hasNext()

bool LinkedListElement::hasNext ( ) const
inline

Definition at line 38 of file LinkedList.h.

+ Here is the caller graph for this function:

◆ hasPrev()

bool LinkedListElement::hasPrev ( ) const
inline

Definition at line 39 of file LinkedList.h.

+ Here is the caller graph for this function:

◆ insertAfter()

void LinkedListElement::insertAfter ( LinkedListElement pElem)
inline

Definition at line 71 of file LinkedList.h.

+ Here is the caller graph for this function:

◆ insertBefore()

void LinkedListElement::insertBefore ( LinkedListElement pElem)
inline

Definition at line 63 of file LinkedList.h.

+ Here is the caller graph for this function:

◆ isInList()

bool LinkedListElement::isInList ( ) const
inline

Definition at line 40 of file LinkedList.h.

+ Here is the caller graph for this function:

◆ next() [1/2]

LinkedListElement * LinkedListElement::next ( )
inline

Definition at line 42 of file LinkedList.h.

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

◆ next() [2/2]

LinkedListElement const * LinkedListElement::next ( ) const
inline

Definition at line 43 of file LinkedList.h.

+ Here is the call graph for this function:

◆ nocheck_next() [1/2]

LinkedListElement * LinkedListElement::nocheck_next ( )
inline

Definition at line 47 of file LinkedList.h.

+ Here is the caller graph for this function:

◆ nocheck_next() [2/2]

LinkedListElement const * LinkedListElement::nocheck_next ( ) const
inline

Definition at line 48 of file LinkedList.h.

◆ nocheck_prev() [1/2]

LinkedListElement * LinkedListElement::nocheck_prev ( )
inline

Definition at line 49 of file LinkedList.h.

+ Here is the caller graph for this function:

◆ nocheck_prev() [2/2]

LinkedListElement const * LinkedListElement::nocheck_prev ( ) const
inline

Definition at line 50 of file LinkedList.h.

◆ operator=() [1/2]

LinkedListElement & LinkedListElement::operator= ( LinkedListElement &&  )
privatedelete

◆ operator=() [2/2]

LinkedListElement & LinkedListElement::operator= ( LinkedListElement const &  )
privatedelete

◆ prev() [1/2]

LinkedListElement * LinkedListElement::prev ( )
inline

Definition at line 44 of file LinkedList.h.

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

◆ prev() [2/2]

LinkedListElement const * LinkedListElement::prev ( ) const
inline

Definition at line 45 of file LinkedList.h.

+ Here is the call graph for this function:

Friends And Related Function Documentation

◆ LinkedListHead

friend class LinkedListHead
friend

Definition at line 30 of file LinkedList.h.

Member Data Documentation

◆ iNext

LinkedListElement* LinkedListElement::iNext
private

Definition at line 32 of file LinkedList.h.

◆ iPrev

LinkedListElement* LinkedListElement::iPrev
private

Definition at line 33 of file LinkedList.h.


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