Geometrize  1.0
An application for geometrizing images into geometric primitives
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
Namespaces | Functions
serializationutil.cpp File Reference
#include "serializationutil.h"
#include <cassert>
#include <fstream>
#include <QDir>
#include <QFileInfo>
#include "cereal/archives/json.hpp"
#include "cereal/types/vector.hpp"
#include "common/util.h"

Namespaces

 geometrize
 < Energy function passed to the image task worker thread.
 
 geometrize::util
 

Functions

std::vector< std::string > geometrize::util::readStringVector (const std::string &filePath)
 readStringVector Reads the JSON file containing the vector of strings at the given filepath. Will attempt to overwrite any existing file when it does this. More...
 
void geometrize::util::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 any existing file. More...