ParticleAttribElem< T, Dim > Class Template Reference

#include <ParticleAttribElem.h>

Inheritance diagram for ParticleAttribElem< T, Dim >:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef AppTypeTraits< T
>::Element_t 
Element_t
typedef ParticleAttribElemIterator<
T, Dim > 
iterator
typedef iterator PETE_Expr_t
enum  { IsExpr = 0 }

Public Member Functions

PETE_Expr_t MakeExpression () const
 ParticleAttribElem (ParticleAttrib< T > &pa, const vec< unsigned, Dim > &i)
 ParticleAttribElem (const ParticleAttribElem< T, Dim > &pae)
iterator begin () const
iterator end () const
size_t size () const
Element_toperator[] (size_t)
void create (size_t)
void destroy (size_t M, size_t I, bool optDestroy=true)
void destroy (const vector< pair< size_t, size_t > > &dlist, bool optDestroy=true)
template<unsigned SDim>
SubParticleAttrib< ParticleAttribElem<
T, Dim >, Element_t, SDim > 
operator[] (const SIndex< SDim > &s) const
template<class T1>
const ParticleAttribElem<
T, Dim > & 
operator= (const PETE_Expr< T1 > &rhs)
const ParticleAttribElem<
T, Dim > & 
operator= (const ParticleAttribElem< T, Dim > &rhs)
const ParticleAttribElem<
T, Dim > & 
operator= (Element_t rhs)

Friends

class ParticleAttribElemIterator< T, Dim >

Detailed Description

template<class T, unsigned Dim>
class ParticleAttribElem< T, Dim >

Definition at line 67 of file ParticleAttribElem.h.


Member Typedef Documentation

template<class T, unsigned Dim>
typedef AppTypeTraits<T>::Element_t ParticleAttribElem< T, Dim >::Element_t
 

Definition at line 73 of file ParticleAttribElem.h.

template<class T, unsigned Dim>
typedef ParticleAttribElemIterator<T,Dim> ParticleAttribElem< T, Dim >::iterator
 

Definition at line 74 of file ParticleAttribElem.h.

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

Definition at line 80 of file ParticleAttribElem.h.


Member Enumeration Documentation

template<class T, unsigned Dim>
anonymous enum
 

Enumerator:
IsExpr 

Definition at line 79 of file ParticleAttribElem.h.


Constructor & Destructor Documentation

template<class T, unsigned Dim>
ParticleAttribElem< T, Dim >::ParticleAttribElem ParticleAttrib< T > &  pa,
const vec< unsigned, Dim > &  i
[inline]
 

Definition at line 86 of file ParticleAttribElem.h.

template<class T, unsigned Dim>
ParticleAttribElem< T, Dim >::ParticleAttribElem const ParticleAttribElem< T, Dim > &  pae  )  [inline]
 

Definition at line 90 of file ParticleAttribElem.h.


Member Function Documentation

template<class T, unsigned Dim>
iterator ParticleAttribElem< T, Dim >::begin  )  const [inline]
 

Definition at line 94 of file ParticleAttribElem.h.

Referenced by ParticleAttribElem< T, Dim >::MakeExpression().

template<class T, unsigned Dim>
void ParticleAttribElem< T, Dim >::create size_t   )  [inline]
 

Definition at line 252 of file ParticleAttribElem.h.

template<class T, unsigned Dim>
void ParticleAttribElem< T, Dim >::destroy const vector< pair< size_t, size_t > > &  dlist,
bool  optDestroy = true
[inline]
 

Definition at line 265 of file ParticleAttribElem.h.

template<class T, unsigned Dim>
void ParticleAttribElem< T, Dim >::destroy size_t  M,
size_t  I,
bool  optDestroy = true
[inline]
 

Definition at line 258 of file ParticleAttribElem.h.

template<class T, unsigned Dim>
iterator ParticleAttribElem< T, Dim >::end  )  const [inline]
 

Definition at line 97 of file ParticleAttribElem.h.

References ParticleAttribElem< T, Dim >::size().

Here is the call graph for this function:

template<class T, unsigned Dim>
PETE_Expr_t ParticleAttribElem< T, Dim >::MakeExpression  )  const [inline]
 

Definition at line 81 of file ParticleAttribElem.h.

References ParticleAttribElem< T, Dim >::begin().

Here is the call graph for this function:

template<class T, unsigned Dim>
const ParticleAttribElem<T,Dim>& ParticleAttribElem< T, Dim >::operator= Element_t  rhs  )  [inline]
 

Definition at line 182 of file ParticleAttribElem.h.

References assign().

Here is the call graph for this function:

template<class T, unsigned Dim>
const ParticleAttribElem<T,Dim>& ParticleAttribElem< T, Dim >::operator= const ParticleAttribElem< T, Dim > &  rhs  )  [inline]
 

Definition at line 171 of file ParticleAttribElem.h.

References endl(), ERRORMSG, and ParticleAttribElem< T, Dim >::size().

Here is the call graph for this function:

template<class T, unsigned Dim>
template<class T1>
const ParticleAttribElem<T,Dim>& ParticleAttribElem< T, Dim >::operator= const PETE_Expr< T1 > &  rhs  )  [inline]
 

Definition at line 151 of file ParticleAttribElem.h.

References assign().

Here is the call graph for this function:

template<class T, unsigned Dim>
template<unsigned SDim>
SubParticleAttrib<ParticleAttribElem<T,Dim>, Element_t, SDim> ParticleAttribElem< T, Dim >::operator[] const SIndex< SDim > &  s  )  const [inline]
 

Definition at line 132 of file ParticleAttribElem.h.

template<class T, unsigned Dim>
ParticleAttribElem< T, Dim >::Element_t & ParticleAttribElem< T, Dim >::operator[] size_t   )  [inline]
 

Definition at line 246 of file ParticleAttribElem.h.

References get_PETE_Element().

Here is the call graph for this function:

template<class T, unsigned Dim>
size_t ParticleAttribElem< T, Dim >::size void   )  const [inline]
 

Definition at line 102 of file ParticleAttribElem.h.

Referenced by ParticleAttribElem< T, Dim >::end(), and ParticleAttribElem< T, Dim >::operator=().


Friends And Related Function Documentation

template<class T, unsigned Dim>
friend class ParticleAttribElemIterator< T, Dim > [friend]
 

Definition at line 69 of file ParticleAttribElem.h.


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