STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::sequential::bgl_edge_reference< BaseReference, BGLGraph > Class Template Reference

BGL edge reference wrapper. More...

Public Member Functions

 bgl_edge_reference (BaseReference _ref, BGLGraph *_graph)
 Initializes an edge. More...
 
edge_descriptor descriptor () const
 Returns the edge descriptor of this edge.
 
vertex_descriptor source (void) const
 Returns the source vertex of this edge.
 
vertex_descriptor target (void) const
 Returns the target vertex of this edge.
 
size_t id () const
 Returns the ID of this edge.
 
edge_property & property ()
 Returns a reference to the edge property.
 

Public Types

typedef boost::property_map< BGLGraph, boost::vertex_name_t >::type::value_type vertex_descriptor
 
typedef bgl_edge_descriptor_adaptor< BGLGraph > edge_descriptor
 
typedef boost::property_map< BGLGraph, boost::edge_weight_t >::type::value_type edge_property
 

Detailed Description

template<class BaseReference, class BGLGraph>
class stapl::sequential::bgl_edge_reference< BaseReference, BGLGraph >

BGL edge reference wrapper.

Template Parameters
BaseReferenceType of the BGL edge.
BGLGraphType of the boost graph.

Constructor & Destructor Documentation

◆ bgl_edge_reference()

template<class BaseReference , class BGLGraph >
stapl::sequential::bgl_edge_reference< BaseReference, BGLGraph >::bgl_edge_reference ( BaseReference  _ref,
BGLGraph *  _graph 
)

Initializes an edge.

Parameters
_refThe BGL edge to be wrapped.
_graphThe graph which contains the edge.

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