Chombo + EB  3.2
Public Member Functions | Protected Attributes | List of all members
AliasDataFactory< T > Class Template Reference

#include <BoxLayoutData.H>

Inheritance diagram for AliasDataFactory< T >:
Inheritance graph

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
- Public Member Functions inherited from DataFactory< T >
virtual ~DataFactory ()
virtual bool callDelete () const

Protected Attributes

BoxLayoutData< T > * m_origPointer
Interval m_interval

Constructor & Destructor Documentation

◆ ~AliasDataFactory()

template<class T>
virtual AliasDataFactory< T >::~AliasDataFactory ( )

◆ AliasDataFactory()

template<class T >
AliasDataFactory< T >::AliasDataFactory ( BoxLayoutData< T > *  a_original,
const Interval interval 

Member Function Documentation

◆ define()

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

◆ create()

template<class T >
T * AliasDataFactory< T >::create ( const Box box,
int  ncomps,
const DataIndex a_datInd 
) const

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.

◆ threadSafe()

template<class T>
virtual bool AliasDataFactory< T >::threadSafe ( ) const

Reimplemented from DataFactory< T >.

Member Data Documentation

◆ m_origPointer

template<class T>
BoxLayoutData<T>* AliasDataFactory< T >::m_origPointer

◆ m_interval

template<class T>
Interval AliasDataFactory< T >::m_interval

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