Chombo + EB
3.0
|
#include <BoxLayoutData.H>
Public Member Functions | |
virtual | ~AliasDataFactory () |
AliasDataFactory (BoxLayoutData< T > *a_original, const Interval &interval) | |
void | define (BoxLayoutData< T > *a_original, const Interval &interval) |
virtual T * | create (const Box &box, int ncomps, const DataIndex &a_datInd) const |
Public Member Functions inherited from DataFactory< T > | |
virtual | ~DataFactory () |
virtual bool | callDelete () const |
Protected Attributes | |
BoxLayoutData< T > * | m_origPointer |
Interval | m_interval |
|
inlinevirtual |
References DataFactory< T >::create().
AliasDataFactory< T >::AliasDataFactory | ( | BoxLayoutData< T > * | a_original, |
const Interval & | interval | ||
) |
References BoxLayoutData< T >::define().
void AliasDataFactory< T >::define | ( | BoxLayoutData< T > * | a_original, |
const Interval & | interval | ||
) |
References BoxLayoutData< T >::interval().
|
virtual |
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< T >.
References CH_assert.
|
protected |
|
protected |