|
|
| graph_internal_property_map (view_type &graph) |
| |
|
| graph_internal_property_map (view_type &graph, Functor f) |
| |
| 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) |
| | Returns the property associated with the provided vertex. More...
|
| |
|
void | reset () |
| | Not used. Provided for compatibility.
|
| |
|
view_type * | get_view () |
| |
|
view_type & | view () const |
| |
|
bool | is_local () const |
| |
template<class PG, class Functor>
class stapl::graph_internal_property_map< PG, Functor >
Internal property map to access vertex properties stored on graph vertices.
- Template Parameters
-
| PG | The graph view. |
| Functor | Functor to extract the desired property from the vertex property. |
Functor is used to extract a sub-property from a property class. It should have following methods: . typedef value_type; . value_type get(Property p); . void put(Property p, value_type c); . apply(Property p, functor f);