Halide
PerfectHashMap< K, T, max_small_size, phm_assert >::const_iterator Struct Reference

#include <PerfectHashMap.h>

Public Member Functions

void operator++ (int)
 
void operator++ ()
 
const K * key () const
 
const T & value () const
 
bool operator!= (const const_iterator &other) const
 
bool operator== (const const_iterator &other) const
 
const std::pair< const K *, T > & operator* () const
 

Public Attributes

const std::pair< const K *, T > * iter
 
const std::pair< const K *, T > * end
 

Detailed Description

template<typename K, typename T, int max_small_size = 4, typename phm_assert = PerfectHashMapAsserter>
struct PerfectHashMap< K, T, max_small_size, phm_assert >::const_iterator

Definition at line 348 of file PerfectHashMap.h.

Member Function Documentation

◆ operator++() [1/2]

template<typename K , typename T , int max_small_size = 4, typename phm_assert = PerfectHashMapAsserter>
void PerfectHashMap< K, T, max_small_size, phm_assert >::const_iterator::operator++ ( int  )
inline

◆ operator++() [2/2]

template<typename K , typename T , int max_small_size = 4, typename phm_assert = PerfectHashMapAsserter>
void PerfectHashMap< K, T, max_small_size, phm_assert >::const_iterator::operator++ ( )
inline

Definition at line 357 of file PerfectHashMap.h.

◆ key()

template<typename K , typename T , int max_small_size = 4, typename phm_assert = PerfectHashMapAsserter>
const K* PerfectHashMap< K, T, max_small_size, phm_assert >::const_iterator::key ( ) const
inline

◆ value()

template<typename K , typename T , int max_small_size = 4, typename phm_assert = PerfectHashMapAsserter>
const T& PerfectHashMap< K, T, max_small_size, phm_assert >::const_iterator::value ( ) const
inline

◆ operator!=()

template<typename K , typename T , int max_small_size = 4, typename phm_assert = PerfectHashMapAsserter>
bool PerfectHashMap< K, T, max_small_size, phm_assert >::const_iterator::operator!= ( const const_iterator other) const
inline

◆ operator==()

template<typename K , typename T , int max_small_size = 4, typename phm_assert = PerfectHashMapAsserter>
bool PerfectHashMap< K, T, max_small_size, phm_assert >::const_iterator::operator== ( const const_iterator other) const
inline

◆ operator*()

template<typename K , typename T , int max_small_size = 4, typename phm_assert = PerfectHashMapAsserter>
const std::pair<const K *, T>& PerfectHashMap< K, T, max_small_size, phm_assert >::const_iterator::operator* ( ) const
inline

Member Data Documentation

◆ iter

◆ end

template<typename K , typename T , int max_small_size = 4, typename phm_assert = PerfectHashMapAsserter>
const std::pair<const K *, T> * PerfectHashMap< K, T, max_small_size, phm_assert >::const_iterator::end

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