TrinityCore
Trinity::Impl::ChatCommands::FilteredCommandListIterator Struct Reference

Public Member Functions

 FilteredCommandListIterator (ChatSubCommandMap const &map, ChatHandler const &handler, std::string_view token)
 
decltype(auto) operator* () const
 
decltype(auto) operator-> () const
 
FilteredCommandListIteratoroperator++ ()
 
 operator bool () const
 
bool operator! () const
 

Private Member Functions

void _skip ()
 

Private Attributes

ChatHandler const & _handler
 
std::string_view const _token
 
ChatSubCommandMap::const_iterator _it
 
ChatSubCommandMap::const_iterator _end
 

Detailed Description

Definition at line 206 of file ChatCommand.cpp.

Constructor & Destructor Documentation

◆ FilteredCommandListIterator()

Trinity::Impl::ChatCommands::FilteredCommandListIterator::FilteredCommandListIterator ( ChatSubCommandMap const &  map,
ChatHandler const &  handler,
std::string_view  token 
)
inline

Definition at line 209 of file ChatCommand.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ _skip()

void Trinity::Impl::ChatCommands::FilteredCommandListIterator::_skip ( )
inlineprivate

Definition at line 227 of file ChatCommand.cpp.

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

◆ operator bool()

Trinity::Impl::ChatCommands::FilteredCommandListIterator::operator bool ( ) const
inlineexplicit

Definition at line 223 of file ChatCommand.cpp.

◆ operator!()

bool Trinity::Impl::ChatCommands::FilteredCommandListIterator::operator! ( ) const
inline

Definition at line 224 of file ChatCommand.cpp.

◆ operator*()

decltype(auto) Trinity::Impl::ChatCommands::FilteredCommandListIterator::operator* ( ) const
inline

Definition at line 215 of file ChatCommand.cpp.

◆ operator++()

FilteredCommandListIterator & Trinity::Impl::ChatCommands::FilteredCommandListIterator::operator++ ( )
inline

Definition at line 217 of file ChatCommand.cpp.

+ Here is the call graph for this function:

◆ operator->()

decltype(auto) Trinity::Impl::ChatCommands::FilteredCommandListIterator::operator-> ( ) const
inline

Definition at line 216 of file ChatCommand.cpp.

Member Data Documentation

◆ _end

ChatSubCommandMap::const_iterator Trinity::Impl::ChatCommands::FilteredCommandListIterator::_end
private

Definition at line 240 of file ChatCommand.cpp.

◆ _handler

ChatHandler const& Trinity::Impl::ChatCommands::FilteredCommandListIterator::_handler
private

Definition at line 238 of file ChatCommand.cpp.

◆ _it

ChatSubCommandMap::const_iterator Trinity::Impl::ChatCommands::FilteredCommandListIterator::_it
private

Definition at line 240 of file ChatCommand.cpp.

◆ _token

std::string_view const Trinity::Impl::ChatCommands::FilteredCommandListIterator::_token
private

Definition at line 239 of file ChatCommand.cpp.


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