Data Structures & Algorithms in C++
Goodrich, Tamassia, Mount and Goldwasser
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
dsac::map::ChainHashMap< Key, Value, Hash >::iter_rep Class Reference

#include <chain_hash_map.h>

Inheritance diagram for dsac::map::ChainHashMap< Key, Value, Hash >::iter_rep:
Inheritance graph
Collaboration diagram for dsac::map::ChainHashMap< Key, Value, Hash >::iter_rep:
Collaboration graph

Public Member Functions

 iter_rep (const std::vector< Bucket > *t, int b, BCI it)
 
const Entryentry () const
 
abstract_iter_repclone () const
 
void advance ()
 
bool equals (const abstract_iter_rep *other) const
 
- Public Member Functions inherited from dsac::map::AbstractMap< Key, Value >::abstract_iter_rep
virtual const Entryentry () const =0
 
virtual void advance ()=0
 
virtual bool equals (const abstract_iter_rep *other) const =0
 
virtual abstract_iter_repclone () const =0
 
virtual ~abstract_iter_rep ()
 

Data Fields

const std::vector< Bucket > * tbl {nullptr}
 
int bkt_num {0}
 
BCI bkt_iter
 

Constructor & Destructor Documentation

◆ iter_rep()

template<typename Key , typename Value , typename Hash = std::hash<Key>>
dsac::map::ChainHashMap< Key, Value, Hash >::iter_rep::iter_rep ( const std::vector< Bucket > *  t,
int  b,
BCI  it 
)
inline

Member Function Documentation

◆ advance()

template<typename Key , typename Value , typename Hash = std::hash<Key>>
void dsac::map::ChainHashMap< Key, Value, Hash >::iter_rep::advance ( )
inlinevirtual

Implements dsac::map::AbstractMap< Key, Value >::abstract_iter_rep.

Here is the call graph for this function:

◆ clone()

template<typename Key , typename Value , typename Hash = std::hash<Key>>
abstract_iter_rep * dsac::map::ChainHashMap< Key, Value, Hash >::iter_rep::clone ( ) const
inlinevirtual

◆ entry()

template<typename Key , typename Value , typename Hash = std::hash<Key>>
const Entry & dsac::map::ChainHashMap< Key, Value, Hash >::iter_rep::entry ( ) const
inlinevirtual

◆ equals()

template<typename Key , typename Value , typename Hash = std::hash<Key>>
bool dsac::map::ChainHashMap< Key, Value, Hash >::iter_rep::equals ( const abstract_iter_rep other) const
inlinevirtual

Field Documentation

◆ bkt_iter

template<typename Key , typename Value , typename Hash = std::hash<Key>>
BCI dsac::map::ChainHashMap< Key, Value, Hash >::iter_rep::bkt_iter

◆ bkt_num

template<typename Key , typename Value , typename Hash = std::hash<Key>>
int dsac::map::ChainHashMap< Key, Value, Hash >::iter_rep::bkt_num {0}

◆ tbl

template<typename Key , typename Value , typename Hash = std::hash<Key>>
const std::vector<Bucket>* dsac::map::ChainHashMap< Key, Value, Hash >::iter_rep::tbl {nullptr}

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