SkelGIS
3.0
|
first specialization of DPMap_Edges More...
#include <dpmap_edges.hpp>
Public Member Functions | |
DPMap_Edges (DDAG< nodes, edges > &dag, const char *file) | |
constructor of DPMap_Edges | |
DPMap_Edges (DDAG< nodes, edges > &dag, T val) | |
constructor of DPMap_Edges | |
~DPMap_Edges () | |
destructor of DPMap_Edges | |
iterator_dag | begin () |
to get the begin iterator on edges | |
iterator_dag | end () |
to get the end iterator on edges | |
T & | operator[] (iterator_dag it) |
to get the value of the property map at the iterator position | |
iterator_dag | getSrcNode (iterator_dag it) |
to get an iterator on the source node of the edge | |
iterator_dag | getDstNode (iterator_dag it) |
to get an iterator on the destination node of the edge | |
Protected Attributes | |
DPMap_Edges_impl< nodes, edges, T, 1 > * | dpmap |
first specialization of DPMap_Edges
nodes | is inheritate from DDAG and needed as a DDAG is gonna be referenced |
edges | is inheritate from DDAG and needed as a DDAG is gonna be referenced |
T | is the type of data in the property map |
The type T is a simple type in this case as float, double, int etc. The overlap is specialized to the value 1 The size is used with its default value 1
Definition at line 38 of file dpmap_edges.hpp.
skelgis::DPMap_Edges< nodes, edges, T, 1 >::DPMap_Edges | ( | DDAG< nodes, edges > & | dag, |
const char * | file | ||
) | [inline] |
constructor of DPMap_Edges
dag | is the DDAG object associated to this map |
file | is the file with initial values of edges wanted (each line is the value of the node "number of this line" associated in the .dot file) |
Definition at line 52 of file dpmap_edges.hpp.
skelgis::DPMap_Edges< nodes, edges, T, 1 >::DPMap_Edges | ( | DDAG< nodes, edges > & | dag, |
T | val | ||
) | [inline] |
constructor of DPMap_Edges
dag | is the DDAG object associated to this map |
val | is the default value of edges for the map |
Definition at line 63 of file dpmap_edges.hpp.
iterator_dag skelgis::DPMap_Edges< nodes, edges, T, 1 >::begin | ( | ) | [inline] |
to get the begin iterator on edges
Definition at line 80 of file dpmap_edges.hpp.
iterator_dag skelgis::DPMap_Edges< nodes, edges, T, 1 >::end | ( | ) | [inline] |
to get the end iterator on edges
Definition at line 87 of file dpmap_edges.hpp.
iterator_dag skelgis::DPMap_Edges< nodes, edges, T, 1 >::getDstNode | ( | iterator_dag | it | ) | [inline] |
to get an iterator on the destination node of the edge
Definition at line 108 of file dpmap_edges.hpp.
iterator_dag skelgis::DPMap_Edges< nodes, edges, T, 1 >::getSrcNode | ( | iterator_dag | it | ) | [inline] |
to get an iterator on the source node of the edge
Definition at line 101 of file dpmap_edges.hpp.
T& skelgis::DPMap_Edges< nodes, edges, T, 1 >::operator[] | ( | iterator_dag | it | ) | [inline] |
to get the value of the property map at the iterator position
Definition at line 94 of file dpmap_edges.hpp.