#include <SimObjectIDSortedVector.h>
Public Types | |
typedef vector< unsigned > ::const_iterator | const_iterator |
typedef vector< unsigned > ::iterator | iterator |
Public Member Functions | |
SimObjectIDSortedVector (const SimObject::ID::Vector &v, const nodeid_t localnode, bool sorted=true) | |
SimObjectIDSortedVector (const vector< SimObject::ID::Packed > &v, const nodeid_t localnode, bool sorted=true) | |
virtual | ~SimObjectIDSortedVector () |
const_iterator | beginBlock () |
const_iterator | endBlock () |
nodeid_t | nextBlock () |
bool | hasNextBlock () |
void | startBlockIteration () |
void | startBlockIterationFromLocal () |
const_iterator | localIDsBegin () |
const_iterator | localIDsEnd () |
const_iterator | begin () |
const_iterator | end () |
Protected Member Functions | |
void | init (const vector< SimObject::ID::Packed > *v, nodeid_t localnode, bool sorted) |
Protected Attributes | |
vector< unsigned > | index_vec |
vector< SimObject::ID::Packed > const * | vec |
const_iterator | begin_it |
const_iterator | end_it |
iterator | localids_begin_it |
const_iterator | localids_end_it |
Definition at line 7 of file SimObjectIDSortedVector.h.
typedef vector<unsigned>::const_iterator SimObjectIDSortedVector::const_iterator |
Definition at line 11 of file SimObjectIDSortedVector.h.
typedef vector<unsigned>::iterator SimObjectIDSortedVector::iterator |
Definition at line 13 of file SimObjectIDSortedVector.h.
SimObjectIDSortedVector::SimObjectIDSortedVector | ( | const SimObject::ID::Vector & | v, | |
const nodeid_t | localnode, | |||
bool | sorted = true | |||
) |
Definition at line 56 of file SimObjectIDSortedVector.cpp.
References init().
SimObjectIDSortedVector::SimObjectIDSortedVector | ( | const vector< SimObject::ID::Packed > & | v, | |
const nodeid_t | localnode, | |||
bool | sorted = true | |||
) |
Definition at line 62 of file SimObjectIDSortedVector.cpp.
References init().
SimObjectIDSortedVector::~SimObjectIDSortedVector | ( | ) | [virtual] |
Definition at line 80 of file SimObjectIDSortedVector.cpp.
SimObjectIDSortedVector::const_iterator SimObjectIDSortedVector::beginBlock | ( | ) |
SimObjectIDSortedVector::const_iterator SimObjectIDSortedVector::endBlock | ( | ) |
nodeid_t SimObjectIDSortedVector::nextBlock | ( | ) |
bool SimObjectIDSortedVector::hasNextBlock | ( | ) |
void SimObjectIDSortedVector::startBlockIteration | ( | ) |
void SimObjectIDSortedVector::startBlockIterationFromLocal | ( | ) |
Definition at line 100 of file SimObjectIDSortedVector.cpp.
References begin_it, end_it, localids_begin_it, and localids_end_it.
SimObjectIDSortedVector::const_iterator SimObjectIDSortedVector::localIDsBegin | ( | ) |
SimObjectIDSortedVector::const_iterator SimObjectIDSortedVector::localIDsEnd | ( | ) |
const_iterator SimObjectIDSortedVector::begin | ( | ) | [inline] |
const_iterator SimObjectIDSortedVector::end | ( | ) | [inline] |
void SimObjectIDSortedVector::init | ( | const vector< SimObject::ID::Packed > * | v, | |
nodeid_t | localnode, | |||
bool | sorted | |||
) | [protected] |
Definition at line 67 of file SimObjectIDSortedVector.cpp.
References begin_it, index_vec, localids_begin_it, localids_end_it, and vec.
Referenced by SimObjectIDSortedVector().
vector<unsigned> SimObjectIDSortedVector::index_vec [protected] |
Definition at line 51 of file SimObjectIDSortedVector.h.
Referenced by begin(), end(), hasNextBlock(), init(), nextBlock(), and startBlockIteration().
vector<SimObject::ID::Packed> const* SimObjectIDSortedVector::vec [protected] |
const_iterator SimObjectIDSortedVector::begin_it [protected] |
Definition at line 55 of file SimObjectIDSortedVector.h.
Referenced by beginBlock(), init(), nextBlock(), and startBlockIterationFromLocal().
const_iterator SimObjectIDSortedVector::end_it [protected] |
Definition at line 56 of file SimObjectIDSortedVector.h.
Referenced by endBlock(), hasNextBlock(), nextBlock(), startBlockIteration(), and startBlockIterationFromLocal().
iterator SimObjectIDSortedVector::localids_begin_it [protected] |
Definition at line 58 of file SimObjectIDSortedVector.h.
Referenced by init(), localIDsBegin(), and startBlockIterationFromLocal().
Definition at line 59 of file SimObjectIDSortedVector.h.
Referenced by init(), localIDsEnd(), and startBlockIterationFromLocal().