EpetraExt Development
Public Types | Public Member Functions | Protected Types | Protected Attributes
EpetraExt::Transform_Composite< T > Class Template Reference

Composition Class for Epetra Transform SameType Operators. More...

#include <EpetraExt_Transform_Composite.h>

Inheritance diagram for EpetraExt::Transform_Composite< T >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef SameTypeTransform< T > * TransformTypePtr

Public Member Functions

 Transform_Composite ()
 EpetraExt::Transform_Composite Constructor.
virtual ~Transform_Composite ()
 EpetraExt::Transform_Composite Destructor.
void addTransform (TransformTypePtr new_trans)
 Transform Addition.
virtual Transform< T, T >
::NewTypeRef 
operator() (typename Transform< T, T >::OriginalTypeRef orig)
 Analysis phase generates plan and check feasibility.
virtual bool fwd ()
 Forward Data Transfer.
virtual bool rvs ()

Protected Types

typedef std::list
< TransformTypePtr >::iterator 
TransListIter
typedef std::list
< TransformTypePtr >
::reverse_iterator 
TransListRvsIter

Protected Attributes

std::list< TransformTypePtrtransList_

Detailed Description

template<typename T>
class EpetraExt::Transform_Composite< T >

Composition Class for Epetra Transform SameType Operators.

This class allows SameType Transforms to be composed as a single Transform.

Definition at line 47 of file EpetraExt_Transform_Composite.h.


Member Typedef Documentation

template<typename T >
typedef SameTypeTransform<T>* EpetraExt::Transform_Composite< T >::TransformTypePtr

Reimplemented from EpetraExt::SameTypeTransform< T >.

Definition at line 52 of file EpetraExt_Transform_Composite.h.

template<typename T >
typedef std::list<TransformTypePtr>::iterator EpetraExt::Transform_Composite< T >::TransListIter [protected]

Definition at line 96 of file EpetraExt_Transform_Composite.h.

template<typename T >
typedef std::list<TransformTypePtr>::reverse_iterator EpetraExt::Transform_Composite< T >::TransListRvsIter [protected]

Definition at line 97 of file EpetraExt_Transform_Composite.h.


Constructor & Destructor Documentation

template<typename T >
EpetraExt::Transform_Composite< T >::Transform_Composite ( ) [inline]

EpetraExt::Transform_Composite Constructor.

Definition at line 55 of file EpetraExt_Transform_Composite.h.

template<typename T >
EpetraExt::Transform_Composite< T >::~Transform_Composite ( ) [virtual]

EpetraExt::Transform_Composite Destructor.

Definition at line 105 of file EpetraExt_Transform_Composite.h.


Member Function Documentation

template<typename T >
void EpetraExt::Transform_Composite< T >::addTransform ( TransformTypePtr  new_trans)

Transform Addition.

Add SameType Transform to composition. Order of Addition == Order of Application

Definition at line 115 of file EpetraExt_Transform_Composite.h.

template<typename T >
Transform< T, T >::NewTypeRef EpetraExt::Transform_Composite< T >::operator() ( typename Transform< T, T >::OriginalTypeRef  orig) [virtual]

Analysis phase generates plan and check feasibility.

Analysis of transform operation on original object and construction of new object.

Returns:
Returns a pointer to the newly created object of type NewTypePtr. The Transform object maintains ownership of this new object and deletes as a part of it's destruction.

Definition at line 124 of file EpetraExt_Transform_Composite.h.

template<typename T >
bool EpetraExt::Transform_Composite< T >::fwd ( ) [virtual]

Forward Data Transfer.

Forward transfer of data from orig object input in the operator() method call to the new object created in this same call. Returns true is operation is successful.

Implements EpetraExt::Transform< T, T >.

Definition at line 140 of file EpetraExt_Transform_Composite.h.

template<typename T >
bool EpetraExt::Transform_Composite< T >::rvs ( ) [virtual]

Reverse transfer of data from new object created in the operator() method call to the orig object input to this same method. Returns true if operation is successful.

Implements EpetraExt::Transform< T, T >.

Definition at line 155 of file EpetraExt_Transform_Composite.h.


Member Data Documentation

template<typename T >
std::list<TransformTypePtr> EpetraExt::Transform_Composite< T >::transList_ [protected]

Definition at line 99 of file EpetraExt_Transform_Composite.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines