EpetraExt Development
Loading...
Searching...
No Matches
EpetraExt::StructuralTransform< T, U > Class Template Reference

#include <EpetraExt_Transform.h>

Inheritance diagram for EpetraExt::StructuralTransform< T, U >:

Public Member Functions

bool fwd ()
 Forward transfer of data from orig object input in the operator() method call to the new object created in this same call.
bool rvs ()
 Reverse transfer of data from new object created in the operator() method call to the orig object input to this same method.
virtual ~StructuralTransform ()
virtual ~Transform ()
virtual bool analyze (OriginalTypeRef orig)
 Initial analysis phase of transform.
virtual NewTypeRef construct ()
 Construction of new object as a result of the transform.
virtual bool isConstructed ()
 Check for whether transformed object has been constructed.
virtual NewTypeRef operator() (OriginalTypeRef orig)=0
 Analysis of transform operation on original object and construction of new object.

Additional Inherited Members

typedef T OriginalType
typedef T * OriginalTypePtr
typedef Teuchos::RCP< T > OriginalTypeRCP
typedef T & OriginalTypeRef
typedef U NewType
typedef U * NewTypePtr
typedef Teuchos::RCP< U > NewTypeRCP
typedef U & NewTypeRef
 Transform ()
 Default constructor, protected to allow only derived classes to use.
OriginalTypePtr origObj_
NewTypePtr newObj_

Detailed Description

template<typename T, typename U>
class EpetraExt::StructuralTransform< T, U >

Definition at line 266 of file EpetraExt_Transform.h.

Constructor & Destructor Documentation

◆ ~StructuralTransform()

template<typename T, typename U>
virtual EpetraExt::StructuralTransform< T, U >::~StructuralTransform ( )
inlinevirtual

Definition at line 272 of file EpetraExt_Transform.h.

Member Function Documentation

◆ fwd()

template<typename T, typename U>
bool EpetraExt::StructuralTransform< T, U >::fwd ( )
inlinevirtual

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.

Preconditions:

Invariants:

Postconditions:

Implements EpetraExt::Transform< T, U >.

Definition at line 269 of file EpetraExt_Transform.h.

◆ rvs()

template<typename T, typename U>
bool EpetraExt::StructuralTransform< T, U >::rvs ( )
inlinevirtual

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.

Preconditions:

Invariants:

Postconditions:

Implements EpetraExt::Transform< T, U >.

Definition at line 270 of file EpetraExt_Transform.h.


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