#include <BoxLayoutData.H>
Public Member Functions | |
virtual | ~DataFactory () |
virtual T * | create (const Box &box, int ncomps, const DataIndex &a_datInd) const =0 |
factory function. creates a new 'T' object | |
virtual bool | callDelete () const |
virtual DataFactory< T >::~DataFactory | ( | ) | [inline, virtual] |
virtual T* DataFactory< T >::create | ( | const Box & | box, | |
int | ncomps, | |||
const DataIndex & | a_datInd | |||
) | const [pure virtual] |
factory function. creates a new 'T' object
creates a new 'T' object and returns a pointer to it.
Implemented in DefaultDataFactory< T >, FABAliasDataFactory, AliasDataFactory< T >, BaseEBCellFactory< T >, BaseIFFactory< T >, BaseIVFactory< T >, EBAliasDataFactory, EBCellFactory, EBDataFactory, EBFaceFactory, EBFluxFactory, EBGraphFactory, DefaultDataFactory< T >, and DefaultDataFactory< T >.
Referenced by BoxLayoutData< T >::allocateGhostVector(), and BoxLayoutData< T >::generalCopyTo().
virtual bool DataFactory< T >::callDelete | ( | ) | const [inline, virtual] |
Referenced by BoxLayoutData< T >::allocateGhostVector().