DGtal  0.6.devel
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Private Attributes
DGtal::CVertexMap< T > Struct Template Reference

#include <CVertexMap.h>

Inheritance diagram for DGtal::CVertexMap< T >:
Inheritance graph
[legend]
Collaboration diagram for DGtal::CVertexMap< T >:
Collaboration graph
[legend]

Public Types

typedef T::Vertex Vertex
typedef T::Value Value

Public Member Functions

 BOOST_CONCEPT_USAGE (CVertexMap)

Private Attributes

myX
Vertex myVertex
Value myValue

Detailed Description

template<typename T>
struct DGtal::CVertexMap< T >

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.

Associated types :

Notation

Definitions

Valid expressions and

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

Invariants

Models

ImageContainerBySTLVector, ImageContainerBySTLMap ImageContainerByITKImage, ImageContainerByHashTree Any adapted type from STLMapToVertexMapAdapter

Notes

Definition at line 100 of file CVertexMap.h.


Member Typedef Documentation

template<typename T >
typedef T::Value DGtal::CVertexMap< T >::Value

Definition at line 107 of file CVertexMap.h.

template<typename T >
typedef T::Vertex DGtal::CVertexMap< T >::Vertex

Definition at line 106 of file CVertexMap.h.


Member Function Documentation

template<typename T >
DGtal::CVertexMap< T >::BOOST_CONCEPT_USAGE ( CVertexMap< T >  )
inline

Field Documentation

template<typename T >
Value DGtal::CVertexMap< T >::myValue
private

Definition at line 120 of file CVertexMap.h.

Referenced by DGtal::CVertexMap< T >::BOOST_CONCEPT_USAGE().

template<typename T >
Vertex DGtal::CVertexMap< T >::myVertex
private

Definition at line 119 of file CVertexMap.h.

Referenced by DGtal::CVertexMap< T >::BOOST_CONCEPT_USAGE().

template<typename T >
T DGtal::CVertexMap< T >::myX
private

Definition at line 118 of file CVertexMap.h.

Referenced by DGtal::CVertexMap< T >::BOOST_CONCEPT_USAGE().


The documentation for this struct was generated from the following file: