Chombo + EB + MF  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
[legend]

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

template<class T>
virtual AliasDataFactory< T >::~AliasDataFactory ( )
inlinevirtual
template<class T >
AliasDataFactory< T >::AliasDataFactory ( BoxLayoutData< T > *  a_original,
const Interval interval 
)

Member Function Documentation

template<class T >
void AliasDataFactory< T >::define ( BoxLayoutData< T > *  a_original,
const Interval interval 
)
template<class T >
T * AliasDataFactory< T >::create ( const Box box,
int  ncomps,
const DataIndex a_datInd 
) const
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.

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

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: