Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

FABAliasDataFactory Class Reference

#include <BoxLayoutData.H>

Inheritance diagram for FABAliasDataFactory:

Inheritance graph
Collaboration diagram for FABAliasDataFactory:

Collaboration graph
List of all members.

Public Member Functions

virtual ~FABAliasDataFactory ()
 FABAliasDataFactory (const LayoutData< Real * > &aliases)
void define (const LayoutData< Real * > &aliases)
virtual FArrayBoxcreate (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

Constructor & Destructor Documentation

virtual FABAliasDataFactory::~FABAliasDataFactory  )  [inline, virtual]

FABAliasDataFactory::FABAliasDataFactory const LayoutData< Real * > &  aliases  ) 

Member Function Documentation

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 >.

void FABAliasDataFactory::define const LayoutData< Real * > &  aliases  ) 

Member Data Documentation

LayoutData<Real*> FABAliasDataFactory::aliasPtrs [protected]

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