#include <EpetraExt_Transform.h>
Inheritance diagram for EpetraExt::Transform< T, U >:
Public Types | |
Typedefs for templated classes | |
| typedef T | OriginalType |
| typedef T * | OriginalTypePtr |
| typedef T & | OriginalTypeRef |
| typedef U | NewType |
| typedef U * | NewTypePtr |
| typedef U & | NewTypeRef |
Public Member Functions | |
Pure Virtual Methods which must be implemented by subclasses | |
| virtual NewTypeRef | operator() (OriginalTypeRef orig)=0 |
| virtual bool | fwd ()=0 |
| virtual bool | rvs ()=0 |
Virtual functions with default implements allowing for optional | |
implementation by the Transform developer | |
| virtual bool | analyze (OriginalTypeRef orig) |
| virtual NewTypeRef | construct () |
| virtual bool | isConstructed () |
Protected Member Functions | |
| Transform () | |
Protected Attributes | |
| OriginalTypePtr | origObj_ |
| NewTypePtr | newObj_ |
This is the abstract definition for all Epetra Transform Operators. Depending on the type of Transform, several specializations are available: Structural, SameType, InPlace, View.
|
|||||||||
|
Default constructor, protected to allow only derived classes to use.
Initializes attributes |
|
||||||||||
|
Initial analysis phase of transform. Returns Preconditions: Invariants: Postconditions:
The default implementation calls method |
|
|||||||||
|
Construction of new object as a result of the transform. Preconditions: Invariants: Postconditions:
The default implementation returns internal attribute |
|
|||||||||
|
Forward transfer of data from Preconditions: Invariants: Postconditions: |
|
|||||||||
|
Check for whether transformed object has been constructed Preconditions: Invariants: Postconditions:
The default implementation returns |
|
||||||||||
|
Analysis of transform operation on original object and construction of new object. Preconditions: Invariants: Postconditions:
|
|
|||||||||
|
Reverse transfer of data from new object created in the Preconditions: Invariants: Postconditions: |
1.3.9.1