Geometrize  1.0
An application for geometrizing images into geometric primitives
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
serializationutil.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 #include <vector>
5 
6 namespace geometrize
7 {
8 
9 namespace util
10 {
11 
17 std::vector<std::string> readStringVector(const std::string& filePath);
18 
24 void writeStringVector(const std::vector<std::string>& vec, const std::string& filePath);
25 
26 }
27 
28 }
std::vector< std::string > readStringVector(const std::string &filePath)
readStringVector Reads the JSON file containing the vector of strings at the given filepath...
Definition: serializationutil.cpp:20
void writeStringVector(const std::vector< std::string > &vec, const std::string &filePath)
writeStringVector Writes the string vector to the given filepath as JSON. Will attempt to overwrite a...
Definition: serializationutil.cpp:37