GCC Middle and Back End API Reference
hash_table< Descriptor, Allocator >::iterator Class Reference

#include <hash-table.h>

Public Member Functions

 iterator ()
 iterator (value_type **, value_type **)
value_typeoperator* ()
void slide ()
iteratoroperator++ ()
bool operator!= (const iterator &) const

Private Attributes

value_type ** m_slot
value_type ** m_limit

Constructor & Destructor Documentation

template<typename Descriptor , template< typename Type > class Allocator>
hash_table< Descriptor, Allocator >::iterator::iterator ( )
inline
   Iterator definitions.  
   The default constructor produces the end value.  
template<typename Descriptor , template< typename Type > class Allocator>
hash_table< Descriptor, Allocator >::iterator::iterator ( value_type **  slot,
value_type **  limit 
)
inline
   The parameterized constructor produces the begin value.  

References hash_table< Descriptor, Allocator >::iterator::m_slot.


Member Function Documentation

template<typename Descriptor , template< typename Type > class Allocator>
bool hash_table< Descriptor, Allocator >::iterator::operator!= ( const iterator other) const
inline
   Compare iterators.  
template<typename Descriptor , template< typename Type > class Allocator>
hash_table< Descriptor, Allocator >::value_type & hash_table< Descriptor, Allocator >::iterator::operator* ( )
inline
   Obtain the element.  
template<typename Descriptor , template< typename Type > class Allocator>
hash_table< Descriptor, Allocator >::iterator & hash_table< Descriptor, Allocator >::iterator::operator++ ( )
inline
   Bump the iterator.  
template<typename Descriptor , template< typename Type > class Allocator>
void hash_table< Descriptor, Allocator >::iterator::slide ( )
   Slide down the iterator slots until an active entry is found.  

Field Documentation

template<typename Descriptor, template< typename Type > class Allocator = xcallocator>
value_type** hash_table< Descriptor, Allocator >::iterator::m_limit
private
template<typename Descriptor, template< typename Type > class Allocator = xcallocator>
value_type** hash_table< Descriptor, Allocator >::iterator::m_slot
private

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