TrinityCore
Loading...
Searching...
No Matches
LinkedListHead Class Reference

#include <LinkedList.h>

+ Inheritance diagram for LinkedListHead:

Classes

class  Iterator
 

Public Member Functions

 LinkedListHead ()
 
bool empty () const
 
void push_front (LinkedListElement *pElem)
 
void push_back (LinkedListElement *pElem)
 
void pop_front ()
 
void pop_back ()
 
uint32 size () const
 
void incSize ()
 
void decSize ()
 

Protected Member Functions

template<typename T >
T * front_impl ()
 
template<typename T >
T const * front_impl () const
 
template<typename T >
T * back_impl ()
 
template<typename T >
T const * back_impl () const
 
template<typename T >
Iterator< T > begin_impl ()
 
template<typename T >
Iterator< T const > begin_impl () const
 
template<typename T >
Iterator< T > end_impl ()
 
template<typename T >
Iterator< T const > end_impl () const
 
void splice_impl (LinkedListElement *where, LinkedListElement *first, LinkedListElement *last)
 
template<typename T >
void splice_impl (Iterator< T > where, Iterator< T > first, Iterator< T > last)
 
 ~LinkedListHead ()
 

Private Member Functions

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

Private Attributes

LinkedListElement iHeader
 
uint32 iSize
 

Detailed Description

Definition at line 92 of file LinkedList.h.

Constructor & Destructor Documentation

◆ LinkedListHead() [1/3]

LinkedListHead::LinkedListHead ( )
inline

Definition at line 99 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 264 of file LinkedList.h.

Member Function Documentation

◆ back_impl() [1/2]

template<typename T >
T * LinkedListHead::back_impl ( )
inlineprotected

Definition at line 221 of file LinkedList.h.

◆ back_impl() [2/2]

template<typename T >
T const * LinkedListHead::back_impl ( ) const
inlineprotected

Definition at line 224 of file LinkedList.h.

◆ begin_impl() [1/2]

template<typename T >
Iterator< T > LinkedListHead::begin_impl ( )
inlineprotected

Definition at line 227 of file LinkedList.h.

◆ begin_impl() [2/2]

template<typename T >
Iterator< T const > LinkedListHead::begin_impl ( ) const
inlineprotected

Definition at line 230 of file LinkedList.h.

◆ decSize()

void LinkedListHead::decSize ( )
inline

Definition at line 144 of file LinkedList.h.

+ Here is the caller graph for this function:

◆ empty()

bool LinkedListHead::empty ( ) const
inline

Definition at line 107 of file LinkedList.h.

+ Here is the caller graph for this function:

◆ end_impl() [1/2]

template<typename T >
Iterator< T > LinkedListHead::end_impl ( )
inlineprotected

Definition at line 233 of file LinkedList.h.

◆ end_impl() [2/2]

template<typename T >
Iterator< T const > LinkedListHead::end_impl ( ) const
inlineprotected

Definition at line 236 of file LinkedList.h.

◆ front_impl() [1/2]

template<typename T >
T * LinkedListHead::front_impl ( )
inlineprotected

Definition at line 215 of file LinkedList.h.

◆ front_impl() [2/2]

template<typename T >
T const * LinkedListHead::front_impl ( ) const
inlineprotected

Definition at line 218 of file LinkedList.h.

◆ incSize()

void LinkedListHead::incSize ( )
inline

Definition at line 143 of file LinkedList.h.

+ 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

◆ pop_back()

void LinkedListHead::pop_back ( )
inline

Definition at line 124 of file LinkedList.h.

◆ pop_front()

void LinkedListHead::pop_front ( )
inline

Definition at line 119 of file LinkedList.h.

◆ push_back()

void LinkedListHead::push_back ( LinkedListElement pElem)
inline

Definition at line 114 of file LinkedList.h.

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

◆ push_front()

void LinkedListHead::push_front ( LinkedListElement pElem)
inline

Definition at line 109 of file LinkedList.h.

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

◆ size()

uint32 LinkedListHead::size ( ) const
inline

Definition at line 129 of file LinkedList.h.

+ Here is the caller graph for this function:

◆ splice_impl() [1/2]

template<typename T >
void LinkedListHead::splice_impl ( Iterator< T >  where,
Iterator< T >  first,
Iterator< T >  last 
)
inlineprotected

Definition at line 252 of file LinkedList.h.

+ Here is the call graph for this function:

◆ splice_impl() [2/2]

void LinkedListHead::splice_impl ( LinkedListElement where,
LinkedListElement first,
LinkedListElement last 
)
inlineprotected

Definition at line 238 of file LinkedList.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ iHeader

LinkedListElement LinkedListHead::iHeader
private

Definition at line 95 of file LinkedList.h.

◆ iSize

uint32 LinkedListHead::iSize
private

Definition at line 96 of file LinkedList.h.


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