MOAB: Mesh Oriented datABase
(version 5.5.0)
|
Public Member Functions | |
DumSeq (EntityHandle start, EntityID count, SequenceData *data2, int vals_per_ent=0) | |
DumSeq (SequenceData *data2, int vals_per_ent=0) | |
DumSeq (DumSeq &split_from, EntityHandle here) | |
virtual | ~DumSeq () |
EntitySequence * | split (EntityHandle here) |
Split this sequence into two consecutive sequences. More... | |
SequenceData * | create_data_subset (EntityHandle a, EntityHandle b) 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... | |
int | values_per_entity () const |
Integer value used in finding appropriate SequenceData. 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 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... | |
Private Attributes | |
int | valsPerEnt |
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) |
Definition at line 98 of file TestTypeSequenceManager.cpp.
|
inline |
Definition at line 104 of file TestTypeSequenceManager.cpp.
|
inline |
Definition at line 108 of file TestTypeSequenceManager.cpp.
|
inline |
Definition at line 113 of file TestTypeSequenceManager.cpp.
|
inlinevirtual |
Definition at line 118 of file TestTypeSequenceManager.cpp.
|
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 125 of file TestTypeSequenceManager.cpp.
References moab::SequenceData::subset().
|
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 130 of file TestTypeSequenceManager.cpp.
|
inlinevirtual |
Get portion of memory use that varies per entity.
Reimplemented from moab::EntitySequence.
Definition at line 134 of file TestTypeSequenceManager.cpp.
|
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 120 of file TestTypeSequenceManager.cpp.
|
inlinevirtual |
Integer value used in finding appropriate SequenceData.
This value is matched to input values by TypeSequenceManager to determine if an available, unused portino of a SequenceData can be used for a specific entity allocation. For example, it is used to find a SequenceData with the appropriate number of vertices per element when allocating elements. The default value is zero.
Reimplemented from moab::EntitySequence.
Definition at line 139 of file TestTypeSequenceManager.cpp.
|
private |
Definition at line 101 of file TestTypeSequenceManager.cpp.