#include <BoxLayoutData.H>
Public Member Functions | |
virtual | ~FABAliasDataFactory () |
FABAliasDataFactory (const LayoutData< Real * > &aliases) | |
void | define (const LayoutData< Real * > &aliases) |
virtual FArrayBox * | create (const Box &box, int ncomps, const DataIndex &a_datInd) const |
factory function. creates a new 'T' object using an aliased dataPtr for T | |
Protected Attributes | |
LayoutData< Real * > | aliasPtrs |
virtual FABAliasDataFactory::~FABAliasDataFactory | ( | ) | [inline, virtual] |
FABAliasDataFactory::FABAliasDataFactory | ( | const LayoutData< Real * > & | aliases | ) |
void FABAliasDataFactory::define | ( | const LayoutData< Real * > & | aliases | ) |
virtual FArrayBox* FABAliasDataFactory::create | ( | const Box & | box, | |
int | ncomps, | |||
const DataIndex & | a_datInd | |||
) | const [virtual] |
factory function. creates a new 'T' object using an aliased dataPtr for T
creates a new 'T' object and returns a pointer to it. Responsiblitly for calling operator 'delete' on this pointer is passed to the user.
Implements DataFactory< FArrayBox >.
LayoutData<Real*> FABAliasDataFactory::aliasPtrs [protected] |