Main   Class Hierarchy   Classes   Compound List   Files   Compound Members   File Members   Pages  

PathFind::MarkerBoolVector Class Reference

#include <marker.h>

List of all members.


Detailed Description

Array for marking node IDs.

Uses a vector<bool> which is usually implemented in the standard library as a bitarray by template specialization.

See also:
Marker Classes

Definition at line 42 of file marker.h.

Public Member Functions

 MarkerBoolVector ()
bool get (int nodeId) const
void init (int numberNodes)
void set (int nodeId)
void unset (int nodeId)

Private Attributes

int m_numberNodes
vector< bool > m_array


Constructor & Destructor Documentation

PathFind::MarkerBoolVector::MarkerBoolVector  )  [inline]
 

Definition at line 45 of file marker.h.

References m_numberNodes.


Member Function Documentation

bool PathFind::MarkerBoolVector::get int  nodeId  )  const [inline]
 

Definition at line 50 of file marker.h.

References m_array, and m_numberNodes.

void PathFind::MarkerBoolVector::init int  numberNodes  )  [inline]
 

Definition at line 57 of file marker.h.

References m_array, and m_numberNodes.

void PathFind::MarkerBoolVector::set int  nodeId  )  [inline]
 

Definition at line 64 of file marker.h.

References m_array, and m_numberNodes.

void PathFind::MarkerBoolVector::unset int  nodeId  )  [inline]
 

Definition at line 71 of file marker.h.

References m_array, and m_numberNodes.


Member Data Documentation

vector<bool> PathFind::MarkerBoolVector::m_array [private]
 

Definition at line 81 of file marker.h.

Referenced by get(), init(), set(), and unset().

int PathFind::MarkerBoolVector::m_numberNodes [private]
 

Definition at line 79 of file marker.h.

Referenced by get(), init(), MarkerBoolVector(), set(), and unset().


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


Generated on Thu Aug 7 13:05:24 2003 by Doxygen1.3.1