Go to the documentation of this file.
17 friend class PythonScriptObject_Factory;
37 static std::map<Base::GlobalId, Core::PythonScriptObject*> scriptRegistry;
PropertyGUID scriptId
Definition: PythonScriptObject.h:21
Definition: CoreDocument.h:269
static bool isRegistered(const Base::GlobalId &aScriptId)
Definition: GlobalId.h:28
std::map< Core::DocObject *, Core::DocObject * > DocObjectMap
Definition: DocObject.h:50
Definition: PropertyBoolean.h:14
PropertyText scriptPath
Definition: PythonScriptObject.h:22
Definition: DocObject.h:54
Definition: Persistence.h:13
Core::DocObject * copy(Core::CoreDocument *toDoc, DocObjectMap ©Map) override
PropertyBoolean isExternal
Definition: PythonScriptObject.h:23
#define LX_NODE_HEADER()
Definition: PropertyMacros.h:7
static bool registerScript(PythonScriptObject *aScriptObject)
DECLARE_OBJECT_FACTORY_NOIFC(PropertyBoolDescriptor_Factory, PropertyBoolDescriptor)
static PythonScriptObject * getRegisteredScript(const Base::GlobalId &aScriptPath)
Definition: AbstractXMLReader.h:7
Definition: PropertyText.h:8
LX_CORE_EXPORT Version & version
bool mustbeSaved() const override
Return 'true' if this object must always be saved in the file.
Definition: PythonScriptObject.h:11
#define TYPESYSTEM_HEADER()
define for subclassing Base::BaseClass
Definition: Base.h:12
void restore(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version) override
Restores the PropertyContainer from reader in specified version.
The PropertyGUID class saves and restores GUIDs. It also handles the management of GUIDs in the Docum...
Definition: PropertyGUID.h:21
void save(Base::AbstractWriter &writer, Base::PersistenceVersion &save_version) override
Saves the PropertyContainer to writer.