DeSiGNAR  0.5a
Data Structures General Library
Public Member Functions | Protected Member Functions | Friends | List of all members
Designar::LHashTable< Key, Cmp >::Iterator Class Reference

#include <hash.H>

Inheritance diagram for Designar::LHashTable< Key, Cmp >::Iterator:
Inheritance graph
[legend]
Collaboration diagram for Designar::LHashTable< Key, Cmp >::Iterator:
Collaboration graph
[legend]

Public Member Functions

 Iterator ()
 
 Iterator (const LHashTable &h)
 
 Iterator (const Iterator &it)
 
 Iterator (Iterator &&it)
 
Iteratoroperator= (const Iterator &it)
 
Iteratoroperator= (Iterator &&it)
 
void swap (Iterator &it)
 
void reset ()
 
lint_t get_position () const
 
bool has_current () const
 
Key & get_current ()
 
const Key & get_current () const
 
void next ()
 
void prev ()
 
- Public Member Functions inherited from Designar::BidirectionalIterator< Iterator, Key >
Iterator & operator-- ()
 
Iterator operator-- (int)
 
- Public Member Functions inherited from Designar::ForwardIterator< Iterator, Key, false >
Iterator & operator++ ()
 
Iterator operator++ (int)
 
- Public Member Functions inherited from Designar::BasicIterator< Iterator, Key, RET_CPY >
bool has_curr () const
 
RetType< RET_CPY, Key, Key & > get_curr ()
 
RetType< RET_CPY, Key, const Key & > get_curr () const
 
RetType< RET_CPY, Key, Key & > operator* ()
 
RetType< RET_CPY, Key, const Key & > operator* () const
 
Key * operator-> ()
 
bool operator== (const Iterator &it) const
 
bool operator!= (const Iterator &it) const
 

Protected Member Functions

lint_t get_location () const
 
 Iterator (const LHashTable &h, int)
 
- Protected Member Functions inherited from Designar::BasicIterator< Iterator, Key, RET_CPY >
Iterator & me ()
 
const Iterator & const_me () const
 

Friends

class LHashTable
 
class BasicIterator< Iterator, Key >
 

Constructor & Destructor Documentation

template<typename Key, class Cmp = std::equal_to<Key>>
Designar::LHashTable< Key, Cmp >::Iterator::Iterator ( const LHashTable h,
int   
)
inlineprotected
template<typename Key, class Cmp = std::equal_to<Key>>
Designar::LHashTable< Key, Cmp >::Iterator::Iterator ( )
inline
template<typename Key, class Cmp = std::equal_to<Key>>
Designar::LHashTable< Key, Cmp >::Iterator::Iterator ( const LHashTable h)
inline
template<typename Key, class Cmp = std::equal_to<Key>>
Designar::LHashTable< Key, Cmp >::Iterator::Iterator ( const Iterator it)
inline
template<typename Key, class Cmp = std::equal_to<Key>>
Designar::LHashTable< Key, Cmp >::Iterator::Iterator ( Iterator &&  it)
inline

Member Function Documentation

template<typename Key, class Cmp = std::equal_to<Key>>
Key& Designar::LHashTable< Key, Cmp >::Iterator::get_current ( )
inline
template<typename Key, class Cmp = std::equal_to<Key>>
const Key& Designar::LHashTable< Key, Cmp >::Iterator::get_current ( ) const
inline
template<typename Key, class Cmp = std::equal_to<Key>>
lint_t Designar::LHashTable< Key, Cmp >::Iterator::get_location ( ) const
inlineprotected
template<typename Key, class Cmp = std::equal_to<Key>>
lint_t Designar::LHashTable< Key, Cmp >::Iterator::get_position ( ) const
inline
template<typename Key, class Cmp = std::equal_to<Key>>
bool Designar::LHashTable< Key, Cmp >::Iterator::has_current ( ) const
inline
template<typename Key, class Cmp = std::equal_to<Key>>
void Designar::LHashTable< Key, Cmp >::Iterator::next ( )
inline
template<typename Key, class Cmp = std::equal_to<Key>>
Iterator& Designar::LHashTable< Key, Cmp >::Iterator::operator= ( const Iterator it)
inline
template<typename Key, class Cmp = std::equal_to<Key>>
Iterator& Designar::LHashTable< Key, Cmp >::Iterator::operator= ( Iterator &&  it)
inline
template<typename Key, class Cmp = std::equal_to<Key>>
void Designar::LHashTable< Key, Cmp >::Iterator::prev ( )
inline
template<typename Key, class Cmp = std::equal_to<Key>>
void Designar::LHashTable< Key, Cmp >::Iterator::reset ( )
inline
template<typename Key, class Cmp = std::equal_to<Key>>
void Designar::LHashTable< Key, Cmp >::Iterator::swap ( Iterator it)
inline

Friends And Related Function Documentation

template<typename Key, class Cmp = std::equal_to<Key>>
friend class BasicIterator< Iterator, Key >
friend
template<typename Key, class Cmp = std::equal_to<Key>>
friend class LHashTable
friend

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