OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
IndexedBareField< T, Dim, Brackets > Class Template Reference

#include <Assign.h>

Inheritance diagram for IndexedBareField< T, Dim, Brackets >:
Inheritance graph
[legend]
Collaboration diagram for IndexedBareField< T, Dim, Brackets >:
Collaboration graph
[legend]

Public Types

enum  { Dim_u = Dim }
 
enum  { IsExpr = 0 }
 
typedef T T_t
 
typedef
IndexedBareFieldIterator< T,
Dim
iterator
 
typedef iterator PETE_Expr_t
 
- Public Types inherited from PETE_Expr< IndexedBareField< T, Dim, Brackets > >
typedef IndexedBareField< T,
Dim, Brackets > 
Wrapped
 

Public Member Functions

IndexedBareField< T, Dim,
Brackets+1 > 
operator[] (const Index &idx)
 
IndexedBareField< T, Dim,
Brackets+1 > 
operator[] (int i)
 
IndexedBareField< T, Dim,
Brackets+1 > 
operator[] (const NDIndex< Dim > &ndidx)
 
void operator= (T x)
 
IndexedBareField< T, Dim,
Brackets > & 
operator= (const IndexedBareField< T, Dim, Brackets > &x)
 
template<class X , unsigned Dim1, unsigned Brackets1>
IndexedBareField< T, Dim,
Brackets > & 
operator= (const IndexedBareField< X, Dim1, Brackets1 > &x)
 
IndexedBareField< T, Dim,
Brackets > & 
operator= (const Index &x)
 
template<class B >
IndexedBareField< T, Dim,
Brackets > & 
operator= (const PETE_Expr< B > &x)
 
const NDIndex< Dim > & getDomain () const
 
BareField< T, Dim > & getBareField ()
 
const BareField< T, Dim > & getBareField () const
 
PETE_TUTree< OpParens< int >
, iterator
operator() (int arg)
 
PETE_TUTree< OpParens
< std::pair< int, int >
>, iterator
operator() (int a1, int a2)
 
T get ()
 
iterator begin () const
 
iterator end () const
 
void write (std::ostream &)
 
iterator MakeExpression () const
 
- Public Member Functions inherited from PETE_Expr< IndexedBareField< T, Dim, Brackets > >
IndexedBareField< T, Dim,
Brackets > & 
PETE_unwrap ()
 
const IndexedBareField< T, Dim,
Brackets > & 
PETE_unwrap () const
 

Protected Member Functions

 IndexedBareField (BareField< T, Dim > &a, const Index &idx)
 
 IndexedBareField (BareField< T, Dim > &a, int i)
 
 IndexedBareField (BareField< T, Dim > &a, const NDIndex< Brackets-1 > &idx, const Index &i)
 
 IndexedBareField (BareField< T, Dim > &a, const NDIndex< Dim > &ndidx)
 
void getsingle (T &)
 

Protected Attributes

BareField< T, Dim > & A
 
NDIndex< Brackets > Indexes
 

Friends

class IndexedBareField< T, Dim, Brackets-1 >
 
class BareField< T, Dim >
 

Detailed Description

template<class T, unsigned Dim, unsigned Brackets>
class IndexedBareField< T, Dim, Brackets >

Definition at line 21 of file Assign.h.

Member Typedef Documentation

template<class T, unsigned Dim, unsigned Brackets>
typedef IndexedBareFieldIterator<T,Dim> IndexedBareField< T, Dim, Brackets >::iterator

Definition at line 208 of file IndexedBareField.h.

template<class T, unsigned Dim, unsigned Brackets>
typedef iterator IndexedBareField< T, Dim, Brackets >::PETE_Expr_t

Definition at line 301 of file IndexedBareField.h.

template<class T, unsigned Dim, unsigned Brackets>
typedef T IndexedBareField< T, Dim, Brackets >::T_t

Definition at line 206 of file IndexedBareField.h.

Member Enumeration Documentation

template<class T, unsigned Dim, unsigned Brackets>
anonymous enum
Enumerator
Dim_u 

Definition at line 207 of file IndexedBareField.h.

template<class T, unsigned Dim, unsigned Brackets>
anonymous enum
Enumerator
IsExpr 

Definition at line 300 of file IndexedBareField.h.

Constructor & Destructor Documentation

template<class T, unsigned Dim, unsigned Brackets>
IndexedBareField< T, Dim, Brackets >::IndexedBareField ( BareField< T, Dim > &  a,
const Index idx 
)
inlineprotected

Definition at line 310 of file IndexedBareField.h.

template<class T, unsigned Dim, unsigned Brackets>
IndexedBareField< T, Dim, Brackets >::IndexedBareField ( BareField< T, Dim > &  a,
int  i 
)
inlineprotected

Definition at line 312 of file IndexedBareField.h.

template<class T, unsigned Dim, unsigned Brackets>
IndexedBareField< T, Dim, Brackets >::IndexedBareField ( BareField< T, Dim > &  a,
const NDIndex< Brackets-1 > &  idx,
const Index i 
)
inlineprotected

Definition at line 314 of file IndexedBareField.h.

template<class T, unsigned Dim, unsigned Brackets>
IndexedBareField< T, Dim, Brackets >::IndexedBareField ( BareField< T, Dim > &  a,
const NDIndex< Dim > &  ndidx 
)
inlineprotected

Definition at line 318 of file IndexedBareField.h.

Member Function Documentation

template<class T, unsigned Dim, unsigned Brackets>
iterator IndexedBareField< T, Dim, Brackets >::begin ( ) const
inline
template<class T, unsigned Dim, unsigned Brackets>
iterator IndexedBareField< T, Dim, Brackets >::end ( ) const
inline

