DGtal
0.6.devel
|
#include <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 values to vertices.
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 |
ImageContainerBySTLVector, ImageContainerBySTLMap ImageContainerByITKImage, ImageContainerByHashTree Any adapted type from STLMapToVertexMapAdapter
Definition at line 100 of file CVertexMap.h.
typedef T::Value DGtal::CVertexMap< T >::Value |
Definition at line 107 of file CVertexMap.h.
typedef T::Vertex DGtal::CVertexMap< T >::Vertex |
Definition at line 106 of file CVertexMap.h.
|
inline |
Definition at line 110 of file CVertexMap.h.
References DGtal::CVertexMap< T >::myValue, DGtal::CVertexMap< T >::myVertex, DGtal::CVertexMap< T >::myX, and DGtal::ConceptUtils::sameType().
|
private |
Definition at line 120 of file CVertexMap.h.
Referenced by DGtal::CVertexMap< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 119 of file CVertexMap.h.
Referenced by DGtal::CVertexMap< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 118 of file CVertexMap.h.
Referenced by DGtal::CVertexMap< T >::BOOST_CONCEPT_USAGE().