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

Factory class for creating a begin/end pair for any const iterator. 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
 
IteratorType cbegin () const
 
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.

Definition at line 87 of file HashTableCore.H.

Constructor & Destructor Documentation

◆ const_iterator_pair() [1/2]

const_iterator_pair ( )
inline

Default construct an empty pair.

Definition at line 25 of file HashTableCoreI.H.

◆ const_iterator_pair() [2/2]

const_iterator_pair ( const TableType &  tbl)
inline

Construct begin/end pair for table.

Definition at line 35 of file HashTableCoreI.H.

Member Function Documentation

◆ empty()

bool empty ( ) const
inlinenoexcept

Definition at line 104 of file HashTableCore.H.

◆ size()

label size ( ) const
inlinenoexcept

Definition at line 105 of file HashTableCore.H.

◆ begin()

IteratorType begin ( ) const
inline

Definition at line 49 of file HashTableCoreI.H.

◆ cbegin()

IteratorType cbegin ( ) const
inline

Definition at line 60 of file HashTableCoreI.H.

◆ end()

IteratorType end ( ) const
inline

Definition at line 71 of file HashTableCoreI.H.

◆ cend()

IteratorType cend ( ) const
inline

Definition at line 82 of file HashTableCoreI.H.


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