this class is a functor for "for_each" algorithm More...
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
| G | graph type | 
| attr | has the vertex attributes | 
Definition at line 91 of file VTKWriter_dist_graph.hpp.
#include <VTKWriter_dist_graph.hpp>
Public Types | |
| typedef G::V_type::s_type | s_type | 
| Vertex spatial type information.  | |
Public Member Functions | |
| vtk_dist_vertex_node (std::string &v_node, typename G::V_container &n_obj, s_type(&x)[3]) | |
| Constructor.  More... | |
| void | write () | 
| Write collected information.  | |
| template<typename T > | |
| void | operator() (T &t) | 
| It call the functor for each attribute.  More... | |
Data Fields | |
| bool | z_set | 
| indicate if the z coordinate has been set  | |
| s_type(& | x )[3] | 
| coordinate of the vertex node  | |
| G::V_container & | vo | 
| Vertex object container.  | |
| std::string & | v_node | 
| vertex position converted to string  | |
      
  | 
  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<...> | 
| x | position of the vertex | 
Definition at line 117 of file VTKWriter_dist_graph.hpp.
      
  | 
  inline | 
It call the functor for each attribute.
| t | attribute id | 
Definition at line 134 of file VTKWriter_dist_graph.hpp.