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

#include <Index.h>

Inheritance diagram for Index::cursor:
Inheritance graph
[legend]
Collaboration diagram for Index::cursor:
Collaboration graph
[legend]

Public Types

enum  { IsExpr = 1 }
 
typedef cursor PETE_Expr_t
 
typedef int PETE_Return_t
 
- Public Types inherited from PETE_Expr< cursor >
typedef cursor Wrapped
 

Public Member Functions

 cursor ()
 
 cursor (const Index &i)
 
int operator* () const
 
int offset () const
 
int offset (int i) const
 
int offset (int i, int j) const
 
int offset (int i, int j, int k) const
 
void step (unsigned d)
 
void rewind (unsigned d)
 
bool plugBase (const Index &i, unsigned d=0)
 
int id () const
 
cursor MakeExpression () const
 
- Public Member Functions inherited from PETE_Expr< cursor >
cursor & PETE_unwrap ()
 
const cursor & PETE_unwrap () const
 

Private Attributes

int Current
 
int Stride
 
int First
 
unsigned Dim
 
const IndexI
 

Detailed Description

Definition at line 311 of file Index.h.

Member Typedef Documentation

Definition at line 387 of file Index.h.

Definition at line 388 of file Index.h.

Member Enumeration Documentation

anonymous enum
Enumerator
IsExpr 

Definition at line 386 of file Index.h.

Constructor & Destructor Documentation

Index::cursor::cursor ( )
inline

Definition at line 320 of file Index.h.

Index::cursor::cursor ( const Index i)
inline

Definition at line 321 of file Index.h.

Member Function Documentation

int Index::cursor::id ( ) const
inline

Definition at line 383 of file Index.h.

References I, and Index::id().

Referenced by for_each().

Here is the call graph for this function:

cursor Index::cursor::MakeExpression ( ) const
inline

Definition at line 389 of file Index.h.

int Index::cursor::offset ( ) const
inline

Definition at line 346 of file Index.h.

References Current.

Referenced by for_each().

int Index::cursor::offset ( int  i) const
inline

Definition at line 347 of file Index.h.

References Current, Dim, and Stride.

int Index::cursor::offset ( int  i,
int  j 
) const
inline

Definition at line 352 of file Index.h.

References Current, Dim, and Stride.

int Index::cursor::offset ( int  i,
int  j,
int  k 
) const
inline

Definition at line 358 of file Index.h.

References Current, Dim, and Stride.

int Index::cursor::operator* ( ) const
inline

Definition at line 345 of file Index.h.

References Current.

bool Index::cursor::plugBase ( const Index i,
unsigned  d = 0 
)
inline

Definition at line 375 of file Index.h.

References Current, Dim, First, I, Index::plugBase(), and Stride.

Referenced by for_each().

Here is the call graph for this function:

void Index::cursor::rewind ( unsigned  d)
inline

Definition at line 370 of file Index.h.

References Current, Dim, and First.

Referenced by for_each().

void Index::cursor::step ( unsigned  d)
inline

Definition at line 365 of file Index.h.

References Current, Dim, and Stride.

Referenced by for_each().

Member Data Documentation

int Index::cursor::Current
private

Definition at line 314 of file Index.h.

Referenced by offset(), operator*(), plugBase(), rewind(), and step().

unsigned Index::cursor::Dim
private

Definition at line 317 of file Index.h.

Referenced by offset(), plugBase(), rewind(), and step().

int Index::cursor::First
private

Definition at line 316 of file Index.h.

Referenced by plugBase(), and rewind().

const Index* Index::cursor::I
private

Definition at line 318 of file Index.h.

Referenced by id(), and plugBase().

int Index::cursor::Stride
private

Definition at line 315 of file Index.h.

Referenced by offset(), plugBase(), and step().


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