Dummy EntitySequence for use in querying set container. More...
#include <TypeSequenceManager.hpp>
Public Member Functions | |
DummySequence (EntityHandle start) | |
EntitySequence * | split (EntityHandle) |
Split this sequence into two consecutive sequences. More... | |
SequenceData * | create_data_subset (EntityHandle, EntityHandle) const |
Create a new SequenceData that is a copy of a subset of the one referenced by this sequence. More... | |
void | get_const_memory_use (unsigned long &a, unsigned long &b) const |
Get memory characteristcs that are the same for all entities. More... | |
unsigned long | get_per_entity_memory_use (EntityHandle, EntityHandle) const |
Get portion of memory use that varies per entity. More... | |
![]() | |
EntitySequence (EntityHandle start, EntityID count, SequenceData *dat) | |
virtual | ~EntitySequence () |
EntityType | type () const |
EntityHandle | start_handle () const |
EntityHandle | end_handle () const |
SequenceData * | data () const |
void | data (SequenceData *ptr) |
EntityID | size () const |
bool | using_entire_data () const |
True if SequenceData has no holes and is used only by this EntitySequence. More... | |
virtual int | values_per_entity () const |
Integer value used in finding appropriate SequenceData. More... | |
virtual ErrorCode | merge (EntitySequence &other) |
Merge this sequence with another. More... | |
virtual ErrorCode | pop_back (EntityID count) |
Erase entities in range: (end_handle()-count, end_handle()]. More... | |
virtual ErrorCode | pop_front (EntityID count) |
Erase entities in range: [start_handle(), start_handle()+count) More... | |
Additional Inherited Members | |
![]() | |
EntitySequence (EntityHandle h) | |
EntitySequence (EntitySequence &split_from, EntityHandle here) | |
SequenceData * | create_data_subset (EntityHandle start_handle, EntityHandle end_handle, int num_sequence_arrays, unsigned const *bytes_per_element) const |
ErrorCode | prepend_entities (EntityID count) |
ErrorCode | append_entities (EntityID count) |
Dummy EntitySequence for use in querying set container.
Definition at line 40 of file TypeSequenceManager.hpp.
|
inline |
Definition at line 43 of file TypeSequenceManager.hpp.
|
inlinevirtual |
Create a new SequenceData that is a copy of a subset of the one referenced by this sequence.
Create a new SequenceData that is a copy of a subset of the SequenceData referenced by this EntitySequence. Do not make any changes to this EntitySequence or the current SequenceData.
Implements moab::EntitySequence.
Definition at line 49 of file TypeSequenceManager.hpp.
|
inlinevirtual |
Get memory characteristcs that are the same for all entities.
Get charactersitic constant memory use for all entities in sequence.
bytes_per_entity | The total bytes consumed for each entity in the underlying SequenceData. It is assumed that the same amount of memory is consumed for unused portions of the SequenceData. |
size_of_sequence | The size of the leaf subclass of this class |
Implements moab::EntitySequence.
Definition at line 54 of file TypeSequenceManager.hpp.
|
inlinevirtual |
Get portion of memory use that varies per entity.
Reimplemented from moab::EntitySequence.
Definition at line 58 of file TypeSequenceManager.hpp.
|
inlinevirtual |
Split this sequence into two consecutive sequences.
Split this sequence into two sequences.
here | New sequences should be [start_handle(),here) & [here,end_handle()] |
Implements moab::EntitySequence.
Definition at line 45 of file TypeSequenceManager.hpp.