The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta::TieredMap< KeyT, ValT >::const_iterator Class Reference

Const for walking contents of this map if const-qualified. More...

#include <TieredMap.hpp>

Public Types

typedef std::vector< std::unique_ptr< pair_t > >::const_iterator internal_iter
 

Public Member Functions

 const_iterator (internal_iter itr)
 
const_iteratoroperator++ ()
 
const_iterator operator++ (int)
 
const_iteratoroperator= (const const_iterator &rhp)
 
bool operator== (const const_iterator &rhp) const
 
bool operator!= (const const_iterator &rhp) const
 
bool operator== (const iterator &rhp) const
 
bool operator!= (const iterator &rhp) const
 
const ValT & operator* () const
 
const ValT * operator-> () const
 

Friends

class iterator
 

Detailed Description

template<typename KeyT = uint64_t, typename ValT = void*>
class sparta::TieredMap< KeyT, ValT >::const_iterator

Const for walking contents of this map if const-qualified.

Internally increments and compares a std::vector iterator

Definition at line 123 of file TieredMap.hpp.

Member Typedef Documentation

◆ internal_iter

template<typename KeyT = uint64_t, typename ValT = void*>
typedef std::vector<std::unique_ptr<pair_t>>::const_iterator sparta::TieredMap< KeyT, ValT >::const_iterator::internal_iter

Definition at line 125 of file TieredMap.hpp.

Constructor & Destructor Documentation

◆ const_iterator()

template<typename KeyT = uint64_t, typename ValT = void*>
sparta::TieredMap< KeyT, ValT >::const_iterator::const_iterator ( internal_iter  itr)
inline

Definition at line 127 of file TieredMap.hpp.

Member Function Documentation

◆ operator!=() [1/2]

template<typename KeyT = uint64_t, typename ValT = void*>
bool sparta::TieredMap< KeyT, ValT >::const_iterator::operator!= ( const const_iterator rhp) const
inline

Definition at line 143 of file TieredMap.hpp.

◆ operator!=() [2/2]

template<typename KeyT = uint64_t, typename ValT = void*>
bool sparta::TieredMap< KeyT, ValT >::const_iterator::operator!= ( const iterator rhp) const
inline

Definition at line 151 of file TieredMap.hpp.

◆ operator*()

template<typename KeyT = uint64_t, typename ValT = void*>
const ValT & sparta::TieredMap< KeyT, ValT >::const_iterator::operator* ( ) const
inline

Definition at line 155 of file TieredMap.hpp.

◆ operator++() [1/2]

template<typename KeyT = uint64_t, typename ValT = void*>
const_iterator & sparta::TieredMap< KeyT, ValT >::const_iterator::operator++ ( )
inline

Definition at line 131 of file TieredMap.hpp.

◆ operator++() [2/2]

template<typename KeyT = uint64_t, typename ValT = void*>
const_iterator sparta::TieredMap< KeyT, ValT >::const_iterator::operator++ ( int  )
inline

Definition at line 132 of file TieredMap.hpp.

◆ operator->()

template<typename KeyT = uint64_t, typename ValT = void*>
const ValT * sparta::TieredMap< KeyT, ValT >::const_iterator::operator-> ( ) const
inline

Definition at line 157 of file TieredMap.hpp.

◆ operator=()

template<typename KeyT = uint64_t, typename ValT = void*>
const_iterator & sparta::TieredMap< KeyT, ValT >::const_iterator::operator= ( const const_iterator rhp)
inline

Definition at line 134 of file TieredMap.hpp.

◆ operator==() [1/2]

template<typename KeyT = uint64_t, typename ValT = void*>
bool sparta::TieredMap< KeyT, ValT >::const_iterator::operator== ( const const_iterator rhp) const
inline

Definition at line 139 of file TieredMap.hpp.

◆ operator==() [2/2]

template<typename KeyT = uint64_t, typename ValT = void*>
bool sparta::TieredMap< KeyT, ValT >::const_iterator::operator== ( const iterator rhp) const
inline

Definition at line 147 of file TieredMap.hpp.

Friends And Related Symbol Documentation

◆ iterator

template<typename KeyT = uint64_t, typename ValT = void*>
friend class iterator
friend

Definition at line 159 of file TieredMap.hpp.


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