TrinityCore
QuestRelationResult::Iterator Struct Reference

#include <ObjectMgr.h>

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = QuestRelations::mapped_type
 
using pointer = value_type const *
 
using reference = value_type const &
 
using difference_type = void
 

Public Member Functions

 Iterator (QuestRelations::const_iterator it, QuestRelations::const_iterator end, bool onlyActive)
 
bool operator== (Iterator const &other) const
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
value_type operator* () const
 

Private Member Functions

void skip ()
 
void _skip ()
 

Private Attributes

QuestRelations::const_iterator _it
 
QuestRelations::const_iterator _end
 
bool _onlyActive
 

Detailed Description

Definition at line 565 of file ObjectMgr.h.

Member Typedef Documentation

◆ difference_type

Definition at line 572 of file ObjectMgr.h.

◆ iterator_category

using QuestRelationResult::Iterator::iterator_category = std::forward_iterator_tag

Definition at line 568 of file ObjectMgr.h.

◆ pointer

Definition at line 570 of file ObjectMgr.h.

◆ reference

Definition at line 571 of file ObjectMgr.h.

◆ value_type

using QuestRelationResult::Iterator::value_type = QuestRelations::mapped_type

Definition at line 569 of file ObjectMgr.h.

Constructor & Destructor Documentation

◆ Iterator()

QuestRelationResult::Iterator::Iterator ( QuestRelations::const_iterator  it,
QuestRelations::const_iterator  end,
bool  onlyActive 
)
inline

Definition at line 574 of file ObjectMgr.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ _skip()

void QuestRelationResult::Iterator::_skip ( )
private

Definition at line 8577 of file ObjectMgr.cpp.

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

◆ operator*()

value_type QuestRelationResult::Iterator::operator* ( ) const
inline

Definition at line 585 of file ObjectMgr.h.

◆ operator++() [1/2]

Iterator & QuestRelationResult::Iterator::operator++ ( )
inline

Definition at line 582 of file ObjectMgr.h.

+ Here is the call graph for this function:

◆ operator++() [2/2]

Iterator QuestRelationResult::Iterator::operator++ ( int  )
inline

Definition at line 583 of file ObjectMgr.h.

◆ operator==()

bool QuestRelationResult::Iterator::operator== ( Iterator const &  other) const
inline

Definition at line 580 of file ObjectMgr.h.

◆ skip()

void QuestRelationResult::Iterator::skip ( )
inlineprivate

Definition at line 588 of file ObjectMgr.h.

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

Member Data Documentation

◆ _end

QuestRelations::const_iterator QuestRelationResult::Iterator::_end
private

Definition at line 591 of file ObjectMgr.h.

◆ _it

QuestRelations::const_iterator QuestRelationResult::Iterator::_it
private

Definition at line 591 of file ObjectMgr.h.

◆ _onlyActive

bool QuestRelationResult::Iterator::_onlyActive
private

Definition at line 592 of file ObjectMgr.h.


The documentation for this struct was generated from the following files: