8 #ifndef __VRV_EDITOR_TOOLKIT_H__
9 #define __VRV_EDITOR_TOOLKIT_H__
45 virtual std::string
EditInfo() {
return m_editInfo.json(); }
47 #ifndef NO_EDIT_SUPPORT
49 bool AppendChild(
const std::string &elementId,
const std::string &elementName);
50 bool InsertBefore(
const std::string &elementId,
const std::string &elementName);
51 bool InsertAfter(
const std::string &elementId,
const std::string &elementName);
52 Object *GetElement(
const std::string &elementId);
53 Object *PrepareInsertion(
Object *parent,
const std::string &elementName);
59 jsonxx::Object m_editInfo;
This class is a hold the data and corresponds to the model of a MVC design pattern.
Definition: doc.h:41
This class represents a basic object.
Definition: object.h:62
This class is a drawing context and corresponds to the view of a MVC design pattern.
Definition: view.h:106