HashTableCore::const_iterator_pair< IteratorType, TableType > Class Template Reference

Factory class for creating a begin/end pair for any const iterator type, normally associated with a HashTable. More...

Public Member Functions

 const_iterator_pair ()
 Default construct an empty pair. More...
 
 const_iterator_pair (const TableType &tbl)
 Construct begin/end pair for table. More...
 
bool empty () const noexcept
 
label size () const noexcept
 
IteratorType begin () const noexcept
 
IteratorType cbegin () const noexcept
 
IteratorType end () const
 
IteratorType cend () const
 

Detailed Description

template<class IteratorType, class TableType>
class Foam::HashTableCore::const_iterator_pair< IteratorType, TableType >

Factory class for creating a begin/end pair for any const iterator type, normally associated with a HashTable.

Uses begin iterator and size for bookkeeping.

Definition at line 89 of file HashTableCore.H.

Constructor & Destructor Documentation

◆ const_iterator_pair() [1/2]

const_iterator_pair ( )
inline

Default construct an empty pair.

Definition at line 99 of file HashTableCore.H.

◆ const_iterator_pair() [2/2]

const_iterator_pair ( const TableType &  tbl)
inline

Construct begin/end pair for table.

Definition at line 108 of file HashTableCore.H.

Member Function Documentation

◆ empty()

bool empty ( ) const
inlinenoexcept

Definition at line 114 of file HashTableCore.H.

◆ size()

label size ( ) const
inlinenoexcept

Definition at line 115 of file HashTableCore.H.

◆ begin()

IteratorType begin ( ) const
inlinenoexcept

Definition at line 117 of file HashTableCore.H.

◆ cbegin()

IteratorType cbegin ( ) const
inlinenoexcept

Definition at line 118 of file HashTableCore.H.

◆ end()

IteratorType end ( ) const
inline

Definition at line 120 of file HashTableCore.H.

◆ cend()

IteratorType cend ( ) const
inline

Definition at line 121 of file HashTableCore.H.


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