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_t > | This_t |
| typedef Engine< 1, T, Tag_t > | Engine_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_t & | operator= (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_t & | domain () const |
| Layout_t | layout () const |
| bool | isShared () const |
| Engine_t & | makeOwnCopy () |
| Pooma::DataObject_t * | dataObject () 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) |
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:
- T: The type of object stored. The only assumption made about T is that it have a copy constructor, and this is only required if the read method is invoked, which returns a T by value. All other properties of T are deferred to the ElementProperties class.
The Domain of this engine is an Interval<1>.
Subsetting Engine<1,T,Dynamic> returns an Engine<1,T,DynamicView>. See below.