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 ** slot_
value_type ** 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.   

Member Function Documentation

template<typename Descriptor , template< typename Type > class Allocator>
bool hash_table< Descriptor, Allocator >::iterator::operator!= ( const iterator other) const
inline
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.   

Referenced by hash_table< Descriptor, Allocator >::begin().


Field Documentation

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

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