OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
vtk_dist_vertex_node< G, false > Struct Template Reference

this class is a functor for "for_each" algorithm More...

Detailed Description

template<typename G>
struct vtk_dist_vertex_node< G, false >

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

Template Parameters
Ggraph type

Definition at line 159 of file VTKWriter_dist_graph.hpp.

#include <VTKWriter_dist_graph.hpp>

Public Member Functions

 vtk_dist_vertex_node (std::string &v_node, typename G::V_container &n_obj)
 Constructor.
 
template<typename T >
void operator() (T &t)
 It call the functor for each attribute.
 

Data Fields

G::V_container & vo
 Vertex object container.
 
std::string & v_node
 vertex position string
 

Constructor & Destructor Documentation

◆ vtk_dist_vertex_node()

template<typename G >
vtk_dist_vertex_node< G, false >::vtk_dist_vertex_node ( std::string &  v_node,
typename G::V_container &  n_obj 
)
inline

Constructor.

Create a vertex properties list

Parameters
v_nodestd::string that is filled with the graph properties in the GraphML format
n_objobject container to access its properties for example encapc<...>

Definition at line 175 of file VTKWriter_dist_graph.hpp.

Member Function Documentation

◆ operator()()

template<typename G >
template<typename T >
void vtk_dist_vertex_node< G, false >::operator() ( T &  t)
inline

It call the functor for each attribute.

Parameters
tattribute id

Definition at line 186 of file VTKWriter_dist_graph.hpp.

Field Documentation

◆ v_node

template<typename G >
std::string& vtk_dist_vertex_node< G, false >::v_node

vertex position string

Definition at line 165 of file VTKWriter_dist_graph.hpp.

◆ vo

template<typename G >
G::V_container& vtk_dist_vertex_node< G, false >::vo

Vertex object container.

Definition at line 162 of file VTKWriter_dist_graph.hpp.


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