SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF > Module Template Reference

#include <segmented_array.h>

Collaboration diagram for SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >:

Collaboration graph
[legend]

Public Types

typedef T value_type
typedef UINT difference_type
typedef std::forward_iterator_tag iterator_category
typedef VALUE_Ptr pointer
typedef REF reference

Public Member Functions

 ptr (p)
 segment_last (last)
 SEGMENTED_ARRAY_ITERATOR ()
REF operator* () const
VALUE_Ptr Ptr () const
VALUE_Ptr operator-> () const
UINT Index () const
selfoperator++ ()
self operator++ (int)
BOOL operator== (const self &x) const
BOOL operator!= (const self &x) const

Data Fields

 __pad0__: segmented_array (sa)
 __pad1__: segmented_array (sa) { map_idx = sa->Block_index(idx)
 ptr = &(sa->Entry(idx))
 segment_last = sa->Block_end(map_idx)

Private Types

typedef SEGMENTED_ARRAY_ITERATOR self

Private Attributes

ARRAY_Ptr segmented_array
VALUE_Ptr ptr
VALUE_Ptr segment_last
UINT map_idx

Detailed Description

template<class ARRAY_Ptr, class T, class VALUE_Ptr, class REF>
module SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >

Definition at line 95 of file segmented_array.h.


Member Typedef Documentation

template<class ARRAY_Ptr, class T, class VALUE_Ptr, class REF>
typedef T SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::value_type

Definition at line 98 of file segmented_array.h.

template<class ARRAY_Ptr, class T, class VALUE_Ptr, class REF>
typedef UINT SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::difference_type

Definition at line 99 of file segmented_array.h.

template<class ARRAY_Ptr, class T, class VALUE_Ptr, class REF>
typedef std::forward_iterator_tag SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::iterator_category

Definition at line 100 of file segmented_array.h.

template<class ARRAY_Ptr, class T, class VALUE_Ptr, class REF>
typedef VALUE_Ptr SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::pointer

Definition at line 101 of file segmented_array.h.

template<class ARRAY_Ptr, class T, class VALUE_Ptr, class REF>
typedef REF SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::reference

Definition at line 102 of file segmented_array.h.

template<class ARRAY_Ptr, class T, class VALUE_Ptr, class REF>
typedef SEGMENTED_ARRAY_ITERATOR SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::self [private]

Definition at line 113 of file segmented_array.h.


Constructor & Destructor Documentation

template<class ARRAY_Ptr, class T, class VALUE_Ptr, class REF>
SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::SEGMENTED_ARRAY_ITERATOR (  )  [inline]

Definition at line 129 of file segmented_array.h.


Member Function/Subroutine Documentation

template<class ARRAY_Ptr, class T, class VALUE_Ptr, class REF>
SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::ptr ( p   ) 

Type Constraints

template<class ARRAY_Ptr, class T, class VALUE_Ptr, class REF>
SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::segment_last ( last   )  [inline]

template<class ARRAY_Ptr, class T, class VALUE_Ptr, class REF>
REF SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::operator* ( void   )  const [inline]

template<class ARRAY_Ptr, class T, class VALUE_Ptr, class REF>
VALUE_Ptr SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::Ptr ( void   )  const [inline]

template<class ARRAY_Ptr, class T, class VALUE_Ptr, class REF>
VALUE_Ptr SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::operator-> (  )  const [inline]

template<class ARRAY_Ptr, class T, class VALUE_Ptr, class REF>
UINT SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::Index ( void   )  const [inline]

template<class ARRAY_Ptr, class T, class VALUE_Ptr, class REF>
self& SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::operator++ ( void   )  [inline]

template<class ARRAY_Ptr, class T, class VALUE_Ptr, class REF>
self SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::operator++ ( int   )  [inline]

Definition at line 154 of file segmented_array.h.

References tmp.

template<class ARRAY_Ptr, class T, class VALUE_Ptr, class REF>
BOOL SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::operator== ( const self x  )  const [inline]

template<class ARRAY_Ptr, class T, class VALUE_Ptr, class REF>
BOOL SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::operator!= ( const self x  )  const [inline]

Definition at line 161 of file segmented_array.h.

References x.


Field Documentation

template<class ARRAY_Ptr, class T, class VALUE_Ptr, class REF>
ARRAY_Ptr SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::segmented_array [private]

template<class ARRAY_Ptr, class T, class VALUE_Ptr, class REF>
VALUE_Ptr SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::ptr [private]

template<class ARRAY_Ptr, class T, class VALUE_Ptr, class REF>
VALUE_Ptr SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::segment_last [private]

template<class ARRAY_Ptr, class T, class VALUE_Ptr, class REF>
UINT SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::map_idx [private]

template<class ARRAY_Ptr, class T, class VALUE_Ptr, class REF>
SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::__pad0__

Definition at line 118 of file segmented_array.h.

template<class ARRAY_Ptr, class T, class VALUE_Ptr, class REF>
SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::__pad1__

Definition at line 124 of file segmented_array.h.

template<class ARRAY_Ptr, class T, class VALUE_Ptr, class REF>
SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::ptr = &(sa->Entry(idx))

Definition at line 125 of file segmented_array.h.

template<class ARRAY_Ptr, class T, class VALUE_Ptr, class REF>
SEGMENTED_ARRAY_ITERATOR< ARRAY_Ptr, T, VALUE_Ptr, REF >::segment_last = sa->Block_end(map_idx)

Definition at line 126 of file segmented_array.h.


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

Generated on Wed Apr 8 17:06:26 2009 for Open64 by  doxygen 1.5.6