OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
prop_output< false, Graph, i > Class Template Reference

This class specialize functions in the case the type T has not defined attributes. More...

Detailed Description

template<typename Graph, unsigned int i>
class prop_output< false, Graph, i >

This class specialize functions in the case the type T has not defined attributes.

In C++ partial specialization of a function is not allowed so we have to encapsulate this function in a class

Template Parameters
has_attributesparameter that specialize the function in case the vertex define or not attributes name
iid of the property we are going to write

Definition at line 612 of file VTKWriter_graph.hpp.

#include <VTKWriter_graph.hpp>

Static Public Member Functions

static std::string get_point_data (Graph &g)
 Return the point data section for a graph g.
 
static std::string get_cell_data (const Graph &g)
 Return the cell data section for a graph g.
 
static std::string get_point_property_header (size_t prop)
 Given a Graph return the point data header for the property prop.
 
static std::string get_cell_property_header (size_t prop)
 Given a Graph return the cell data header.
 
static std::string get_attributes_vertex ()
 Get the attributes name for vertex.
 
static std::string get_attributes_edge ()
 Get the attributes name for edge.
 

Member Function Documentation

◆ get_attributes_edge()

template<typename Graph , unsigned int i>
static std::string prop_output< false, Graph, i >::get_attributes_edge ( )
inlinestatic

Get the attributes name for edge.

Returns
get attributes edge name

Definition at line 786 of file VTKWriter_graph.hpp.

◆ get_attributes_vertex()

template<typename Graph , unsigned int i>
static std::string prop_output< false, Graph, i >::get_attributes_vertex ( )
inlinestatic

Get the attributes name for vertex.

Returns
get attributes vertex name

Definition at line 776 of file VTKWriter_graph.hpp.

◆ get_cell_data()

template<typename Graph , unsigned int i>
static std::string prop_output< false, Graph, i >::get_cell_data ( const Graph &  g)
inlinestatic

Return the cell data section for a graph g.

Parameters
ggraph
Returns
the cell data section

Get an edge iterator

Definition at line 651 of file VTKWriter_graph.hpp.

◆ get_cell_property_header()

template<typename Graph , unsigned int i>
static std::string prop_output< false, Graph, i >::get_cell_property_header ( size_t  prop)
inlinestatic

Given a Graph return the cell data header.

Parameters
propproperty id
Returns
the cell property header

edge node output string

Definition at line 727 of file VTKWriter_graph.hpp.

◆ get_point_data()

template<typename Graph , unsigned int i>
static std::string prop_output< false, Graph, i >::get_point_data ( Graph &  g)
inlinestatic

Return the point data section for a graph g.

Parameters
ggraph
Returns
the point data section string

vertex node output string

Get a vertex iterator

Definition at line 622 of file VTKWriter_graph.hpp.

◆ get_point_property_header()

template<typename Graph , unsigned int i>
static std::string prop_output< false, Graph, i >::get_point_property_header ( size_t  prop)
inlinestatic

Given a Graph return the point data header for the property prop.

Parameters
propid of the property
Returns
the string of the property header

vertex node output string

Definition at line 693 of file VTKWriter_graph.hpp.


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