TrinityCore
LinkedListHead Class Reference

#include <LinkedList.h>

+ Inheritance diagram for LinkedListHead:

Classes

class  Iterator
 

Public Types

typedef Iterator< LinkedListElementiterator
 

Public Member Functions

 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 ()
 

Protected Member Functions

 ~LinkedListHead ()
 

Private Member Functions

 LinkedListHead (LinkedListHead const &)=delete
 
 LinkedListHead (LinkedListHead &&)=delete
 
LinkedListHeadoperator= (LinkedListHead const &)=delete
 
LinkedListHeadoperator= (LinkedListHead &&)=delete
 

Private Attributes

LinkedListElement iFirst
 
LinkedListElement iLast
 
uint32 iSize
 

Detailed Description

Definition at line 94 of file LinkedList.h.

Member Typedef Documentation

◆ iterator

Definition at line 218 of file LinkedList.h.

Constructor & Destructor Documentation

◆ LinkedListHead() [1/3]

LinkedListHead::LinkedListHead ( )
inline

Definition at line 102 of file LinkedList.h.

◆ LinkedListHead() [2/3]

LinkedListHead::LinkedListHead ( LinkedListHead const &  )
privatedelete

◆ LinkedListHead() [3/3]

LinkedListHead::LinkedListHead ( LinkedListHead &&  )
privatedelete

◆ ~LinkedListHead()

LinkedListHead::~LinkedListHead ( )
inlineprotected

Definition at line 227 of file LinkedList.h.

Member Function Documentation

◆ decSize()

void LinkedListHead::decSize ( )
inline

Definition at line 146 of file LinkedList.h.

+ Here is the caller graph for this function:

◆ getFirst() [1/2]

LinkedListElement * LinkedListHead::getFirst ( )
inline

Definition at line 112 of file LinkedList.h.

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

◆ getFirst() [2/2]

LinkedListElement const * LinkedListHead::getFirst ( ) const
inline

Definition at line 113 of file LinkedList.h.

+ Here is the call graph for this function:

◆ getLast() [1/2]

LinkedListElement * LinkedListHead::getLast ( )
inline

Definition at line 115 of file LinkedList.h.

+ Here is the call graph for this function:

◆ getLast() [2/2]

LinkedListElement const * LinkedListHead::getLast ( ) const
inline

Definition at line 116 of file LinkedList.h.

+ Here is the call graph for this function:

◆ getSize()

uint32 LinkedListHead::getSize ( ) const
inline

Definition at line 128 of file LinkedList.h.

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

◆ incSize()

void LinkedListHead::incSize ( )
inline

Definition at line 145 of file LinkedList.h.

+ Here is the caller graph for this function:

◆ insertFirst()

void LinkedListHead::insertFirst ( LinkedListElement pElem)
inline

Definition at line 118 of file LinkedList.h.

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

◆ insertLast()

void LinkedListHead::insertLast ( LinkedListElement pElem)
inline

Definition at line 123 of file LinkedList.h.

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

◆ isEmpty()

bool LinkedListHead::isEmpty ( ) const
inline

Definition at line 110 of file LinkedList.h.

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

◆ operator=() [1/2]

LinkedListHead & LinkedListHead::operator= ( LinkedListHead &&  )
privatedelete

◆ operator=() [2/2]

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

Member Data Documentation

◆ iFirst

LinkedListElement LinkedListHead::iFirst
private

Definition at line 97 of file LinkedList.h.

◆ iLast

LinkedListElement LinkedListHead::iLast
private

Definition at line 98 of file LinkedList.h.

◆ iSize

uint32 LinkedListHead::iSize
private

Definition at line 99 of file LinkedList.h.


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