External property map to store vertex properties.
More...
|
| graph_external_property_map (PG const &, view_type const &props) |
| Creates an external vertex property map for the given graph using the provided view as storage. More...
|
|
template<typename Vertex , typename Functor2 > |
void | apply (Vertex v, Functor2 f2) |
| Applies the specified functor to the property associated with the provided vertex. More...
|
|
template<typename Vertex > |
void | put (Vertex v, value_type c) |
| Sets the property associated with the provided vertex to the provided value. More...
|
|
template<typename Vertex > |
value_type | get (Vertex v) const |
| Returns the property associated with the provided vertex. More...
|
|
bool | is_local () const |
|
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_property_map< PG, Property, View >
External property map to store vertex properties.
- Template Parameters
-
PG | The graph view. |
Property | Property type of the vertex. |
View | Type of the view for storing external properties. |
◆ graph_external_property_map()
template<class PG , class Property , class View >
Creates an external vertex 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 Vertex , typename Functor2 >
Applies the specified functor to the property associated with the provided vertex.
- Parameters
-
v | The vertex associated with the property. Can either be a vertex object/proxy/reference or a vertex descriptor. |
f2 | The functor to apply. |
◆ put()
template<class PG , class Property , class View >
template<typename Vertex >
Sets the property associated with the provided vertex to the provided value.
- Parameters
-
v | The vertex associated with the property. Can either be a vertex object/proxy/reference or a vertex descriptor. |
c | The value of the property. |
◆ get()
template<class PG , class Property , class View >
template<typename Vertex >
Returns the property associated with the provided vertex.
- Parameters
-
v | The vertex associated with the property. Can either be a vertex object/proxy/reference or a vertex descriptor. |
- Returns
- The value of the property.
The documentation for this class was generated from the following file: