SubBareField< T, Dim, S > Class Template Reference

#include <SubBareField.h>

Inheritance diagram for SubBareField< T, Dim, S >:

Inheritance graph
[legend]
Collaboration diagram for SubBareField< T, Dim, S >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef T T_t
typedef S Index_t
typedef SubFieldIter< T, Dim,
S > 
iterator
typedef iterator PETE_Expr_t
enum  { Dim_u = Dim }
enum  { IsExpr = 1 }

Public Member Functions

iterator begin () const
iterator end () const
const S & getDomain () const
void makeNDIndex (NDIndex< Dim > &i)
BareField< T, Dim > & getBareField () const
get ()
void get (T &r)
bool checkBrackets () const
template<class S2>
SubBareField< T, Dim, typename
SubFieldTraits< T, Dim, S,
S2 >::Return_t > 
operator[] (const S2 &s)
SubBareField< T, Dim, S > & operator= (const SubBareField< T, Dim, S > &)
SubBareField< T, Dim, S > & operator= (T)
template<class B>
SubBareField< T, Dim, S > & operator= (const PETE_Expr< B > &b)
void write (ostream &)
iterator MakeExpression () const
PETE_TUTree< OpParens< int >,
iterator
operator() (int arg)
PETE_TUTree< OpParens< pair<
int, int > >, iterator
operator() (int a1, int a2)
template<class S2>
 SubBareField (BareField< T, Dim > &f, const S2 &s)

Static Public Member Functions

static int getSubsetType ()

Protected Member Functions

bool checkAddBrackets (unsigned int)

Protected Attributes

BareField< T, Dim > & A
MyDomain
unsigned int Brackets

Friends

class BareField< T, Dim >

Detailed Description

template<class T, unsigned Dim, class S>
class SubBareField< T, Dim, S >

Definition at line 67 of file SubBareField.h.


Member Typedef Documentation

template<class T, unsigned Dim, class S>
typedef S SubBareField< T, Dim, S >::Index_t
 

Definition at line 74 of file SubBareField.h.

template<class T, unsigned Dim, class S>
typedef SubFieldIter<T,Dim,S> SubBareField< T, Dim, S >::iterator
 

Definition at line 75 of file SubBareField.h.

template<class T, unsigned Dim, class S>
typedef iterator SubBareField< T, Dim, S >::PETE_Expr_t
 

Definition at line 179 of file SubBareField.h.

template<class T, unsigned Dim, class S>
typedef T SubBareField< T, Dim, S >::T_t
 

Definition at line 73 of file SubBareField.h.


Member Enumeration Documentation

template<class T, unsigned Dim, class S>
anonymous enum
 

Enumerator:
Dim_u 

Definition at line 78 of file SubBareField.h.

template<class T, unsigned Dim, class S>
anonymous enum
 

Enumerator:
IsExpr 

Definition at line 178 of file SubBareField.h.


Constructor & Destructor Documentation

template<class T, unsigned Dim, class S>
template<class S2>
SubBareField< T, Dim, S >::SubBareField BareField< T, Dim > &  f,
const S2 &  s
[inline]
 

Definition at line 219 of file SubBareField.h.

References SubBareField< T, Dim, S >::A, SubBareField< T, Dim, S >::Brackets, SubFieldTraits< T, Dim, S1, S2 >::construct(), CT, SubBareField< T, Dim, S >::MyDomain, TAU_PROFILE, TAU_SUBFIELD, and TAU_TYPE_STRING.

Here is the call graph for this function:


Member Function Documentation

template<class T, unsigned int Dim, class S>
SubBareField< T, Dim, S >::iterator SubBareField< T, Dim, S >::begin  )  const
 

Definition at line 101 of file SubBareField.cpp.

References SubBareField< T, Dim, S >::A, BareField< T, Dim >::begin_if(), SubBareField< T, Dim, S >::Brackets, CT, SubBareField< T, Dim, S >::MyDomain, TAU_PROFILE, TAU_SUBFIELD, and TAU_TYPE_STRING.

Referenced by SubBareField< T, Dim, S >::MakeExpression(), and SubBareField< T, Dim, S >::operator()().

Here is the call graph for this function:

template<class T, unsigned int Dim, class S>
bool SubBareField< T, Dim, S >::checkAddBrackets unsigned  int  )  [protected]
 

Definition at line 41 of file SubBareField.cpp.

References SubBareField< T, Dim, S >::Brackets, CT, endl(), ERRORMSG, TAU_PROFILE, TAU_SUBFIELD, and TAU_TYPE_STRING.

Referenced by SubBareField< T, Dim, S >::operator[]().

Here is the call graph for this function:

template<class T, unsigned Dim, class S>
bool SubBareField< T, Dim, S >::checkBrackets  )  const [inline]
 

Definition at line 107 of file SubBareField.h.

References SubBareField< T, Dim, S >::Brackets.

Referenced by SubBareField< T, Dim, S >::get(), and SubBareField< T, Dim, S >::operator()().

template<class T, unsigned int Dim, class S>
SubBareField< T, Dim, S >::iterator SubBareField< T, Dim, S >::end  )  const
 

Definition at line 109 of file SubBareField.cpp.

References SubBareField< T, Dim, S >::A, SubBareField< T, Dim, S >::Brackets, CT, BareField< T, Dim >::end_if(), SubBareField< T, Dim, S >::MyDomain, TAU_PROFILE, TAU_SUBFIELD, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned int Dim, class S>
void SubBareField< T, Dim, S >::get T &  r  ) 
 

Definition at line 83 of file SubBareField.cpp.

References SubBareField< T, Dim, S >::A, SubBareField< T, Dim, S >::checkBrackets(), CT, SubBareField< T, Dim, S >::MyDomain, PAssert, TAU_PROFILE, TAU_SUBFIELD, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class S>
T SubBareField< T, Dim, S >::get  )  [inline]
 

Definition at line 100 of file SubBareField.h.

References r.

template<class T, unsigned Dim, class S>
BareField<T,Dim>& SubBareField< T, Dim, S >::getBareField  )  const [inline]
 

Definition at line 97 of file SubBareField.h.

References SubBareField< T, Dim, S >::A.

template<class T, unsigned Dim, class S>
const S& SubBareField< T, Dim, S >::getDomain void   )  const [inline]
 

Definition at line 89 of file SubBareField.h.

References SubBareField< T, Dim, S >::MyDomain.

template<class T, unsigned Dim, class S>
static int SubBareField< T, Dim, S >::getSubsetType  )  [inline, static]
 

Definition at line 104 of file SubBareField.h.

template<class T, unsigned Dim, class S>
iterator SubBareField< T, Dim, S >::MakeExpression  )  const [inline]
 

Definition at line 180 of file SubBareField.h.

References SubBareField< T, Dim, S >::begin().

Here is the call graph for this function:

template<class T, unsigned Dim, class S>
void SubBareField< T, Dim, S >::makeNDIndex NDIndex< Dim > &  i  )  [inline]
 

Definition at line 94 of file SubBareField.h.

References SubBareField< T, Dim, S >::MyDomain.

template<class T, unsigned Dim, class S>
PETE_TUTree< OpParens< pair<int,int> >, iterator> SubBareField< T, Dim, S >::operator() int  a1,
int  a2
[inline]
 

Definition at line 190 of file SubBareField.h.

References SubBareField< T, Dim, S >::begin(), and SubBareField< T, Dim, S >::checkBrackets().

Here is the call graph for this function:

template<class T, unsigned Dim, class S>
PETE_TUTree<OpParens<int>, iterator> SubBareField< T, Dim, S >::operator() int  arg  )  [inline]
 

Definition at line 185 of file SubBareField.h.

References SubBareField< T, Dim, S >::begin(), and SubBareField< T, Dim, S >::checkBrackets().

Here is the call graph for this function:

template<class T, unsigned Dim, class S>
template<class B>
SubBareField<T,Dim,S>& SubBareField< T, Dim, S >::operator= const PETE_Expr< B > &  b  )  [inline]
 

Reimplemented in SubField< T, Dim, M, C, S >.

Definition at line 160 of file SubBareField.h.

References assign(), b, CT, TAU_ASSIGN, TAU_PROFILE, TAU_SUBFIELD, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned int Dim, class S>
SubBareField< T, Dim, S > & SubBareField< T, Dim, S >::operator=  ) 
 

Reimplemented in SubField< T, Dim, M, C, S >.

Definition at line 71 of file SubBareField.cpp.

References assign(), CT, TAU_ASSIGN, TAU_PROFILE, TAU_SUBFIELD, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned int Dim, class S>
SubBareField< T, Dim, S > & SubBareField< T, Dim, S >::operator= const SubBareField< T, Dim, S > &   ) 
 

Definition at line 59 of file SubBareField.cpp.

References assign(), CT, TAU_ASSIGN, TAU_PROFILE, TAU_SUBFIELD, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class S>
template<class S2>
SubBareField<T,Dim,typename SubFieldTraits<T,Dim,S,S2>::Return_t> SubBareField< T, Dim, S >::operator[] const S2 &  s  )  [inline]
 

Reimplemented in SubField< T, Dim, M, C, S >.

Definition at line 123 of file SubBareField.h.

References SubBareField< T, Dim, S >::A, SubBareField< T, Dim, S >::Brackets, SubBareField< T, Dim, S >::checkAddBrackets(), SubFieldTraits< T, Dim, S1, S2 >::combine(), CT, SubBareField< T, Dim, S >::MyDomain, TAU_PROFILE, TAU_SUBFIELD, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned int Dim, class S>
void SubBareField< T, Dim, S >::write ostream &   ) 
 

Definition at line 120 of file SubBareField.cpp.

References SubBareField< T, Dim, S >::A, SubBareField< T, Dim, S >::Brackets, CT, SubBareField< T, Dim, S >::MyDomain, PAssert, TAU_IO, TAU_PROFILE, TAU_SUBFIELD, and TAU_TYPE_STRING.


Friends And Related Function Documentation

template<class T, unsigned Dim, class S>
friend class BareField< T, Dim > [friend]
 

Definition at line 69 of file SubBareField.h.


Member Data Documentation

template<class T, unsigned Dim, class S>
BareField<T,Dim>& SubBareField< T, Dim, S >::A [protected]
 

Definition at line 198 of file SubBareField.h.

Referenced by SubBareField< T, Dim, S >::begin(), SubBareField< T, Dim, S >::end(), SubBareField< T, Dim, S >::get(), SubBareField< T, Dim, S >::getBareField(), SubBareField< T, Dim, S >::operator[](), SubBareField< T, Dim, S >::SubBareField(), and SubBareField< T, Dim, S >::write().

template<class T, unsigned Dim, class S>
unsigned int SubBareField< T, Dim, S >::Brackets [protected]
 

Definition at line 205 of file SubBareField.h.

Referenced by SubBareField< T, Dim, S >::begin(), SubBareField< T, Dim, S >::checkAddBrackets(), SubBareField< T, Dim, S >::checkBrackets(), SubBareField< T, Dim, S >::end(), SubBareField< T, Dim, S >::operator[](), SubBareField< T, Dim, S >::SubBareField(), and SubBareField< T, Dim, S >::write().

template<class T, unsigned Dim, class S>
S SubBareField< T, Dim, S >::MyDomain [protected]
 

Definition at line 201 of file SubBareField.h.

Referenced by SubBareField< T, Dim, S >::begin(), SubBareField< T, Dim, S >::end(), SubBareField< T, Dim, S >::get(), SubBareField< T, Dim, S >::getDomain(), SubBareField< T, Dim, S >::makeNDIndex(), SubBareField< T, Dim, S >::operator[](), SubBareField< T, Dim, S >::SubBareField(), and SubBareField< T, Dim, S >::write().


The documentation for this class was generated from the following files:
Generated on Mon Jan 16 14:46:37 2006 for IPPL by  doxygen 1.4.6