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

#include <probe_hash_map.h>

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

Public Member Functions

 iter_rep (const ProbeHashMap *m, int j)
 
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 ProbeHashMapmap {nullptr}
 
int loc
 

Constructor & Destructor Documentation

◆ iter_rep()

template<typename Key , typename Value , typename Hash = std::hash<Key>>
dsac::map::ProbeHashMap< Key, Value, Hash >::iter_rep::iter_rep ( const ProbeHashMap m,
int  j 
)
inline

Member Function Documentation

◆ advance()

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

◆ clone()

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

◆ entry()

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

◆ equals()

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

Field Documentation

◆ loc

template<typename Key , typename Value , typename Hash = std::hash<Key>>
int dsac::map::ProbeHashMap< Key, Value, Hash >::iter_rep::loc

◆ map

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

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