OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
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 More...
 
template<typename T >
void operator() (T &t) const
 It produce an output for each property. More...
 

Data Fields

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

Constructor & Destructor Documentation

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

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.


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