#include <OpenMapper.h>
Public Member Functions | |
List< Vertex< T > * > | GetAdjacentVertices () const |
const List< Edge< T > * > & | GetEdges () const |
T | GetVertexObject () const |
Vertex (T pObject) | |
virtual | ~Vertex () |
Private Member Functions | |
void | AddEdge (Edge< T > *pEdge) |
Private Attributes | |
List< Edge< T > * > | m_Edges |
T | m_pObject |
Friends | |
class | Edge< T > |
Represents a object in a graph
Definition at line 217 of file OpenMapper.h.
|
inline |
Constructs a vertex representing the given object
pObject | object |
Definition at line 226 of file OpenMapper.h.
|
inlinevirtual |
Destructor
Definition at line 234 of file OpenMapper.h.
|
inlineprivate |
Adds the given edge to this vertex's edge list
pEdge | edge to add |
Definition at line 288 of file OpenMapper.h.
|
inline |
Gets a list of the vertices adjacent to this vertex
Definition at line 260 of file OpenMapper.h.
|
inline |
Gets edges adjacent to this vertex
Definition at line 242 of file OpenMapper.h.
|
inline |
Gets the object associated with this vertex
Definition at line 251 of file OpenMapper.h.
|
friend |
Definition at line 219 of file OpenMapper.h.
|
private |
Definition at line 294 of file OpenMapper.h.
|
private |
Definition at line 293 of file OpenMapper.h.