#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 |
virtual bool | threadSafe () const |
Protected Attributes | |
BoxLayoutData< T > * | m_origPointer |
Interval | m_interval |
virtual AliasDataFactory< T >::~AliasDataFactory | ( | ) | [inline, virtual] |
AliasDataFactory< T >::AliasDataFactory | ( | BoxLayoutData< T > * | a_original, | |
const Interval & | interval | |||
) | [inline] |
References AliasDataFactory< T >::define().
void AliasDataFactory< T >::define | ( | BoxLayoutData< T > * | a_original, | |
const Interval & | interval | |||
) | [inline] |
References AliasDataFactory< T >::m_interval, and AliasDataFactory< T >::m_origPointer.
Referenced by AliasDataFactory< T >::AliasDataFactory().
T * AliasDataFactory< T >::create | ( | const Box & | box, | |
int | ncomps, | |||
const DataIndex & | a_datInd | |||
) | const [inline, 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, AliasDataFactory< T >::m_interval, AliasDataFactory< T >::m_origPointer, and Interval::size().
virtual bool AliasDataFactory< T >::threadSafe | ( | ) | const [inline, virtual] |
BoxLayoutData<T>* AliasDataFactory< T >::m_origPointer [protected] |
Interval AliasDataFactory< T >::m_interval [protected] |
Referenced by AliasDataFactory< T >::create(), and AliasDataFactory< T >::define().