graph_analysis
Serialization.hpp
Go to the documentation of this file.
1 #ifndef GRAPH_ANALYSIS_IO_SERIALIZATION_HPP
2 #define GRAPH_ANALYSIS_IO_SERIALIZATION_HPP
3 
4 #include <vector>
5 #include "../GraphElement.hpp"
6 
7 namespace graph_analysis {
8 namespace io {
9 
16 {
18  typedef void (graph_analysis::GraphElement::*deserialize_func_t)(const std::string&);
19  typedef std::string (graph_analysis::GraphElement::*print_func_t)();
20 
30 
35 };
36 
37 } // end namespace io
38 } // end namespace graph_analysis
39 #endif // GRAPH_ANALYSIS_IO_SERIALIZATION_HPP
GraphElement is the base class for all element in a graph, i.e. for edges and vertices.
Definition: GraphElement.hpp:34
print_func_t printFunction
Definition: Serialization.hpp:34
serialize_func_t serializeFunction
Definition: Serialization.hpp:24
std::string(graph_analysis::GraphElement::* print_func_t)()
Definition: Serialization.hpp:19
Main namespace of the graph analysis library.
Definition: BFS.cpp:3
void(graph_analysis::GraphElement::* deserialize_func_t)(const std::string &)
Definition: Serialization.hpp:18
deserialize_func_t deserializeFunction
Definition: Serialization.hpp:29
std::string(graph_analysis::GraphElement::* serialize_func_t)()
Definition: Serialization.hpp:17