AliasDataFactory< T > Class Template Reference

#include <BoxLayoutData.H>

Inheritance diagram for AliasDataFactory< T >:

Inheritance graph

List of all members.

template<class T>
class AliasDataFactory< T >

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

Constructor & Destructor Documentation

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

template<class T>
AliasDataFactory< T >::AliasDataFactory ( BoxLayoutData< T > *  a_original,
const Interval interval 
) [inline]

Member Function Documentation

template<class T>
void AliasDataFactory< T >::define ( BoxLayoutData< T > *  a_original,
const Interval interval 
) [inline]

template<class T>
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().

template<class T>
virtual bool AliasDataFactory< T >::threadSafe (  )  const [inline, virtual]

Reimplemented from DataFactory< T >.

References AliasDataFactory< T >::m_origPointer.

Member Data Documentation

template<class T>
BoxLayoutData<T>* AliasDataFactory< T >::m_origPointer [protected]

template<class T>
Interval AliasDataFactory< T >::m_interval [protected]

The documentation for this class was generated from the following files:

Generated on Fri Apr 5 04:24:51 2019 for Chombo + EB by  doxygen 1.5.5