The Graph Edge with edge property storage. More...
Public Member Functions | |
graph_property_edge (edge_descriptor_type const &ed, property_type const &p) | |
Creates an edge for the graph with the given descriptor and property. More... | |
property_reference | property (void) noexcept |
const_property_reference | property (void) const noexcept |
edge_descriptor_type | descriptor (void) const noexcept |
edge_id_type | id (void) const noexcept |
vertex_descriptor | source (void) const noexcept |
vertex_descriptor | target (void) const noexcept |
Public Types | |
typedef VertexDescriptor | vertex_descriptor |
typedef edge_descriptor_impl< vertex_descriptor > | edge_descriptor_type |
typedef edge_descriptor_type::edge_id_type | edge_id_type |
typedef Property | property_type |
typedef Property & | property_reference |
typedef Property const & | const_property_reference |
Protected Attributes | |
edge_descriptor_type | m_ed |
The edge descriptor for this edge. | |
property_type | m_property |
The property of this edge. | |
Friends | |
graph_property_edge | reverse (graph_property_edge const &other) |
Reverses the edge descriptor of an edge. More... | |
The Graph Edge with edge property storage.
If the graph uses no_property for the edge property type, then the graph edge contains just the edge_descriptor_impl. If the graph is with properties then the edge contains an edge_descriptor and the property.
stapl::sequential::graph_property_edge< VertexDescriptor, Property >::graph_property_edge | ( | edge_descriptor_type const & | ed, |
property_type const & | p | ||
) |
Creates an edge for the graph with the given descriptor and property.
ed | The descriptor of this edge. |
p | The property of this edge. |
|
friend |
Reverses the edge descriptor of an edge.
ed | The edge. |