Definition at line 294 of file IndexedBareField.h.

template<class T , unsigned Dim, unsigned Brackets>
T IndexedBareField< T, Dim, Brackets >::get ( )

Definition at line 89 of file IndexedBareField.hpp.

References BareField< T, Dim >::getsingle(), and T.

Here is the call graph for this function:

template<class T, unsigned Dim, unsigned Brackets>
BareField<T,Dim>& IndexedBareField< T, Dim, Brackets >::getBareField ( )
inline
template<class T, unsigned Dim, unsigned Brackets>
const BareField<T,Dim>& IndexedBareField< T, Dim, Brackets >::getBareField ( ) const
inline

Definition at line 267 of file IndexedBareField.h.

References IndexedBareField< T, Dim, Brackets >::A.

template<class T, unsigned Dim, unsigned Brackets>
const NDIndex<Dim>& IndexedBareField< T, Dim, Brackets >::getDomain ( void  ) const
inline
template<class T , unsigned Dim, unsigned Brackets>
void IndexedBareField< T, Dim, Brackets >::getsingle ( T r)
protected

Definition at line 78 of file IndexedBareField.hpp.

template<class T, unsigned Dim, unsigned Brackets>
iterator IndexedBareField< T, Dim, Brackets >::MakeExpression ( ) const
inline

Definition at line 302 of file IndexedBareField.h.

References IndexedBareField< T, Dim, Brackets >::begin().

Here is the call graph for this function:

template<class T, unsigned Dim, unsigned Brackets>
PETE_TUTree< OpParens<int>, iterator > IndexedBareField< T, Dim, Brackets >::operator() ( int  arg)
inline

Definition at line 273 of file IndexedBareField.h.

References IndexedBareField< T, Dim, Brackets >::begin(), CTAssert, and Dim.

Here is the call graph for this function:

template<class T, unsigned Dim, unsigned Brackets>
PETE_TUTree< OpParens< std::pair<int,int> >, iterator > IndexedBareField< T, Dim, Brackets >::operator() ( int  a1,
int  a2 
)
inline

Definition at line 280 of file IndexedBareField.h.

References IndexedBareField< T, Dim, Brackets >::begin(), CTAssert, and Dim.

Here is the call graph for this function:

template<class T, unsigned Dim, unsigned Brackets>
void IndexedBareField< T, Dim, Brackets >::operator= ( T  x)
inline

Definition at line 228 of file IndexedBareField.h.

References assign().

Here is the call graph for this function:

template<class T, unsigned Dim, unsigned Brackets>
IndexedBareField<T,Dim,Brackets>& IndexedBareField< T, Dim, Brackets >::operator= ( const IndexedBareField< T, Dim, Brackets > &  x)
inline

Definition at line 234 of file IndexedBareField.h.

References assign(), CTAssert, and Dim.

Here is the call graph for this function:

template<class T, unsigned Dim, unsigned Brackets>
template<class X , unsigned Dim1, unsigned Brackets1>
IndexedBareField<T,Dim,Brackets>& IndexedBareField< T, Dim, Brackets >::operator= ( const IndexedBareField< X, Dim1, Brackets1 > &  x)
inline

Definition at line 243 of file IndexedBareField.h.

References assign(), and CTAssert.

Here is the call graph for this function:

template<class T, unsigned Dim, unsigned Brackets>
IndexedBareField<T,Dim,Brackets>& IndexedBareField< T, Dim, Brackets >::operator= ( const Index x)
inline

Definition at line 251 of file IndexedBareField.h.

References assign().

Here is the call graph for this function:

template<class T, unsigned Dim, unsigned Brackets>
template<class B >
IndexedBareField<T,Dim,Brackets>& IndexedBareField< T, Dim, Brackets >::operator= ( const PETE_Expr< B > &  x)
inline

Definition at line 259 of file IndexedBareField.h.

References assign().

Here is the call graph for this function:

template<class T, unsigned Dim, unsigned Brackets>
IndexedBareField<T,Dim,Brackets+1> IndexedBareField< T, Dim, Brackets >::operator[] ( const Index idx)
inline
template<class T, unsigned Dim, unsigned Brackets>
IndexedBareField<T,Dim,Brackets+1> IndexedBareField< T, Dim, Brackets >::operator[] ( int  i)
inline
template<class T, unsigned Dim, unsigned Brackets>
IndexedBareField<T,Dim,Brackets+1> IndexedBareField< T, Dim, Brackets >::operator[] ( const NDIndex< Dim > &  ndidx)
inline
template<class T , unsigned Dim, unsigned Brackets>
void IndexedBareField< T, Dim, Brackets >::write ( std::ostream &  out)

Definition at line 50 of file IndexedBareField.hpp.

References assign(), Dim, and PInsist.

Referenced by operator<<().

Here is the call graph for this function:

Friends And Related Function Documentation

template<class T, unsigned Dim, unsigned Brackets>
friend class BareField< T, Dim >
friend

Definition at line 202 of file IndexedBareField.h.

template<class T, unsigned Dim, unsigned Brackets>
friend class IndexedBareField< T, Dim, Brackets-1 >
friend

Definition at line 201 of file IndexedBareField.h.

Member Data Documentation

template<class T, unsigned Dim, unsigned Brackets>
BareField<T,Dim>& IndexedBareField< T, Dim, Brackets >::A
protected
template<class T, unsigned Dim, unsigned Brackets>
NDIndex<Brackets> IndexedBareField< T, Dim, Brackets >::Indexes
protected

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