MOAB: Mesh Oriented datABase  (version 5.4.1)
moab::TypeSequenceManager::DummySequence Class Reference

Dummy EntitySequence for use in querying set container. More...

#include <TypeSequenceManager.hpp>

+ Inheritance diagram for moab::TypeSequenceManager::DummySequence:
+ Collaboration diagram for moab::TypeSequenceManager::DummySequence:

Public Member Functions

 DummySequence (EntityHandle start)
EntitySequencesplit (EntityHandle)
 Split this sequence into two consecutive sequences.
SequenceDatacreate_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.

Detailed Description

Dummy EntitySequence for use in querying set container.

Definition at line 40 of file TypeSequenceManager.hpp.


Constructor & Destructor Documentation


Member Function Documentation

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 49 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.

Parameters:
bytes_per_entityThe 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_sequenceThe size of the leaf subclass of this class

Implements moab::EntitySequence.

Definition at line 54 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.

Returns:
Any per-entity memory use not accounted for in the results of get_const_memory_use.

Reimplemented from moab::EntitySequence.

Definition at line 58 of file TypeSequenceManager.hpp.

        {
            return 0;
        }

Split this sequence into two consecutive sequences.

Split this sequence into two sequences.

Parameters:
hereNew sequences should be [start_handle(),here) & [here,end_handle()]
Returns:
New sequence containing [here,end_handle()]

Implements moab::EntitySequence.

Definition at line 45 of file TypeSequenceManager.hpp.

        {
            return 0;
        }

List of all members.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines