boost::ml_ug_edge Class Reference

Simple wrapper to store an ml::GraphEdge together with a ml::GraphNode, so that the source() function and the out_edge_iterator will always be able to return an edge which points away from a vertex. More...

#include <mlGraphToBoostUndirectedGraph.h>

List of all members.

Public Member Functions

 ml_ug_edge ()
 ml_ug_edge (ml::GraphNode *vertex, ml::GraphEdge *edge)
ml::GraphNode * source ()
ml::GraphNode * target ()
double & weight ()

Protected Attributes

ml::GraphNode * _vertex
ml::GraphEdge * _edge

Friends

bool operator== (const self &a, const self &b)
bool operator!= (const self &a, const self &b)


Detailed Description

Simple wrapper to store an ml::GraphEdge together with a ml::GraphNode, so that the source() function and the out_edge_iterator will always be able to return an edge which points away from a vertex.

Definition at line 147 of file mlGraphToBoostUndirectedGraph.h.


Constructor & Destructor Documentation

boost::ml_ug_edge::ml_ug_edge (  )  [inline]

Definition at line 154 of file mlGraphToBoostUndirectedGraph.h.

boost::ml_ug_edge::ml_ug_edge ( ml::GraphNode *  vertex,
ml::GraphEdge *  edge 
) [inline]

Definition at line 155 of file mlGraphToBoostUndirectedGraph.h.


Member Function Documentation

ml::GraphNode* boost::ml_ug_edge::source (  )  [inline]

Definition at line 159 of file mlGraphToBoostUndirectedGraph.h.

References _vertex.

ml::GraphNode* boost::ml_ug_edge::target (  )  [inline]

Definition at line 164 of file mlGraphToBoostUndirectedGraph.h.

References _edge, and _vertex.

double& boost::ml_ug_edge::weight (  )  [inline]

Definition at line 172 of file mlGraphToBoostUndirectedGraph.h.

References _edge.

Referenced by boost::ml_ug_edge_weight_map::operator[]().


Friends And Related Function Documentation

bool operator!= ( const self a,
const self b 
) [friend]

Definition at line 178 of file mlGraphToBoostUndirectedGraph.h.

bool operator== ( const self a,
const self b 
) [friend]

Definition at line 174 of file mlGraphToBoostUndirectedGraph.h.


Member Data Documentation

ml::GraphEdge* boost::ml_ug_edge::_edge [protected]

Definition at line 184 of file mlGraphToBoostUndirectedGraph.h.

Referenced by target(), and weight().

ml::GraphNode* boost::ml_ug_edge::_vertex [protected]

Definition at line 183 of file mlGraphToBoostUndirectedGraph.h.

Referenced by source(), and target().


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

Generated on Sat Sep 3 18:39:34 2011 for MeVisLab Toolbox Reference by  doxygen 1.5.8