Implementation of AbstractTemplate. Template that creates, saves, or change a .json file. More...
#include <JSONTemplate.h>
Public Member Functions | |
virtual bool | deleteTemplate () |
virtual bool | exportTemplate (std::vector< te::layout::Properties * > properties) |
virtual std::vector < te::layout::Properties * > | importTemplate () |
JSONTemplate (std::string path) | |
virtual | ~JSONTemplate () |
Private Member Functions | |
virtual std::string | getFileName () |
virtual EnumType * | getType () |
Private Attributes | |
std::string | m_fileName |
std::string | m_path |
EnumType * | m_type |
std::string | m_version |
Implementation of AbstractTemplate. Template that creates, saves, or change a .json file.
Definition at line 48 of file JSONTemplate.h.
te::layout::JSONTemplate::JSONTemplate | ( | std::string | path | ) |
Definition at line 38 of file JSONTemplate.cpp.
References te::common::Singleton< Enums >::getInstance(), and te::layout::AbstractTemplate::m_type.
|
virtual |
Definition at line 44 of file JSONTemplate.cpp.
|
virtual |
Implements te::layout::AbstractTemplate.
Definition at line 90 of file JSONTemplate.cpp.
|
virtual |
Implements te::layout::AbstractTemplate.
Definition at line 49 of file JSONTemplate.cpp.
References te::layout::JSON::loadFromProperties(), te::layout::JSON::serialize(), and te::layout::Serialization::setSerializationPath().
|
virtualinherited |
Definition at line 51 of file AbstractTemplate.cpp.
|
virtualinherited |
Definition at line 56 of file AbstractTemplate.cpp.
|
virtual |
Implements te::layout::AbstractTemplate.
Definition at line 73 of file JSONTemplate.cpp.
References te::layout::JSON::loadFromPath(), te::layout::JSON::retrieve(), and te::layout::Serialization::setSerializationPath().
|
protectedinherited |
Definition at line 70 of file AbstractTemplate.h.
Referenced by te::layout::AbstractTemplate::AbstractTemplate().
|
protectedinherited |
Definition at line 69 of file AbstractTemplate.h.
|
protectedinherited |
Definition at line 72 of file AbstractTemplate.h.
Referenced by te::layout::AbstractTemplate::AbstractTemplate(), and JSONTemplate().
|
protectedinherited |
Definition at line 71 of file AbstractTemplate.h.