this class is a functor for "for_each" algorithm More...
#include <VTKWriter_dist_graph.hpp>
Public Member Functions | |
vtk_dist_vertex_node (std::string &v_node, typename G::V_container &n_obj) | |
Constructor. More... | |
template<typename T > | |
void | operator() (T &t) |
It call the functor for each member. | |
Data Fields | |
G::V_container & | vo |
std::string & | v_node |
this class is a functor for "for_each" algorithm
This class is a functor for "for_each" algorithm. For each element of the boost::vector the operator() is called. Is mainly used to create a string containing all the vertex properties
Specialization when we do not have vertex attributes
G | graph type |
Definition at line 152 of file VTKWriter_dist_graph.hpp.
|
inline |
Constructor.
Create a vertex properties list
v_node | std::string that is filled with the graph properties in the GraphML format |
n_obj | object container to access its properties for example encapc<...> |
Definition at line 168 of file VTKWriter_dist_graph.hpp.