#include <JSON.h>
Public Member Functions | |
virtual std::string | getLoadPath () |
virtual std::string | getRootKey () |
virtual std::string | getSerializationPath () |
virtual bool | isEmpty () |
JSON () | |
virtual void | loadFromPath (std::string loadPath) |
virtual void | loadFromProperties (std::vector< te::layout::Properties * > properties) |
virtual std::vector < te::layout::Properties * > | retrieve () |
virtual boost::property_tree::ptree | retrievePTree () |
virtual bool | serialize () |
virtual void | setRootKey (std::string rootKey) |
virtual void | setSerializationPath (std::string path) |
virtual | ~JSON () |
Protected Member Functions | |
virtual void | retrieveSubPTree (boost::property_tree::ptree subTree, Property &prop) |
virtual void | searchProperty (Property property, boost::property_tree::ptree array) |
Protected Attributes | |
boost::property_tree::ptree | m_array |
std::string | m_loadPath |
std::vector < te::layout::Properties * > | m_properties |
std::string | m_rootKey |
std::string | m_serializationPath |
|
virtualinherited |
Definition at line 54 of file Serialization.cpp.
|
virtualinherited |
Definition at line 64 of file Serialization.cpp.
|
virtualinherited |
Definition at line 49 of file Serialization.cpp.
|
virtual |
Implements te::layout::Serialization.
|
virtual |
Implements te::layout::Serialization.
Definition at line 208 of file JSON.cpp.
References TR_LAYOUT.
Referenced by te::layout::JSONTemplate::importTemplate().
|
virtual |
Implements te::layout::Serialization.
Definition at line 245 of file JSON.cpp.
References te::layout::Variant::convertToString(), te::layout::getLayoutAbstractObjectType(), te::layout::getLayoutPropertyDataType(), te::layout::Property::getName(), te::layout::Properties::getProperties(), te::layout::Property::getType(), te::layout::Properties::getTypeObj(), and te::layout::Property::getValue().
Referenced by te::layout::JSONTemplate::exportTemplate().
|
virtual |
Implements te::layout::Serialization.
Definition at line 104 of file JSON.cpp.
References te::layout::Properties::addProperty(), te::layout::Property::clear(), te::layout::getLayoutAbstractObjectType(), te::layout::getLayoutPropertyDataType(), te::layout::Property::setName(), te::layout::Properties::setTypeObj(), and te::layout::Property::setValue().
Referenced by te::layout::JSONTemplate::importTemplate().
|
virtual |
|
protectedvirtual |
Definition at line 178 of file JSON.cpp.
References te::layout::Property::addSubProperty(), te::layout::getLayoutPropertyDataType(), te::layout::Property::setName(), and te::layout::Property::setValue().
|
protectedvirtual |
Definition at line 291 of file JSON.cpp.
References te::layout::Variant::convertToString(), te::layout::getLayoutPropertyDataType(), te::layout::Property::getName(), te::layout::Property::getSubProperty(), te::layout::Property::getType(), and te::layout::Property::getValue().
|
virtual |
Implements te::layout::Serialization.
Definition at line 59 of file JSON.cpp.
References TR_LAYOUT.
Referenced by te::layout::JSONTemplate::exportTemplate().
|
virtualinherited |
Definition at line 59 of file Serialization.cpp.
|
virtualinherited |
Definition at line 44 of file Serialization.cpp.
Referenced by te::layout::JSONTemplate::exportTemplate(), and te::layout::JSONTemplate::importTemplate().
|
protected |
|
protectedinherited |
Definition at line 63 of file Serialization.h.
|
protectedinherited |
Definition at line 65 of file Serialization.h.
|
protectedinherited |
Definition at line 66 of file Serialization.h.
|
protectedinherited |
Definition at line 64 of file Serialization.h.