moab
|
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. | |
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. | |
void | get_const_memory_use (unsigned long &a, unsigned long &b) const |
Get memory characteristcs that are the same for all entities. | |
unsigned long | get_per_entity_memory_use (EntityHandle, EntityHandle) const |
Get portion of memory use that varies per entity. |
Dummy EntitySequence for use in querying set container.
Definition at line 34 of file TypeSequenceManager.hpp.
moab::TypeSequenceManager::DummySequence::DummySequence | ( | EntityHandle | start | ) | [inline] |
Definition at line 36 of file TypeSequenceManager.hpp.
: EntitySequence( start ) {}
SequenceData* moab::TypeSequenceManager::DummySequence::create_data_subset | ( | EntityHandle | start_handle, |
EntityHandle | end_handle | ||
) | const [inline, virtual] |
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 41 of file TypeSequenceManager.hpp.
{ return 0; }
void moab::TypeSequenceManager::DummySequence::get_const_memory_use | ( | unsigned long & | bytes_per_entity, |
unsigned long & | size_of_sequence | ||
) | const [inline, virtual] |
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 44 of file TypeSequenceManager.hpp.
{ a = b = 0; }
unsigned long moab::TypeSequenceManager::DummySequence::get_per_entity_memory_use | ( | EntityHandle | first, |
EntityHandle | last | ||
) | const [inline, virtual] |
Get portion of memory use that varies per entity.
Reimplemented from moab::EntitySequence.
Definition at line 46 of file TypeSequenceManager.hpp.
{ return 0; }
EntitySequence* moab::TypeSequenceManager::DummySequence::split | ( | EntityHandle | here | ) | [inline, virtual] |
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 39 of file TypeSequenceManager.hpp.
{ return 0; }