#include <IVSFAB.H>
Factory class to produce IVSFABs. This is needed for LevelData construction.
Public Member Functions | |
virtual IVSFAB< T > * | create (const Box &a_box, int a_ncomps, const DataIndex &a_dit) const |
factory function. | |
IVSFABFactory (const LayoutData< IntVectSet > &a_sets) | |
virtual | ~IVSFABFactory () |
Private Member Functions | |
IVSFABFactory (const IVSFABFactory< T > &a_inputs) | |
IVSFABFactory () | |
void | operator= (const IVSFABFactory< T > &a_inputs) |
Private Attributes | |
LayoutData< IntVectSet > | m_sets |
IVSFABFactory< T >::IVSFABFactory | ( | const LayoutData< IntVectSet > & | a_sets | ) | [inline] |
fills internal data with inputs
References LayoutData< T >::boxLayout(), LayoutData< T >::dataIterator(), LayoutData< T >::define(), IVSFABFactory< T >::m_sets, and LayoutIterator::ok().
virtual IVSFABFactory< T >::~IVSFABFactory | ( | ) | [inline, virtual] |
IVSFABFactory< T >::IVSFABFactory | ( | const IVSFABFactory< T > & | a_inputs | ) | [inline, private] |
References MayDay::Error().
IVSFABFactory< T >::IVSFABFactory | ( | ) | [inline, private] |
References MayDay::Error().
virtual IVSFAB<T>* IVSFABFactory< T >::create | ( | const Box & | a_box, | |
int | a_ncomps, | |||
const DataIndex & | a_dit | |||
) | const [inline, virtual] |
factory function.
Creates a new baseivfab object and returns a pointer to it. Responsiblitly for calling operator 'delete' on this pointer is passed to the user. Intersects a_sets[a_dit] from construction with input box because leveldata will expect that anyway when it tries to do a copy or a linearization.
Implements DataFactory< IVSFAB< T > >.
References IVSFABFactory< T >::m_sets.
void IVSFABFactory< T >::operator= | ( | const IVSFABFactory< T > & | a_inputs | ) | [inline, private] |
References MayDay::Error().
LayoutData<IntVectSet> IVSFABFactory< T >::m_sets [private] |
Referenced by IVSFABFactory< T >::create(), and IVSFABFactory< T >::IVSFABFactory().