This class specialize functions in the case the type T has not defined attributes. More...
#include <VTKWriter_dist_graph.hpp>
Static Private Member Functions | |
static std::string | get_point_data (Graph &g) |
For each vertex set the value. More... | |
static std::string | get_cell_data (const Graph &g) |
For each edge set the value. More... | |
static std::string | get_point_property_header (size_t prop) |
Given a Graph return the point data header for a typename T. More... | |
static std::string | get_cell_property_header (size_t prop) |
Given a Graph return the cell data header for a typename T. More... | |
static std::string | get_attributes_vertex () |
Get the attributes name for vertex. More... | |
static std::string | get_attributes_edge () |
Get the attributes name for edge. More... | |
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
has_attributes | parameter that specialize the function in case the vertex define or not attributes name |
i | id of the property we are going to write |
Definition at line 593 of file VTKWriter_dist_graph.hpp.
|
inlinestaticprivate |
Get the attributes name for edge.
Definition at line 760 of file VTKWriter_dist_graph.hpp.
|
inlinestaticprivate |
Get the attributes name for vertex.
Definition at line 751 of file VTKWriter_dist_graph.hpp.
|
inlinestaticprivate |
For each edge set the value.
i | edge property to print |
vertex node output string
Get a vertex iterator
Get an edge iterator
Definition at line 628 of file VTKWriter_dist_graph.hpp.
|
inlinestaticprivate |
Given a Graph return the cell data header for a typename T.
n_node | number of the node |
edge node output string
Definition at line 703 of file VTKWriter_dist_graph.hpp.
|
inlinestaticprivate |
For each vertex set the value.
i | vertex property to print |
vertex node output string
Get a vertex iterator
Definition at line 601 of file VTKWriter_dist_graph.hpp.
|
inlinestaticprivate |
Given a Graph return the point data header for a typename T.
T | type to write |
n_node | number of the node |
prop | id of the property |
vertex node output string
Definition at line 671 of file VTKWriter_dist_graph.hpp.