#include <OpenMapper.h>
Public Types | |
typedef List< Edge< T > * > | EdgeList |
typedef List< Vertex< T > * > | VertexList |
Public Member Functions | |
void | AddEdge (Edge< T > *pEdge) |
void | AddVertex (Vertex< T > *pVertex) |
void | Clear () |
const EdgeList & | GetEdges () const |
const VertexList & | GetVertices () const |
Graph () | |
virtual | ~Graph () |
Protected Attributes | |
EdgeList | m_Edges |
VertexList | m_Vertices |
typedef List<Edge<T>*> karto::Graph< T >::EdgeList |
Type definition for list of edges
Definition at line 464 of file OpenMapper.h.
typedef List<Vertex<T>*> karto::Graph< T >::VertexList |
Type definition for list of vertices
Definition at line 459 of file OpenMapper.h.
karto::Graph< T >::Graph | ( | ) | [inline] |
Default constructor
Definition at line 470 of file OpenMapper.h.
virtual karto::Graph< T >::~Graph | ( | ) | [inline, virtual] |
Destructor
Definition at line 477 of file OpenMapper.h.
void karto::Graph< T >::AddEdge | ( | Edge< T > * | pEdge | ) | [inline] |
void karto::Graph< T >::AddVertex | ( | Vertex< T > * | pVertex | ) | [inline] |
Adds and indexes the given vertex into the map
pVertex | vertex |
Definition at line 487 of file OpenMapper.h.
void karto::Graph< T >::Clear | ( | ) | [inline] |
Deletes the graph data
Definition at line 504 of file OpenMapper.h.
const EdgeList& karto::Graph< T >::GetEdges | ( | ) | const [inline] |
const VertexList& karto::Graph< T >::GetVertices | ( | ) | const [inline] |
EdgeList karto::Graph< T >::m_Edges [protected] |
Edges of this graph
Definition at line 550 of file OpenMapper.h.
VertexList karto::Graph< T >::m_Vertices [protected] |
Map of names to vector of vertices
Definition at line 545 of file OpenMapper.h.