LibSWOC++ 1.5.14
Solid Wall of C++
Loading...
Searching...
No Matches
swoc::Lexicon< E >::name_iterator Class Reference
Inheritance diagram for swoc::Lexicon< E >::name_iterator:
Inheritance graph
Collaboration diagram for swoc::Lexicon< E >::name_iterator:
Collaboration graph

Public Member Functions

 name_iterator ()=default
 Default constructor.
 
 name_iterator (self_type const &that)=default
 Copy constructor.
 
 name_iterator (self_type &&that)=default
 Move constructor.
 
self_typeoperator= (self_type const &that)=default
 Assignment.
 
self_typeoperator++ ()
 Increment.
 
self_type operator++ (int)
 Increment.
 
self_typeoperator-- ()
 Decrement.
 
self_type operator-- (int)
 Decrement.
 
- Public Member Functions inherited from swoc::Lexicon< E >::base_iterator
 base_iterator ()=default
 Default constructor (invalid iterator)
 
reference operator* () const
 Dereference.
 
pointer operator-> () const
 Dereference.
 
bool operator== (self_type const &that) const
 Equality.
 
bool operator!= (self_type const &that) const
 Inequality.
 

Protected Member Functions

 name_iterator (const Item *item)
 
- Protected Member Functions inherited from swoc::Lexicon< E >::base_iterator
 base_iterator (Item const *item)
 

Protected Attributes

friend Lexicon
 Internal constructor.
 
- Protected Attributes inherited from swoc::Lexicon< E >::base_iterator
const Item_item {nullptr}
 Current location in the container.
 

Additional Inherited Members

- Public Types inherited from swoc::Lexicon< E >::base_iterator
using value_type = const Pair
 Iteration value.
 
using pointer = value_type *
 Pointer to iteration value.
 
using reference = value_type &
 Reference to iteration value.
 
using difference_type = ptrdiff_t
 Type of difference between iterators.
 
using iterator_category = std::bidirectional_iterator_tag
 

Detailed Description

template<typename E>
class swoc::Lexicon< E >::name_iterator

Definition at line 327 of file Lexicon.h.

Constructor & Destructor Documentation

◆ name_iterator()

template<typename E>
swoc::Lexicon< E >::name_iterator::name_iterator ( const Item * item)
inlineprotected

Definition at line 358 of file Lexicon.h.

Member Function Documentation

◆ operator++() [1/2]

template<typename E>
auto swoc::Lexicon< E >::name_iterator::operator++ ( )

Increment.

Definition at line 788 of file Lexicon.h.

◆ operator++() [2/2]

template<typename E>
auto swoc::Lexicon< E >::name_iterator::operator++ ( int )

Increment.

Definition at line 795 of file Lexicon.h.

◆ operator--() [1/2]

template<typename E>
auto swoc::Lexicon< E >::name_iterator::operator-- ( )

Decrement.

Definition at line 803 of file Lexicon.h.

◆ operator--() [2/2]

template<typename E>
auto swoc::Lexicon< E >::name_iterator::operator-- ( int )

Decrement.

Definition at line 810 of file Lexicon.h.

Member Data Documentation

◆ Lexicon

template<typename E>
friend swoc::Lexicon< E >::name_iterator::Lexicon
protected

Internal constructor.

Definition at line 360 of file Lexicon.h.


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