CatapultServer
v0.5.0.1 (Elephant)
|
A view that provides iteration support to a base set. More...
Public Member Functions | |
BaseSetIterationView (const SetType &set) | |
Creates a view around set. More... | |
auto | findIterator (const KeyType &key) const |
Returns an iterator that points to the element with key if it is contained in this set, or end() otherwise. More... | |
auto | begin () const |
Returns a const iterator to the first element of the underlying set. More... | |
auto | end () const |
Returns a const iterator to the element following the last element of the underlying set. More... | |
Private Types | |
using | SetType = typename TSetTraits::MemorySetType |
using | KeyType = typename TSetTraits::KeyType |
Private Attributes | |
const SetType & | m_set |
A view that provides iteration support to a base set.
|
private |
|
private |
|
inlineexplicit |
Creates a view around set.
|
inline |
Returns a const iterator to the first element of the underlying set.
|
inline |
Returns a const iterator to the element following the last element of the underlying set.
|
inline |
Returns an iterator that points to the element with key if it is contained in this set, or end() otherwise.
|
private |