OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
getAttrName< ele_g, has_attributes > Struct Template Reference

Return the Attributes name from the type. More...

Detailed Description

template<typename ele_g, bool has_attributes>
struct getAttrName< ele_g, has_attributes >

Return the Attributes name from the type.

Definition at line 20 of file VTKWriter_grids_util.hpp.

#include <VTKWriter_grids_util.hpp>

Static Public Member Functions

static std::string get (size_t i, const openfpm::vector< std::string > &prop_names, const std::string &oprp)
 Get attribute name. More...

Member Function Documentation

◆ get()

template<typename ele_g , bool has_attributes>
static std::string getAttrName< ele_g, has_attributes >::get ( size_t  i,
const openfpm::vector< std::string > &  prop_names,
const std::string &  oprp 

Get attribute name.

iid of the attribute
oprppost-fix to add
prop_namesproperties name
the string with the property name

Definition at line 31 of file VTKWriter_grids_util.hpp.

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