28 #ifndef __TERRALIB_LAYOUT_INTERNAL_SERIALIZATION_H
29 #define __TERRALIB_LAYOUT_INTERNAL_SERIALIZATION_H
32 #include "../property/Properties.h"
33 #include "../Config.h"
52 virtual void loadFromPath(std::string loadPath) = 0;
54 virtual void loadFromProperties(std::vector<te::layout::Properties*> properties) = 0;
56 virtual void setSerializationPath(std::string path);
58 virtual std::string getSerializationPath();
60 virtual std::string getLoadPath();
62 virtual bool serialize() = 0;
64 virtual std::vector<te::layout::Properties*> retrieve() = 0;
66 virtual bool isEmpty() = 0;
68 virtual void setRootKey(std::string rootKey);
70 virtual std::string getRootKey();
std::string m_serializationPath
#define TELAYOUTEXPORT
You can use this macro in order to export/import classes and functions from this module.
Abstract class for serialization properties in any file extension.
std::vector< te::layout::Properties * > m_properties