Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class 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 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

Detailed Description

template<class T>
class DataFactory< T >

Factory object to data members of a BoxLayoutData container.


Constructor & Destructor Documentation

template<class T>
virtual DataFactory< T >::~DataFactory  )  [inline, virtual]
 


Member Function Documentation

template<class T>
virtual bool DataFactory< T >::callDelete  )  const [inline, virtual]
 

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.

Implemented in DefaultDataFactory< T >, FABAliasDataFactory, AliasDataFactory< T >, DefaultDataFactory< T >, and DefaultDataFactory< T >.


The documentation for this class was generated from the following file:
Generated on Wed Oct 5 14:00:25 2005 for Chombo&AMRSelfGravity by  doxygen 1.4.1