FOUND
Loading...
Searching...
No Matches
serialization.hpp
1#ifndef SRC_DATAFILE_SERIALIZATION_HPP_
2#define SRC_DATAFILE_SERIALIZATION_HPP_
3
4#include <string>
5
6#include "datafile/datafile.hpp" // Include the header for DataFile and DataFileHeader
7
8namespace found {
9
18void serializeDataFile(const DataFile& data, std::ostream& stream);
19
27DataFile deserializeDataFile(std::istream& stream);
28
37DataFile deserializeDataFile(std::istream& stream, const std::string &path);
38
46DataFileHeader readHeader(std::istream& stream);
47
55void hton(DataFileHeader& header);
56
64void ntoh(DataFileHeader& header);
65
66} // namespace found
67
68#endif // SRC_DATAFILE_SERIALIZATION_HPP_
Declares data structures for serialized spatial data files, including headers, location records,...