OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | Private Attributes | List of all members
Index::iterator Class Reference

#include <Index.h>

Public Member Functions

 iterator ()
 
 iterator (int current, int stride=1)
 
int operator* ()
 
iterator operator-- (int)
 
iteratoroperator-- ()
 
iterator operator++ (int)
 
iteratoroperator++ ()
 
iteratoroperator+= (int i)
 
iteratoroperator-= (int i)
 
iterator operator+ (int i) const
 
iterator operator- (int i) const
 
int operator[] (int i) const
 
bool operator== (const iterator &y) const
 
bool operator< (const iterator &y) const
 
bool operator!= (const iterator &y) const
 
bool operator> (const iterator &y) const
 
bool operator<= (const iterator &y) const
 
bool operator>= (const iterator &y) const
 

Private Attributes

int Current
 
int Stride
 

Detailed Description

Definition at line 240 of file Index.h.

Constructor & Destructor Documentation

Index::iterator::iterator ( )
inline

Definition at line 244 of file Index.h.

Referenced by operator+(), and operator-().

Index::iterator::iterator ( int  current,
int  stride = 1 
)
inline

Definition at line 245 of file Index.h.

Member Function Documentation

bool Index::iterator::operator!= ( const iterator y) const
inline

Definition at line 301 of file Index.h.

int Index::iterator::operator* ( )
inline

Definition at line 247 of file Index.h.

References Current.

iterator Index::iterator::operator+ ( int  i) const
inline

Definition at line 280 of file Index.h.

References Current, iterator(), and Stride.

Here is the call graph for this function:

iterator Index::iterator::operator++ ( int  )
inline

Definition at line 259 of file Index.h.

References Current, and Stride.

iterator& Index::iterator::operator++ ( )
inline

Definition at line 265 of file Index.h.

References Current, and Stride.

iterator& Index::iterator::operator+= ( int  i)
inline

Definition at line 270 of file Index.h.

References Current, and Stride.

iterator Index::iterator::operator- ( int  i) const
inline

Definition at line 284 of file Index.h.

References Current, iterator(), and Stride.

Here is the call graph for this function:

iterator Index::iterator::operator-- ( int  )
inline

Definition at line 248 of file Index.h.

References Current, and Stride.

iterator& Index::iterator::operator-- ( )
inline

Definition at line 254 of file Index.h.

References Current, and Stride.

iterator& Index::iterator::operator-= ( int  i)
inline

Definition at line 275 of file Index.h.

References Current, and Stride.

bool Index::iterator::operator< ( const iterator y) const
inline

Definition at line 296 of file Index.h.

References Current, and Stride.

bool Index::iterator::operator<= ( const iterator y) const
inline

Definition at line 303 of file Index.h.

bool Index::iterator::operator== ( const iterator y) const
inline

Definition at line 292 of file Index.h.

References Current, and Stride.

bool Index::iterator::operator> ( const iterator y) const
inline

Definition at line 302 of file Index.h.

bool Index::iterator::operator>= ( const iterator y) const
inline

Definition at line 304 of file Index.h.

int Index::iterator::operator[] ( int  i) const
inline

Definition at line 288 of file Index.h.

References Current, and Stride.

Member Data Documentation

int Index::iterator::Current
private
int Index::iterator::Stride
private

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