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...
 
label size () const noexcept
 
bool empty () 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 79 of file HashTableCore.H.

Constructor & Destructor Documentation

◆ const_iterator_pair() [1/2]

const_iterator_pair ( )
inline

Default construct an empty pair.

Definition at line 32 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 41 of file HashTableCoreI.H.

Member Function Documentation

◆ size()

label size ( ) const
inlinenoexcept

Definition at line 92 of file HashTableCore.H.

◆ empty()

bool empty ( ) const
inlinenoexcept

Definition at line 93 of file HashTableCore.H.

◆ begin()

IteratorType begin ( ) const
inline

Definition at line 56 of file HashTableCoreI.H.

◆ cbegin()

IteratorType cbegin ( ) const
inline

Definition at line 67 of file HashTableCoreI.H.

◆ end()

IteratorType end ( ) const
inline

Definition at line 78 of file HashTableCoreI.H.

◆ cend()

IteratorType cend ( ) const
inline

Definition at line 89 of file HashTableCoreI.H.


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