Loading...
Searching...
No Matches
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...

#include <HashTableCore.H>

Public Member Functions

 const_iterator_pair ()
 Default construct an empty pair.
 const_iterator_pair (const TableType &tbl)
 Construct begin/end pair for table.
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 91 of file HashTableCore.H.

Constructor & Destructor Documentation

◆ const_iterator_pair() [1/2]

template<class IteratorType, class TableType>
const_iterator_pair ( )
inline

Default construct an empty pair.

Definition at line 101 of file HashTableCore.H.

◆ const_iterator_pair() [2/2]

template<class IteratorType, class TableType>
const_iterator_pair ( const TableType & tbl)
inline

Construct begin/end pair for table.

Definition at line 110 of file HashTableCore.H.

References begin(), and size().

Here is the call graph for this function:

Member Function Documentation

◆ empty()

template<class IteratorType, class TableType>
bool empty ( ) const
inlinenoexcept

Definition at line 116 of file HashTableCore.H.

References Foam::noexcept.

◆ size()

template<class IteratorType, class TableType>
label size ( ) const
inlinenoexcept

Definition at line 117 of file HashTableCore.H.

References Foam::noexcept.

Referenced by const_iterator_pair().

Here is the caller graph for this function:

◆ begin()

template<class IteratorType, class TableType>
IteratorType begin ( ) const
inlinenoexcept

Definition at line 119 of file HashTableCore.H.

References Foam::noexcept.

Referenced by const_iterator_pair().

Here is the caller graph for this function:

◆ cbegin()

template<class IteratorType, class TableType>
IteratorType cbegin ( ) const
inlinenoexcept

Definition at line 120 of file HashTableCore.H.

References Foam::noexcept.

◆ end()

template<class IteratorType, class TableType>
IteratorType end ( ) const
inline

Definition at line 122 of file HashTableCore.H.

◆ cend()

template<class IteratorType, class TableType>
IteratorType cend ( ) const
inline

Definition at line 123 of file HashTableCore.H.


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