DGtal 1.3.0
|
Aim: models of CVertexMap concept implement mapping between graph vertices and values. More...
#include <DGtal/graph/CVertexMap.h>
Public Types | |
typedef T::Vertex | Vertex |
typedef T::Value | Value |
Public Member Functions | |
BOOST_CONCEPT_USAGE (CVertexMap) | |
Private Attributes | |
T | myX |
Vertex | myVertex |
Value | myValue |
Aim: models of CVertexMap concept implement mapping between graph vertices and values.
Description of concept 'CVertexMap'
This concept is associated with concepts related to graph in DGtal (CUndirectedSimpleLocalGraph and CUndirectedSimpleGraph). Associates a value to each vertex of a graph.
Name | Expression | Type requirements | Return type | Precondition | Semantics | Post condition | Complexity |
---|---|---|---|---|---|---|---|
Set value | x.setValue(vertex, val) | vertex of type Vertex and val of type Value | void | set a given value val to a given vertex v | |||
Accessor | x(vertex) | vertex of type Vertex | Value | Access to the value at vertex |
Definition at line 96 of file CVertexMap.h.
typedef T::Value DGtal::concepts::CVertexMap< T >::Value |
Definition at line 103 of file CVertexMap.h.
typedef T::Vertex DGtal::concepts::CVertexMap< T >::Vertex |
Definition at line 102 of file CVertexMap.h.
|
inline |
Definition at line 106 of file CVertexMap.h.
References DGtal::concepts::CVertexMap< T >::myValue, DGtal::concepts::CVertexMap< T >::myVertex, DGtal::concepts::CVertexMap< T >::myX, and DGtal::concepts::ConceptUtils::sameType().
|
private |
Definition at line 116 of file CVertexMap.h.
Referenced by DGtal::concepts::CVertexMap< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 115 of file CVertexMap.h.
Referenced by DGtal::concepts::CVertexMap< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 114 of file CVertexMap.h.
Referenced by DGtal::concepts::CVertexMap< T >::BOOST_CONCEPT_USAGE().