Engine< 1, T, Dynamic > Class Template Reference

Engine<1,T,Dynamic> (aka Dynamic-Engine) is an Engine that manages a contiguous, local, 1-dimensional, dynamically resizable, block of data. More...

#include <DynamicEngine.h>

Collaboration diagram for Engine< 1, T, Dynamic >:

Collaboration graph
[legend]

List of all members.

Public Types

enum  { brick = true }
enum  { dimensions = 1 }
enum  { hasDataObject = true }
enum  { dynamic = true }
enum  { zeroBased = false }
enum  { multiPatch = false }
typedef Dynamic Tag_t
typedef Engine< 1, T, Tag_tThis_t
typedef Engine< 1, T, Tag_tEngine_t
typedef DomainLayout< 1 > Layout_t
typedef Layout_t::PatchID_t PatchID_t
typedef Layout_t::CreateSize_t CreateSize_t
typedef Interval< 1 > Domain_t
typedef T Element_t
typedef T & ElementRef_t

Public Member Functions

 Engine ()
 Engine (const Domain_t &domain)
 Engine (const Domain_t &domain, const T &elementModel)
 Engine (const Layout_t &layout)
 Engine (const Node< Domain_t > &node)
 Engine (const Engine_t &model)
 Engine (const Engine_t &model, const Interval< 1 > &domain)
 ~Engine ()
Engine_toperator= (const Engine_t &model)
Element_t read (const Loc< 1 > &l) const
ElementRef_t operator() (const Loc< 1 > &l) const
Element_t read (int i) const
ElementRef_t operator() (int i) const
const Domain_tdomain () const
Layout_t layout () const
bool isShared () const
Engine_tmakeOwnCopy ()
Pooma::DataObject_tdataObject () const
const DataBlockPtr< T > & dataBlock () const
DataBlockPtr< T > dataBlock ()
Interval< 1 > create (CreateSize_t num)
template<class Dom >
void destroy (const Dom &killList)
template<class Iter >
void destroy (Iter begin, Iter end)
template<class Dom , class DeleteMethod >
void destroy (const Dom &killList, const DeleteMethod &method, bool offsetFlag=false)
template<class Iter , class DeleteMethod >
void destroy (Iter begin, Iter end, const DeleteMethod &method, bool offsetFlag=false)
void sync ()
void sync (const Domain_t &d)


Detailed Description

template<class T>
class Engine< 1, T, Dynamic >

Engine<1,T,Dynamic> (aka Dynamic-Engine) is an Engine that manages a contiguous, local, 1-dimensional, dynamically resizable, block of data.

Template Parameters:

The Domain of this engine is an Interval<1>.

Subsetting Engine<1,T,Dynamic> returns an Engine<1,T,DynamicView>. See below.


Member Typedef Documentation

template<class T >
typedef Dynamic Engine< 1, T, Dynamic >::Tag_t

template<class T >
typedef Engine<1,T,Tag_t> Engine< 1, T, Dynamic >::This_t

template<class T >
typedef Engine<1,T,Tag_t> Engine< 1, T, Dynamic >::Engine_t

template<class T >
typedef DomainLayout<1> Engine< 1, T, Dynamic >::Layout_t

template<class T >
typedef Layout_t::PatchID_t Engine< 1, T, Dynamic >::PatchID_t

template<class T >
typedef Layout_t::CreateSize_t Engine< 1, T, Dynamic >::CreateSize_t

template<class T >
typedef Interval<1> Engine< 1, T, Dynamic >::Domain_t

template<class T >
typedef T Engine< 1, T, Dynamic >::Element_t

template<class T >
typedef T& Engine< 1, T, Dynamic >::ElementRef_t


Member Enumeration Documentation

template<class T >
anonymous enum

Enumerator:
brick 

template<class T >
anonymous enum

Enumerator:
dimensions 

template<class T >
anonymous enum

Enumerator:
hasDataObject 

template<class T >
anonymous enum

Enumerator:
dynamic 

template<class T >
anonymous enum

Enumerator:
zeroBased 

template<class T >
anonymous enum

Enumerator:
multiPatch 


Constructor & Destructor Documentation

template<class T >
Engine< 1, T, Dynamic >::Engine (  ) 

template<class T >
Engine< 1, T, Dynamic >::Engine ( const Domain_t domain  )  [explicit]

template<class T >
Engine< 1, T, Dynamic >::Engine ( const Domain_t domain,
const T &  elementModel 
)

template<class T >
Engine< 1, T, Dynamic >::Engine ( const Layout_t layout  )  [explicit]

template<class T >
Engine< 1, T, Dynamic >::Engine ( const Node< Domain_t > &  node  )  [explicit]

template<class T >
Engine< 1, T, Dynamic >::Engine ( const Engine_t model  ) 

template<class T >
Engine< 1, T, Dynamic >::Engine ( const Engine_t model,
const Interval< 1 > &  domain 
)

template<class T >
Engine< 1, T, Dynamic >::~Engine (  ) 


Member Function Documentation

template<class T >
Engine_t& Engine< 1, T, Dynamic >::operator= ( const Engine_t model  ) 

template<class T >
Element_t Engine< 1, T, Dynamic >::read ( const Loc< 1 > &  l  )  const [inline]

template<class T >
ElementRef_t Engine< 1, T, Dynamic >::operator() ( const Loc< 1 > &  l  )  const [inline]

template<class T >
Element_t Engine< 1, T, Dynamic >::read ( int  i  )  const [inline]

template<class T >
ElementRef_t Engine< 1, T, Dynamic >::operator() ( int  i  )  const [inline]

template<class T >
const Domain_t& Engine< 1, T, Dynamic >::domain (  )  const [inline]

template<class T >
Layout_t Engine< 1, T, Dynamic >::layout (  )  const [inline]

template<class T >
bool Engine< 1, T, Dynamic >::isShared (  )  const [inline]

template<class T >
Engine_t& Engine< 1, T, Dynamic >::makeOwnCopy (  ) 

template<class T >
Pooma::DataObject_t* Engine< 1, T, Dynamic >::dataObject (  )  const [inline]

template<class T >
const DataBlockPtr<T>& Engine< 1, T, Dynamic >::dataBlock (  )  const [inline]

Referenced by checkDynamicID().

template<class T >
DataBlockPtr<T> Engine< 1, T, Dynamic >::dataBlock (  )  [inline]

template<class T >
Interval<1> Engine< 1, T, Dynamic >::create ( CreateSize_t  num  ) 

template<class T >
template<class Dom >
void Engine< 1, T, Dynamic >::destroy ( const Dom &  killList  )  [inline]

template<class T >
template<class Iter >
void Engine< 1, T, Dynamic >::destroy ( Iter  begin,
Iter  end 
) [inline]

template<class T >
template<class Dom , class DeleteMethod >
void Engine< 1, T, Dynamic >::destroy ( const Dom &  killList,
const DeleteMethod &  method,
bool  offsetFlag = false 
) [inline]

template<class T >
template<class Iter , class DeleteMethod >
void Engine< 1, T, Dynamic >::destroy ( Iter  begin,
Iter  end,
const DeleteMethod &  method,
bool  offsetFlag = false 
) [inline]

template<class T >
void Engine< 1, T, Dynamic >::sync (  )  [inline]

template<class T >
void Engine< 1, T, Dynamic >::sync ( const Domain_t d  ) 


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

Generated on Wed Mar 16 06:20:06 2011 for FreePOOMA by  doxygen 1.5.9