30 #include "../property/Properties.h"
31 #include "../serialization/JSON.h"
32 #include "../enum/Enums.h"
54 std::ofstream outputFile;
55 outputFile.open(m_path.c_str(), std::ios::trunc);
79 std::vector<te::layout::Properties*> props = json->
retrieve();
Implementation of .json for Serialization. It is a JSON file. Save or change a file ...
JSONTemplate(std::string path)
virtual bool exportTemplate(std::vector< te::layout::Properties * > properties)
Implementation of AbstractTemplate. Template that creates, saves, or change a .json file...
static Enums & getInstance()
It returns a reference to the singleton instance.
virtual void setSerializationPath(std::string path)
virtual std::vector< te::layout::Properties * > importTemplate()
Abstract class that represents a Template.
virtual bool deleteTemplate()
virtual std::vector< te::layout::Properties * > retrieve()
virtual void loadFromPath(std::string loadPath)
virtual void loadFromProperties(std::vector< te::layout::Properties * > properties)