External property map to store edge properties.
More...
|
| | graph_external_edge_property_map (PG const &graph, view_type const &props) |
| | Creates an external edge property map for the given graph using the provided view as storage. More...
|
| |
| template<typename Edge , typename Functor2 > |
| void | apply (Edge e, Functor2 f2) |
| | Applies the specified functor to the property associated with the provided edge. More...
|
| |
| template<typename Edge > |
| void | put (Edge e, value_type c) |
| | Sets the property associated with the provided edge to the provided value. More...
|
| |
| template<typename Edge > |
| value_type | get (Edge e) |
| | Returns the property associated with the provided edge. More...
|
| |
|
void | reset () |
| | Not used. Provided for compatibility.
|
| |
|
|
typedef PG::vertex_descriptor | vertex_descriptor |
| |
|
typedef PG::vertex_reference | vertex_reference |
| |
|
typedef PG::reference | reference |
| |
|
typedef Property | value_type |
| |
|
typedef View | view_type |
| |
template<class PG, class Property, class View>
class stapl::graph_external_edge_property_map< PG, Property, View >
External property map to store edge properties.
- Template Parameters
-
| PG | The graph view. |
| Property | Property type of the edge. |
| View | Type of the view for storing external properties. |
◆ graph_external_edge_property_map()
template<class PG , class Property , class View >
Creates an external edge property map for the given graph using the provided view as storage.
- Parameters
-
| PG | The graph view. |
| props | The external view where properties will be stored. |
◆ apply()
template<class PG , class Property , class View >
template<typename Edge , typename Functor2 >
Applies the specified functor to the property associated with the provided edge.
- Parameters
-
| e | The edge associated with the property. Can either be an edge object/proxy/reference or an edge descriptor. |
| f2 | The functor to apply. |
◆ put()
template<class PG , class Property , class View >
template<typename Edge >
Sets the property associated with the provided edge to the provided value.
- Parameters
-
| e | The edge associated with the property. Can either be an edge object/proxy/reference or an edge descriptor. |
| c | The value of the property. |
◆ get()
template<class PG , class Property , class View >
template<typename Edge >
Returns the property associated with the provided edge.
- Parameters
-
| e | The edge associated with the property. Can either be an edge object/proxy/reference or an edge descriptor. |
- Returns
- The value of the property.
The documentation for this class was generated from the following file: