TrinityCore
LinkedListHead::Iterator< _Ty > Class Template Reference

#include <LinkedList.h>

Public Types

typedef std::bidirectional_iterator_tag iterator_category
 
typedef _Ty value_type
 
typedef ptrdiff_t difference_type
 
typedef ptrdiff_t distance_type
 
typedef _Ty * pointer
 
typedef _Ty const * const_pointer
 
typedef _Ty & reference
 
typedef _Ty const & const_reference
 

Public Member Functions

 Iterator ()
 
 Iterator (pointer _Pnode)
 
Iteratoroperator= (const_pointer const &_Right)
 
reference operator* ()
 
pointer operator-> ()
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
Iteratoroperator-- ()
 
Iterator operator-- (int)
 
bool operator== (Iterator const &_Right) const =default
 

Protected Attributes

pointer _Ptr
 

Detailed Description

template<class _Ty>
class LinkedListHead::Iterator< _Ty >

Definition at line 149 of file LinkedList.h.

Member Typedef Documentation

◆ const_pointer

template<class _Ty >
typedef _Ty const* LinkedListHead::Iterator< _Ty >::const_pointer

Definition at line 157 of file LinkedList.h.

◆ const_reference

template<class _Ty >
typedef _Ty const& LinkedListHead::Iterator< _Ty >::const_reference

Definition at line 159 of file LinkedList.h.

◆ difference_type

template<class _Ty >
typedef ptrdiff_t LinkedListHead::Iterator< _Ty >::difference_type

Definition at line 154 of file LinkedList.h.

◆ distance_type

template<class _Ty >
typedef ptrdiff_t LinkedListHead::Iterator< _Ty >::distance_type

Definition at line 155 of file LinkedList.h.

◆ iterator_category

template<class _Ty >
typedef std::bidirectional_iterator_tag LinkedListHead::Iterator< _Ty >::iterator_category

Definition at line 152 of file LinkedList.h.

◆ pointer

template<class _Ty >
typedef _Ty* LinkedListHead::Iterator< _Ty >::pointer

Definition at line 156 of file LinkedList.h.

◆ reference

template<class _Ty >
typedef _Ty& LinkedListHead::Iterator< _Ty >::reference

Definition at line 158 of file LinkedList.h.

◆ value_type

template<class _Ty >
typedef _Ty LinkedListHead::Iterator< _Ty >::value_type

Definition at line 153 of file LinkedList.h.

Constructor & Destructor Documentation

◆ Iterator() [1/2]

template<class _Ty >
LinkedListHead::Iterator< _Ty >::Iterator ( )
inline

Definition at line 161 of file LinkedList.h.

◆ Iterator() [2/2]

template<class _Ty >
LinkedListHead::Iterator< _Ty >::Iterator ( pointer  _Pnode)
inlineexplicit

Definition at line 165 of file LinkedList.h.

Member Function Documentation

◆ operator*()

template<class _Ty >
reference LinkedListHead::Iterator< _Ty >::operator* ( )
inline

Definition at line 175 of file LinkedList.h.

◆ operator++() [1/2]

template<class _Ty >
Iterator & LinkedListHead::Iterator< _Ty >::operator++ ( )
inline

Definition at line 185 of file LinkedList.h.

◆ operator++() [2/2]

template<class _Ty >
Iterator LinkedListHead::Iterator< _Ty >::operator++ ( int  )
inline

Definition at line 191 of file LinkedList.h.

◆ operator--() [1/2]

template<class _Ty >
Iterator & LinkedListHead::Iterator< _Ty >::operator-- ( )
inline

Definition at line 198 of file LinkedList.h.

◆ operator--() [2/2]

template<class _Ty >
Iterator LinkedListHead::Iterator< _Ty >::operator-- ( int  )
inline

Definition at line 204 of file LinkedList.h.

◆ operator->()

template<class _Ty >
pointer LinkedListHead::Iterator< _Ty >::operator-> ( )
inline

Definition at line 180 of file LinkedList.h.

◆ operator=()

template<class _Ty >
Iterator & LinkedListHead::Iterator< _Ty >::operator= ( const_pointer const &  _Right)
inline

Definition at line 169 of file LinkedList.h.

◆ operator==()

template<class _Ty >
bool LinkedListHead::Iterator< _Ty >::operator== ( Iterator< _Ty > const &  _Right) const
default

Member Data Documentation

◆ _Ptr

template<class _Ty >
pointer LinkedListHead::Iterator< _Ty >::_Ptr
protected

Definition at line 215 of file LinkedList.h.


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