OpenADFortTk (including Open64 and OpenAnalysis references)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
SEGMENTED_ARRAY_ITERATOR< SA_Ptr, T, SA_vt_Ptr, SA_vt_Ref > Class Template Reference

#include <segmented_array.h>

Collaboration diagram for SEGMENTED_ARRAY_ITERATOR< SA_Ptr, T, SA_vt_Ptr, SA_vt_Ref >:
Collaboration graph

Public Types

typedef T value_type
 
typedef UINT difference_type
 
typedef std::forward_iterator_tag iterator_category
 
typedef SA_vt_Ptr pointer
 
typedef SA_vt_Ref reference
 

Public Member Functions

 SEGMENTED_ARRAY_ITERATOR (SA_Ptr sa, T *p, T *last, UINT idx)
 
 SEGMENTED_ARRAY_ITERATOR (SA_Ptr sa, UINT idx)
 
 SEGMENTED_ARRAY_ITERATOR ()
 
SA_vt_Ref operator* () const
 
SA_vt_Ptr Ptr () const
 
SA_vt_Ptr operator-> () const
 
UINT Index () const
 
selfoperator++ ()
 
self operator++ (int)
 
BOOL operator== (const self &x) const
 
BOOL operator!= (const self &x) const
 

Private Types

typedef SEGMENTED_ARRAY_ITERATOR self
 

Private Attributes

SA_Ptr segmented_array
 
SA_vt_Ptr ptr
 
SA_vt_Ptr segment_last
 
UINT map_idx
 

Detailed Description

template<class SA_Ptr, class T, class SA_vt_Ptr, class SA_vt_Ref>
class SEGMENTED_ARRAY_ITERATOR< SA_Ptr, T, SA_vt_Ptr, SA_vt_Ref >

Definition at line 73 of file segmented_array.h.

Member Typedef Documentation

template<class SA_Ptr , class T , class SA_vt_Ptr , class SA_vt_Ref >
typedef UINT SEGMENTED_ARRAY_ITERATOR< SA_Ptr, T, SA_vt_Ptr, SA_vt_Ref >::difference_type

Definition at line 77 of file segmented_array.h.

template<class SA_Ptr , class T , class SA_vt_Ptr , class SA_vt_Ref >
typedef std::forward_iterator_tag SEGMENTED_ARRAY_ITERATOR< SA_Ptr, T, SA_vt_Ptr, SA_vt_Ref >::iterator_category

Definition at line 78 of file segmented_array.h.

template<class SA_Ptr , class T , class SA_vt_Ptr , class SA_vt_Ref >
typedef SA_vt_Ptr SEGMENTED_ARRAY_ITERATOR< SA_Ptr, T, SA_vt_Ptr, SA_vt_Ref >::pointer

Definition at line 79 of file segmented_array.h.

template<class SA_Ptr , class T , class SA_vt_Ptr , class SA_vt_Ref >
typedef SA_vt_Ref SEGMENTED_ARRAY_ITERATOR< SA_Ptr, T, SA_vt_Ptr, SA_vt_Ref >::reference

Definition at line 80 of file segmented_array.h.

template<class SA_Ptr , class T , class SA_vt_Ptr , class SA_vt_Ref >
typedef SEGMENTED_ARRAY_ITERATOR SEGMENTED_ARRAY_ITERATOR< SA_Ptr, T, SA_vt_Ptr, SA_vt_Ref >::self
private

Definition at line 91 of file segmented_array.h.

template<class SA_Ptr , class T , class SA_vt_Ptr , class SA_vt_Ref >
typedef T SEGMENTED_ARRAY_ITERATOR< SA_Ptr, T, SA_vt_Ptr, SA_vt_Ref >::value_type

Definition at line 76 of file segmented_array.h.

Constructor & Destructor Documentation

template<class SA_Ptr , class T , class SA_vt_Ptr , class SA_vt_Ref >
SEGMENTED_ARRAY_ITERATOR< SA_Ptr, T, SA_vt_Ptr, SA_vt_Ref >::SEGMENTED_ARRAY_ITERATOR ( SA_Ptr  sa,
T *  p,
T *  last,
UINT  idx 
)
inline

Definition at line 95 of file segmented_array.h.

template<class SA_Ptr , class T , class SA_vt_Ptr , class SA_vt_Ref >
SEGMENTED_ARRAY_ITERATOR< SA_Ptr, T, SA_vt_Ptr, SA_vt_Ref >::SEGMENTED_ARRAY_ITERATOR ( SA_Ptr  sa,
UINT  idx 
)
inline

