OpenFPM_io  0.2.0
Project that contain the implementation and interfaces for basic structure like vectors, grids, graph ... .
 All Data Structures Functions Variables Typedefs
vtk_edge_node< G > Struct Template Reference

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

#include <VTKWriter_graph.hpp>

Public Member Functions

 vtk_edge_node (std::string &e_node, typename G::E_container &n_obj)
 Constructor. More...
 
void new_node (size_t v_c, size_t s, size_t d)
 Create a new node. More...
 

Data Fields

G::E_container & vo
 
std::string & e_node
 

Detailed Description

template<typename G>
struct vtk_edge_node< G >

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 edge properties

Definition at line 193 of file VTKWriter_graph.hpp.

Constructor & Destructor Documentation

template<typename G >
vtk_edge_node< G >::vtk_edge_node ( std::string &  e_node,
typename G::E_container &  n_obj 
)
inline

Constructor.

Create an edge node

Parameters
e_nodestd::string that is filled with the graph properties in the GraphML format
n_objobject container to access the object properties for example encapc<...>
n_propnumber of properties

Definition at line 210 of file VTKWriter_graph.hpp.

Member Function Documentation

template<typename G >
void vtk_edge_node< G >::new_node ( size_t  v_c,
size_t  s,
size_t  d 
)
inline

Create a new node.

Parameters
vcnode number

Definition at line 221 of file VTKWriter_graph.hpp.


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