TrinityCore
ThreatManager::ThreatListIterator Class Reference

#include <ThreatManager.h>

Public Member Functions

ThreatReference const * operator* () const
 
ThreatReference const * operator-> () const
 
ThreatListIteratoroperator++ ()
 
bool operator== (ThreatListIterator const &o) const
 
bool operator!= (ThreatListIterator const &o) const
 
bool operator== (std::nullptr_t) const
 
bool operator!= (std::nullptr_t) const
 

Private Member Functions

 ThreatListIterator (std::function< ThreatReference const *()> &&generator)
 

Private Attributes

std::function< ThreatReference const *()> _generator
 
ThreatReference const * _current
 
friend ThreatManager
 

Detailed Description

Definition at line 232 of file ThreatManager.h.

Constructor & Destructor Documentation

◆ ThreatListIterator()

ThreatManager::ThreatListIterator::ThreatListIterator ( std::function< ThreatReference const *()> &&  generator)
inlineexplicitprivate

Definition at line 239 of file ThreatManager.h.

Member Function Documentation

◆ operator!=() [1/2]

bool ThreatManager::ThreatListIterator::operator!= ( std::nullptr_t  ) const
inline

Definition at line 249 of file ThreatManager.h.

◆ operator!=() [2/2]

bool ThreatManager::ThreatListIterator::operator!= ( ThreatListIterator const &  o) const
inline

Definition at line 247 of file ThreatManager.h.

◆ operator*()

ThreatReference const * ThreatManager::ThreatListIterator::operator* ( ) const
inline

Definition at line 243 of file ThreatManager.h.

◆ operator++()

ThreatListIterator & ThreatManager::ThreatListIterator::operator++ ( )
inline

Definition at line 245 of file ThreatManager.h.

◆ operator->()

ThreatReference const * ThreatManager::ThreatListIterator::operator-> ( ) const
inline

Definition at line 244 of file ThreatManager.h.

◆ operator==() [1/2]

bool ThreatManager::ThreatListIterator::operator== ( std::nullptr_t  ) const
inline

Definition at line 248 of file ThreatManager.h.

◆ operator==() [2/2]

bool ThreatManager::ThreatListIterator::operator== ( ThreatListIterator const &  o) const
inline

Definition at line 246 of file ThreatManager.h.

Member Data Documentation

◆ _current

ThreatReference const* ThreatManager::ThreatListIterator::_current
private

Definition at line 236 of file ThreatManager.h.

◆ _generator

std::function<ThreatReference const* ()> ThreatManager::ThreatListIterator::_generator
private

Definition at line 235 of file ThreatManager.h.

◆ ThreatManager

friend ThreatManager::ThreatListIterator::ThreatManager
private

Definition at line 238 of file ThreatManager.h.


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