Public Member Functions | Private Attributes | List of all members
karto::Edge< T > Class Template Reference

#include <Mapper.h>

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 201 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 303 of file Mapper.h.

template<typename T>
virtual karto::Edge< T >::~Edge ( )
inlinevirtual

Destructor

Definition at line 315 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 350 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 332 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 341 of file Mapper.h.

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

Sets the link payload

Parameters
pLabel

Definition at line 359 of file Mapper.h.

Member Data Documentation

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

Definition at line 367 of file Mapper.h.

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

Definition at line 365 of file Mapper.h.

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

Definition at line 366 of file Mapper.h.


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


open_karto
Author(s):
autogenerated on Mon Jun 10 2019 14:02:19