Definition at line 100 of file segmented_array.h.

template<class SA_Ptr , class T , class SA_vt_Ptr , class SA_vt_Ref >
SEGMENTED_ARRAY_ITERATOR< SA_Ptr, T, SA_vt_Ptr, SA_vt_Ref >::SEGMENTED_ARRAY_ITERATOR ( )
inline

Definition at line 107 of file segmented_array.h.

Member Function Documentation

template<class SA_Ptr , class T , class SA_vt_Ptr , class SA_vt_Ref >
UINT SEGMENTED_ARRAY_ITERATOR< SA_Ptr, T, SA_vt_Ptr, SA_vt_Ref >::Index ( ) const
inline

Definition at line 112 of file segmented_array.h.

Referenced by Make_Function_Type().

template<class SA_Ptr , class T , class SA_vt_Ptr , class SA_vt_Ref >
BOOL SEGMENTED_ARRAY_ITERATOR< SA_Ptr, T, SA_vt_Ptr, SA_vt_Ref >::operator!= ( const self x) const
inline

Definition at line 139 of file segmented_array.h.

template<class SA_Ptr , class T , class SA_vt_Ptr , class SA_vt_Ref >
SA_vt_Ref SEGMENTED_ARRAY_ITERATOR< SA_Ptr, T, SA_vt_Ptr, SA_vt_Ref >::operator* ( ) const
inline

Definition at line 109 of file segmented_array.h.

template<class SA_Ptr , class T , class SA_vt_Ptr , class SA_vt_Ref >
self& SEGMENTED_ARRAY_ITERATOR< SA_Ptr, T, SA_vt_Ptr, SA_vt_Ref >::operator++ ( )
inline

Definition at line 117 of file segmented_array.h.

template<class SA_Ptr , class T , class SA_vt_Ptr , class SA_vt_Ref >
self SEGMENTED_ARRAY_ITERATOR< SA_Ptr, T, SA_vt_Ptr, SA_vt_Ref >::operator++ ( int  )
inline

Definition at line 132 of file segmented_array.h.

template<class SA_Ptr , class T , class SA_vt_Ptr , class SA_vt_Ref >
SA_vt_Ptr SEGMENTED_ARRAY_ITERATOR< SA_Ptr, T, SA_vt_Ptr, SA_vt_Ref >::operator-> ( ) const
inline

Definition at line 111 of file segmented_array.h.

template<class SA_Ptr , class T , class SA_vt_Ptr , class SA_vt_Ref >
BOOL SEGMENTED_ARRAY_ITERATOR< SA_Ptr, T, SA_vt_Ptr, SA_vt_Ref >::operator== ( const self x) const
inline

Definition at line 138 of file segmented_array.h.

template<class SA_Ptr , class T , class SA_vt_Ptr , class SA_vt_Ref >
SA_vt_Ptr SEGMENTED_ARRAY_ITERATOR< SA_Ptr, T, SA_vt_Ptr, SA_vt_Ref >::Ptr ( ) const
inline

Definition at line 110 of file segmented_array.h.

Member Data Documentation

template<class SA_Ptr , class T , class SA_vt_Ptr , class SA_vt_Ref >
UINT SEGMENTED_ARRAY_ITERATOR< SA_Ptr, T, SA_vt_Ptr, SA_vt_Ref >::map_idx
private

Definition at line 87 of file segmented_array.h.

template<class SA_Ptr , class T , class SA_vt_Ptr , class SA_vt_Ref >
SA_vt_Ptr SEGMENTED_ARRAY_ITERATOR< SA_Ptr, T, SA_vt_Ptr, SA_vt_Ref >::ptr
private

Definition at line 85 of file segmented_array.h.

template<class SA_Ptr , class T , class SA_vt_Ptr , class SA_vt_Ref >
SA_vt_Ptr SEGMENTED_ARRAY_ITERATOR< SA_Ptr, T, SA_vt_Ptr, SA_vt_Ref >::segment_last
private

Definition at line 86 of file segmented_array.h.

template<class SA_Ptr , class T , class SA_vt_Ptr , class SA_vt_Ref >
SA_Ptr SEGMENTED_ARRAY_ITERATOR< SA_Ptr, T, SA_vt_Ptr, SA_vt_Ref >::segmented_array
private

Definition at line 84 of file segmented_array.h.


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