This class specialize functions in the case the type T has or not defined attributes. More...
This class specialize functions in the case the type T has or 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 |
Graph | type of graph we are processing |
i | the property we are going to write |
Definition at line 400 of file VTKWriter_graph.hpp.
#include <VTKWriter_graph.hpp>
Static Public Member Functions | |
static std::string | get_point_data (const Graph &g) |
Get the vtk point data section for a graph g. | |
static std::string | get_cell_data (const Graph &g) |
Get the cell data section for a graph g. | |
static std::string | get_point_property_header (size_t prop) |
Return the point header for the property prop. | |
static std::string | get_cell_property_header (size_t prop) |
Given a Graph return the cell data header for a typename T. | |
static std::string | get_attributes_vertex () |
Get the attributes name for the property i (template parameter) | |
static std::string | get_attributes_edge () |
Get the attributes name for edge property i (template parameter) | |
|
inlinestatic |
Get the attributes name for edge property i (template parameter)
Definition at line 592 of file VTKWriter_graph.hpp.
|
inlinestatic |
Get the attributes name for the property i (template parameter)
Definition at line 582 of file VTKWriter_graph.hpp.
|
inlinestatic |
Get the cell data section for a graph g.
g | graph |
vertex node output string
Get a vertex iterator
Get an edge iterator
Definition at line 439 of file VTKWriter_graph.hpp.
|
inlinestatic |
Given a Graph return the cell data header for a typename T.
prop | property id |
edge node output string
Definition at line 533 of file VTKWriter_graph.hpp.
|
inlinestatic |
Get the vtk point data section for a graph g.
g | graph |
vertex node output string
Get a vertex iterator
Definition at line 411 of file VTKWriter_graph.hpp.
|
inlinestatic |
Return the point header for the property prop.
prop | property to write |
Definition at line 482 of file VTKWriter_graph.hpp.