minimal iterator for read-only traversal of wordlist objects More...

#include <wordlist.h>

Collaboration diagram for WordlistIterator:

Public Types

using value_type = const char *
 

Public Member Functions

 WordlistIterator (const wordlist *const wl)
 
auto operator== (const WordlistIterator &rhs) const
 
auto operator!= (const WordlistIterator &rhs) const
 
value_type operator* () const
 
WordlistIteratoroperator++ ()
 

Private Attributes

const wordlistw
 

Detailed Description

Definition at line 20 of file wordlist.h.

Member Typedef Documentation

◆ value_type

using WordlistIterator::value_type = const char *

Definition at line 23 of file wordlist.h.

Constructor & Destructor Documentation

◆ WordlistIterator()

WordlistIterator::WordlistIterator ( const wordlist *const  wl)
inlineexplicit

Definition at line 25 of file wordlist.h.

Member Function Documentation

◆ operator!=()

auto WordlistIterator::operator!= ( const WordlistIterator rhs) const
inline

Definition at line 28 of file wordlist.h.

References w.

◆ operator*()

WordlistIterator::value_type WordlistIterator::operator* ( ) const
inline

Definition at line 100 of file wordlist.h.

References wordlist::key, and w.

◆ operator++()

WordlistIterator & WordlistIterator::operator++ ( )
inline

Definition at line 93 of file wordlist.h.

References wordlist::next, and w.

◆ operator==()

auto WordlistIterator::operator== ( const WordlistIterator rhs) const
inline

Definition at line 27 of file wordlist.h.

References w.

Member Data Documentation

◆ w

const wordlist* WordlistIterator::w
private

Definition at line 34 of file wordlist.h.

Referenced by operator!=(), operator*(), operator++(), and operator==().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors