Public Member Functions | Private Attributes
karto::Edge< T > Class Template Reference

#include <OpenMapper.h>

List of all members.

Public Member Functions

 Edge (Vertex< T > *pSource, Vertex< T > *pTarget)
EdgeLabelGetLabel ()
Vertex< T > * GetSource () const
Vertex< T > * GetTarget () const
void SetLabel (EdgeLabel *pLabel)
virtual ~Edge ()

Private Attributes

EdgeLabelm_pLabel
Vertex< T > * m_pSource
Vertex< T > * m_pTarget

Detailed Description

template<typename T>
class karto::Edge< T >

Represents an edge in a graph

Definition at line 305 of file OpenMapper.h.


Constructor & Destructor Documentation

template<typename T>
karto::Edge< T >::Edge ( Vertex< T > *  pSource,
Vertex< T > *  pTarget 
) [inline]

Constructs an edge from the source to target vertex

Parameters:
pSourcesource vertex
pTargettarget vertex

Definition at line 313 of file OpenMapper.h.

template<typename T>
virtual karto::Edge< T >::~Edge ( ) [inline, virtual]

Destructor

Definition at line 325 of file OpenMapper.h.


Member Function Documentation

template<typename T>
EdgeLabel* karto::Edge< T >::GetLabel ( ) [inline]

Gets the link info

Returns:
link info

Definition at line 360 of file OpenMapper.h.

template<typename T>
Vertex<T>* karto::Edge< T >::GetSource ( ) const [inline]

Gets the source vertex

Returns:
source vertex

Definition at line 342 of file OpenMapper.h.

template<typename T>
Vertex<T>* karto::Edge< T >::GetTarget ( ) const [inline]

Gets the target vertex

Returns:
target vertex

Definition at line 351 of file OpenMapper.h.

template<typename T>
void karto::Edge< T >::SetLabel ( EdgeLabel pLabel) [inline]

Sets the link payload

Parameters:
pLabeledge label

Definition at line 369 of file OpenMapper.h.


Member Data Documentation

template<typename T>
EdgeLabel* karto::Edge< T >::m_pLabel [private]

Definition at line 377 of file OpenMapper.h.

template<typename T>
Vertex<T>* karto::Edge< T >::m_pSource [private]

Definition at line 375 of file OpenMapper.h.

template<typename T>
Vertex<T>* karto::Edge< T >::m_pTarget [private]

Definition at line 376 of file OpenMapper.h.


The documentation for this class was generated from the following file:


nav2d_karto
Author(s): Sebastian Kasperski
autogenerated on Thu Aug 27 2015 14:07:25