karto::Edge< T > Class Template Reference

#include <Mapper.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 >

Definition at line 261 of file Mapper.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:
pSource 
pTarget 

Definition at line 269 of file Mapper.h.

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

Destructor

Definition at line 281 of file Mapper.h.


Member Function Documentation

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

Gets the link info

Returns:
link info

Definition at line 316 of file Mapper.h.

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

Gets the source vertex

Returns:
source vertex

Definition at line 298 of file Mapper.h.

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

Gets the target vertex

Returns:
target vertex

Definition at line 307 of file Mapper.h.

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

Sets the link payload

Parameters:
pTag 

Definition at line 325 of file Mapper.h.


Member Data Documentation

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

Definition at line 333 of file Mapper.h.

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

Definition at line 331 of file Mapper.h.

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

Definition at line 332 of file Mapper.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


karto
Author(s): SRI International (package maintained by Brian Gerkey)
autogenerated on Fri Jan 11 10:07:05 2013