OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
prop_out_edge< Graph > Struct Template Reference

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

Detailed Description

template<typename Graph>
struct prop_out_edge< Graph >

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 produce at output for each property

Template Parameters
Graphgraph we are processing
Parameters
dimDimensionality
Stype of grid

Definition at line 865 of file VTKWriter_graph.hpp.

#include <VTKWriter_graph.hpp>

Public Member Functions

 prop_out_edge (std::string &e_out, const Graph &g)
 constructor
 
template<typename T >
void operator() (T &t) const
 It produce an output for each property.
 

Data Fields

std::string & e_out
 property output string
 
const Graph & g
 Graph that we are processing.
 

Constructor & Destructor Documentation

◆ prop_out_edge()

template<typename Graph >
prop_out_edge< Graph >::prop_out_edge ( std::string &  e_out,
const Graph &  g 
)
inline

constructor

Parameters
e_outstring to fill with the edge properties
ggraph we are writing

Definition at line 879 of file VTKWriter_graph.hpp.

Member Function Documentation

◆ operator()()

template<typename Graph >
template<typename T >
void prop_out_edge< Graph >::operator() ( T &  t) const
inline

It produce an output for each property.

Parameters
tproperty index

Definition at line 891 of file VTKWriter_graph.hpp.

Field Documentation

◆ e_out

template<typename Graph >
std::string& prop_out_edge< Graph >::e_out

property output string

Definition at line 868 of file VTKWriter_graph.hpp.

◆ g

template<typename Graph >
const Graph& prop_out_edge< Graph >::g

Graph that we are processing.

Definition at line 871 of file VTKWriter_graph.hpp.


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