GlobeEngine
geGraph::UndirectedEdge< T > Class Template Reference

#include <UndirectedEdge.h>

Inheritance diagram for geGraph::UndirectedEdge< T >:
geGraph::DirectedEdge< T > geGraph::WeightedUndirectedEdge< T > geGraph::WeightedUndirectedPolylineEdge< T >

Public Member Functions

 UndirectedEdge ()
 
 UndirectedEdge (T _node1, T _node2)
 
 UndirectedEdge (T _uid, T _node1, T _node2)
 
void create (T _uid, T _node1, T _node2)
 
void setNodes (T _node1, T _node2)
 
const T * getNodes () const
 
getOppositeNode (T _nodeID) const
 
bool isIDaNeighborNode (T _nodeID)
 
void mark ()
 
void unmark ()
 
bool isMarked ()
 

Protected Attributes

bool marked
 
uid
 
nodes [2]
 

Friends

std::ostream & operator<< (std::ostream &out, const UndirectedEdge< T > &edge)
 

Constructor & Destructor Documentation

template<class T >
geGraph::UndirectedEdge< T >::UndirectedEdge ( )
inline
template<class T >
geGraph::UndirectedEdge< T >::UndirectedEdge ( _node1,
_node2 
)
inline
template<class T >
geGraph::UndirectedEdge< T >::UndirectedEdge ( _uid,
_node1,
_node2 
)
inline

Member Function Documentation

template<class T >
void geGraph::UndirectedEdge< T >::create ( _uid,
_node1,
_node2 
)
inline
template<class T >
const T* geGraph::UndirectedEdge< T >::getNodes ( ) const
inline
template<class T >
T geGraph::UndirectedEdge< T >::getOppositeNode ( _nodeID) const
inline
template<class T >
bool geGraph::UndirectedEdge< T >::isIDaNeighborNode ( _nodeID)
inline
template<class T >
bool geGraph::UndirectedEdge< T >::isMarked ( )
inline
template<class T >
void geGraph::UndirectedEdge< T >::mark ( )
inline
template<class T >
void geGraph::UndirectedEdge< T >::setNodes ( _node1,
_node2 
)
inline
template<class T >
void geGraph::UndirectedEdge< T >::unmark ( )
inline

Friends And Related Function Documentation

template<class T >
std::ostream& operator<< ( std::ostream &  out,
const UndirectedEdge< T > &  edge 
)
friend

Member Data Documentation

template<class T >
bool geGraph::UndirectedEdge< T >::marked
protected
template<class T >
T geGraph::UndirectedEdge< T >::nodes[2]
protected
template<class T >
T geGraph::UndirectedEdge< T >::uid
protected

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