#include <Mapper.h>
Public Member Functions | |
std::vector< Vertex< T > * > | GetAdjacentVertices () const |
const std::vector< Edge< T > * > & | GetEdges () const |
T * | GetObject () const |
Vertex (T *pObject) | |
virtual | ~Vertex () |
Private Member Functions | |
void | AddEdge (Edge< T > *pEdge) |
Private Attributes | |
std::vector< Edge< T > * > | m_Edges |
T * | m_pObject |
Friends | |
class | Edge< T > |
Represents an object in a graph
karto::Vertex< T >::Vertex | ( | T * | pObject | ) | [inline] |
virtual karto::Vertex< T >::~Vertex | ( | ) | [inline, virtual] |
void karto::Vertex< T >::AddEdge | ( | Edge< T > * | pEdge | ) | [inline, private] |
std::vector<Vertex<T>*> karto::Vertex< T >::GetAdjacentVertices | ( | ) | const [inline] |
const std::vector<Edge<T>*>& karto::Vertex< T >::GetEdges | ( | ) | const [inline] |
T* karto::Vertex< T >::GetObject | ( | ) | const [inline] |
std::vector<Edge<T>*> karto::Vertex< T >::m_Edges [private] |
T* karto::Vertex< T >::m_pObject [private] |