UMPIRE
Umpire: resource management and provision
umpire::util::AllocationMap::ConstIterator Class Reference

#include </home/docs/checkouts/readthedocs.org/user_builds/umpire/checkouts/develop/src/umpire/util/AllocationMap.hpp>

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = AllocationRecord
 
using difference_type = std::ptrdiff_t
 
using pointer = value_type *
 
using reference = value_type &
 

Public Member Functions

 ConstIterator (const AllocationMap *map, iterator_begin)
 
 ConstIterator (const AllocationMap *map, iterator_end)
 
 ConstIterator (const ConstIterator &)=default
 
const AllocationRecordoperator* ()
 
const AllocationRecordoperator-> ()
 
ConstIteratoroperator++ ()
 
ConstIterator operator++ (int)
 
bool operator== (const ConstIterator &other) const
 
bool operator!= (const ConstIterator &other) const
 

Member Typedef Documentation

◆ iterator_category

◆ value_type

◆ difference_type

◆ pointer

◆ reference

Constructor & Destructor Documentation

◆ ConstIterator() [1/3]

umpire::util::AllocationMap::ConstIterator::ConstIterator ( const AllocationMap map,
iterator_begin   
)

◆ ConstIterator() [2/3]

umpire::util::AllocationMap::ConstIterator::ConstIterator ( const AllocationMap map,
iterator_end   
)

◆ ConstIterator() [3/3]

umpire::util::AllocationMap::ConstIterator::ConstIterator ( const ConstIterator )
default

Member Function Documentation

◆ operator*()

const AllocationRecord & umpire::util::AllocationMap::ConstIterator::operator* ( )

◆ operator->()

const AllocationRecord * umpire::util::AllocationMap::ConstIterator::operator-> ( )

◆ operator++() [1/2]

AllocationMap::ConstIterator & umpire::util::AllocationMap::ConstIterator::operator++ ( )

◆ operator++() [2/2]

AllocationMap::ConstIterator umpire::util::AllocationMap::ConstIterator::operator++ ( int  )

◆ operator==()

bool umpire::util::AllocationMap::ConstIterator::operator== ( const ConstIterator other) const

◆ operator!=()

bool umpire::util::AllocationMap::ConstIterator::operator!= ( const ConstIterator other) const