Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

DataFactory< T > Class Template Reference

Factory object to data members of a BoxLayoutData container. More...

#include <BoxLayoutData.H>

Inheritance diagram for DataFactory< T >:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual T * create (const Box &box, int ncomps, const DataIndex &a_datInd) const=0
 factory function. creates a new 'T' object


Detailed Description

template<class T>
class DataFactory< T >

Factory object to data members of a BoxLayoutData container.


Member Function Documentation

template<class T>
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. Responsiblitly for calling operator 'delete' on this pointer is passed to the user.

Implemented in DefaultDataFactory< T >, BinFabFactory< T >, BaseIFFactory< T >, BaseIVFactory< T >, EBCellFactory, EBDataFactory, EBFaceFactory, EBFluxFactory, and EBGraphFactory.


The documentation for this class was generated from the following file:
Generated on Wed Apr 16 14:35:05 2003 for EBChombo by doxygen1.2.16