SkelGIS
3.0
|
first specialization of DPMap_Edges More...
#include <dpmap_edges.hpp>
Public Types | |
typedef DPMap_Edges_impl< DD, T, 1 > | impl_type |
Public Member Functions | |
DPMap_Edges (DD &dag, const char *file) | |
constructor of DPMap_Edges | |
DPMap_Edges (DD &dag, T val) | |
constructor of DPMap_Edges | |
DPMap_Edges (DPMap_Edges_impl< DD, T, 1 > *p) | |
constructor from a DPMap_Edges_impl pointer | |
~DPMap_Edges () | |
destructor of DPMap_Edges | |
DPMap_Edges_impl< DD, T, 1 > * | getDPMap () |
to get the pointer on dpmap_impl | |
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 | |
void | start_communications () |
start the communication process for the dpmap_edges property | |
void | end_communications () |
end the communication process for the dpmap_edges property | |
Protected Attributes | |
bool | ptr_const |
DPMap_Edges_impl< DD, T, 1 > * | dpmap |
first specialization of DPMap_Edges
DD | is the type of the DDAG |
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 node_access is specialized to the value 1 The size is used with its default value 1
Definition at line 35 of file dpmap_edges.hpp.
skelgis::DPMap_Edges< DD, T, 1 >::DPMap_Edges | ( | DD & | 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< DD, T, 1 >::DPMap_Edges | ( | DD & | 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 64 of file dpmap_edges.hpp.
skelgis::DPMap_Edges< DD, T, 1 >::DPMap_Edges | ( | DPMap_Edges_impl< DD, T, 1 > * | p | ) | [inline] |
constructor from a DPMap_Edges_impl pointer
pointer | to a DPMap_Edges_impl |
Definition at line 75 of file dpmap_edges.hpp.
iterator_dag skelgis::DPMap_Edges< DD, T, 1 >::begin | ( | ) | [inline] |
to get the begin iterator on edges
Definition at line 104 of file dpmap_edges.hpp.
iterator_dag skelgis::DPMap_Edges< DD, T, 1 >::end | ( | ) | [inline] |
to get the end iterator on edges
Definition at line 111 of file dpmap_edges.hpp.
void skelgis::DPMap_Edges< DD, T, 1 >::end_communications | ( | ) | [inline] |
end the communication process for the dpmap_edges property
wait for the end of non-blocking communications put received values in the dpmap_edges property
Definition at line 148 of file dpmap_edges.hpp.
DPMap_Edges_impl<DD,T,1>* skelgis::DPMap_Edges< DD, T, 1 >::getDPMap | ( | ) | [inline] |
to get the pointer on dpmap_impl
Definition at line 97 of file dpmap_edges.hpp.
iterator_dag skelgis::DPMap_Edges< DD, T, 1 >::getDstNode | ( | iterator_dag | it | ) | [inline] |
to get an iterator on the destination node of the edge
Definition at line 132 of file dpmap_edges.hpp.
iterator_dag skelgis::DPMap_Edges< DD, T, 1 >::getSrcNode | ( | iterator_dag | it | ) | [inline] |
to get an iterator on the source node of the edge
Definition at line 125 of file dpmap_edges.hpp.
T& skelgis::DPMap_Edges< DD, T, 1 >::operator[] | ( | iterator_dag | it | ) | [inline] |
to get the value of the property map at the iterator position
Definition at line 118 of file dpmap_edges.hpp.
void skelgis::DPMap_Edges< DD, T, 1 >::start_communications | ( | ) | [inline] |
start the communication process for the dpmap_edges property
prepare data to send launch non blocking MPI communications
Definition at line 140 of file dpmap_edges.hpp.