SimObjectIDSortedVector Class Reference

#include <SimObjectIDSortedVector.h>

Collaboration diagram for SimObjectIDSortedVector:

Collaboration graph
[legend]

List of all members.

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


Detailed Description

Definition at line 7 of file SimObjectIDSortedVector.h.


Member Typedef Documentation

Definition at line 11 of file SimObjectIDSortedVector.h.

typedef vector<unsigned>::iterator SimObjectIDSortedVector::iterator

Definition at line 13 of file SimObjectIDSortedVector.h.


Constructor & Destructor Documentation

SimObjectIDSortedVector::SimObjectIDSortedVector ( const SimObject::ID::Vector v,
const nodeid_t  localnode,
bool  sorted = true 
)

Definition at line 56 of file SimObjectIDSortedVector.cpp.

References init().

Here is the call graph for this function:

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().

Here is the call graph for this function:

SimObjectIDSortedVector::~SimObjectIDSortedVector (  )  [virtual]

Definition at line 80 of file SimObjectIDSortedVector.cpp.


Member Function Documentation

SimObjectIDSortedVector::const_iterator SimObjectIDSortedVector::beginBlock (  ) 

Definition at line 85 of file SimObjectIDSortedVector.cpp.

References begin_it.

SimObjectIDSortedVector::const_iterator SimObjectIDSortedVector::endBlock (  ) 

Definition at line 90 of file SimObjectIDSortedVector.cpp.

References end_it.

nodeid_t SimObjectIDSortedVector::nextBlock (  ) 

Definition at line 107 of file SimObjectIDSortedVector.cpp.

References begin_it, end_it, index_vec, and vec.

bool SimObjectIDSortedVector::hasNextBlock (  ) 

Definition at line 127 of file SimObjectIDSortedVector.cpp.

References end_it, and index_vec.

void SimObjectIDSortedVector::startBlockIteration (  ) 

Definition at line 95 of file SimObjectIDSortedVector.cpp.

References end_it, and index_vec.

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 (  ) 

Definition at line 116 of file SimObjectIDSortedVector.cpp.

References localids_begin_it.

SimObjectIDSortedVector::const_iterator SimObjectIDSortedVector::localIDsEnd (  ) 

Definition at line 121 of file SimObjectIDSortedVector.cpp.

References localids_end_it.

const_iterator SimObjectIDSortedVector::begin (  )  [inline]

Definition at line 37 of file SimObjectIDSortedVector.h.

References index_vec.

const_iterator SimObjectIDSortedVector::end (  )  [inline]

Definition at line 42 of file SimObjectIDSortedVector.h.

References index_vec.

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().


Member Data Documentation

vector<unsigned> SimObjectIDSortedVector::index_vec [protected]

Definition at line 51 of file SimObjectIDSortedVector.h.

Referenced by begin(), end(), hasNextBlock(), init(), nextBlock(), and startBlockIteration().

Definition at line 53 of file SimObjectIDSortedVector.h.

Referenced by init(), and nextBlock().

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().


The documentation for this class was generated from the following files:

Generated on Wed Jul 9 16:34:53 2008 for PCSIM by  doxygen 1.5.5