Main   Class Hierarchy   Classes   Compound List   Files   Compound Members   File Members   Pages  

PathFind::Graph< NODEINFO, EDGEINFO >::Edge Class Reference

#include <graph.h>

List of all members.


Detailed Description

template<class NODEINFO, class EDGEINFO>
class PathFind::Graph< NODEINFO, EDGEINFO >::Edge

Edge in a graph with generic data attached.

Definition at line 28 of file graph.h.

Public Member Functions

 Edge ()
 Edge (int targetNodeId, const EDGEINFO &info)
int getTargetNodeId () const
EDGEINFO & getInfo ()
const EDGEINFO & getInfo () const

Private Attributes

int m_targetNodeId
EDGEINFO m_info


Constructor & Destructor Documentation

template<class NODEINFO, class EDGEINFO>
PathFind::Graph< NODEINFO, EDGEINFO >::Edge::Edge  ) 
 

template<class NODEINFO, class EDGEINFO>
PathFind::Graph< NODEINFO, EDGEINFO >::Edge::Edge int  targetNodeId,
const EDGEINFO &  info
[inline]
 

Definition at line 33 of file graph.h.

References PathFind::Graph< NODEINFO, EDGEINFO >::Edge::m_info, and PathFind::Graph< NODEINFO, EDGEINFO >::Edge::m_targetNodeId.


Member Function Documentation

template<class NODEINFO, class EDGEINFO>
const EDGEINFO& PathFind::Graph< NODEINFO, EDGEINFO >::Edge::getInfo  )  const [inline]
 

Definition at line 48 of file graph.h.

References PathFind::Graph< NODEINFO, EDGEINFO >::Edge::m_info.

template<class NODEINFO, class EDGEINFO>
EDGEINFO& PathFind::Graph< NODEINFO, EDGEINFO >::Edge::getInfo  )  [inline]
 

Definition at line 43 of file graph.h.

References PathFind::Graph< NODEINFO, EDGEINFO >::Edge::m_info.

template<class NODEINFO, class EDGEINFO>
int PathFind::Graph< NODEINFO, EDGEINFO >::Edge::getTargetNodeId  )  const [inline]
 

Definition at line 38 of file graph.h.

References PathFind::Graph< NODEINFO, EDGEINFO >::Edge::m_targetNodeId.


Member Data Documentation

template<class NODEINFO, class EDGEINFO>
EDGEINFO PathFind::Graph< NODEINFO, EDGEINFO >::Edge::m_info [private]
 

Definition at line 56 of file graph.h.

Referenced by PathFind::Graph< NODEINFO, EDGEINFO >::Edge::Edge(), and PathFind::Graph< NODEINFO, EDGEINFO >::Edge::getInfo().

template<class NODEINFO, class EDGEINFO>
int PathFind::Graph< NODEINFO, EDGEINFO >::Edge::m_targetNodeId [private]
 

Definition at line 54 of file graph.h.

Referenced by PathFind::Graph< NODEINFO, EDGEINFO >::Edge::Edge(), and PathFind::Graph< NODEINFO, EDGEINFO >::Edge::getTargetNodeId().


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


Generated on Thu Aug 7 13:05:23 2003 by Doxygen1.3.1