#include <Mapper.h>
Public Types | |
typedef std::map< Name, std::vector< Vertex< T > * > > | VertexMap |
Public Member Functions | |
void | AddEdge (Edge< T > *pEdge) |
void | AddVertex (const Name &rName, Vertex< T > *pVertex) |
void | Clear () |
const std::vector< Edge< T > * > & | GetEdges () const |
const VertexMap & | GetVertices () const |
Graph () | |
virtual | ~Graph () |
Protected Attributes | |
std::vector< Edge< T > * > | m_Edges |
VertexMap | m_Vertices |
typedef std::map<Name, std::vector<Vertex<T>*> > karto::Graph< T >::VertexMap |
karto::Graph< T >::Graph | ( | ) | [inline] |
virtual karto::Graph< T >::~Graph | ( | ) | [inline, virtual] |
void karto::Graph< T >::AddEdge | ( | Edge< T > * | pEdge | ) | [inline] |
void karto::Graph< T >::AddVertex | ( | const Name & | rName, |
Vertex< T > * | pVertex | ||
) | [inline] |
void karto::Graph< T >::Clear | ( | ) | [inline] |
const std::vector<Edge<T>*>& karto::Graph< T >::GetEdges | ( | ) | const [inline] |
const VertexMap& karto::Graph< T >::GetVertices | ( | ) | const [inline] |
std::vector<Edge<T>*> karto::Graph< T >::m_Edges [protected] |
VertexMap karto::Graph< T >::m_Vertices [protected] |