#include <BoxLayoutData.H>
Inheritance diagram for DataFactory< T >:
Public Methods | |
virtual T * | create (const Box &box, int ncomps, const DataIndex &a_datInd) const=0 |
factory function. creates a new 'T' object |
|
factory function. creates a new 'T' object creates a new 'T' object and returns a pointer to it. Responsiblitly for calling operator 'delete' on this pointer is passed to the user. Implemented in DefaultDataFactory< T >. |