#include <OpenMapper.h>
Public Member Functions | |
Edge (Vertex< T > *pSource, Vertex< T > *pTarget) | |
EdgeLabel * | GetLabel () |
Vertex< T > * | GetSource () const |
Vertex< T > * | GetTarget () const |
void | SetLabel (EdgeLabel *pLabel) |
virtual | ~Edge () |
Private Attributes | |
EdgeLabel * | m_pLabel |
Vertex< T > * | m_pSource |
Vertex< T > * | m_pTarget |
Represents an edge in a graph
Definition at line 305 of file OpenMapper.h.
karto::Edge< T >::Edge | ( | Vertex< T > * | pSource, |
Vertex< T > * | pTarget | ||
) | [inline] |
Constructs an edge from the source to target vertex
pSource | source vertex |
pTarget | target vertex |
Definition at line 313 of file OpenMapper.h.
virtual karto::Edge< T >::~Edge | ( | ) | [inline, virtual] |
Destructor
Definition at line 325 of file OpenMapper.h.
EdgeLabel* karto::Edge< T >::GetLabel | ( | ) | [inline] |
Vertex<T>* karto::Edge< T >::GetSource | ( | ) | const [inline] |
Vertex<T>* karto::Edge< T >::GetTarget | ( | ) | const [inline] |
void karto::Edge< T >::SetLabel | ( | EdgeLabel * | pLabel | ) | [inline] |
EdgeLabel* karto::Edge< T >::m_pLabel [private] |
Definition at line 377 of file OpenMapper.h.
Vertex<T>* karto::Edge< T >::m_pSource [private] |
Definition at line 375 of file OpenMapper.h.
Vertex<T>* karto::Edge< T >::m_pTarget [private] |
Definition at line 376 of file OpenMapper.h.