MOAB: Mesh Oriented datABase
(version 5.4.1)
|
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. | |
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. | |
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. | |
int | values_per_entity () const |
Integer value used in finding appropriate SequenceData. | |
Private Attributes | |
int | valsPerEnt |
Definition at line 98 of file TestTypeSequenceManager.cpp.
DumSeq::DumSeq | ( | EntityHandle | start, |
EntityID | count, | ||
SequenceData * | data2, | ||
int | vals_per_ent = 0 |
||
) | [inline] |
Definition at line 104 of file TestTypeSequenceManager.cpp.
: EntitySequence( start, count, data2 ), valsPerEnt( vals_per_ent ) { }
DumSeq::DumSeq | ( | SequenceData * | data2, |
int | vals_per_ent = 0 |
||
) | [inline] |
Definition at line 108 of file TestTypeSequenceManager.cpp.
: EntitySequence( data2->start_handle(), data2->size(), data2 ), valsPerEnt( vals_per_ent ) { }
DumSeq::DumSeq | ( | DumSeq & | split_from, |
EntityHandle | here | ||
) | [inline] |
Definition at line 113 of file TestTypeSequenceManager.cpp.
: EntitySequence( split_from, here ), valsPerEnt( split_from.valsPerEnt ) { }
virtual DumSeq::~DumSeq | ( | ) | [inline, virtual] |
Definition at line 118 of file TestTypeSequenceManager.cpp.
{}
SequenceData* DumSeq::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 125 of file TestTypeSequenceManager.cpp.
References moab::SequenceData::subset().
void DumSeq::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 130 of file TestTypeSequenceManager.cpp.
{ a = b = 0; }
unsigned long DumSeq::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 134 of file TestTypeSequenceManager.cpp.
{
return 0;
}
EntitySequence* DumSeq::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 120 of file TestTypeSequenceManager.cpp.
{ return new DumSeq( *this, here ); }
int DumSeq::values_per_entity | ( | ) | const [inline, virtual] |
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.
{ return valsPerEnt; }
int DumSeq::valsPerEnt [private] |
Definition at line 101 of file TestTypeSequenceManager.cpp.