Go to the documentation of this file.
14 class PythonScriptObject;
15 class PropertyDescriptor;
32 friend class PythonClassObject_Factory;
73 static std::map<Base::GlobalId, PythonClassObject*> classRegistry;
static bool isRegistered(const Base::GlobalId &aClassId)
Keeps the information about a Python class like class name, the super class etc. Also keeps the infor...
Definition: PythonClassObject.h:25
void addPropertyDescriptor(PropertyDescriptor *aDescriptor)
Definition: CoreDocument.h:269
Core::DocObject * copy(Core::CoreDocument *toDoc, DocObjectMap ©Map) override
Definition: GlobalId.h:28
std::map< Core::DocObject *, Core::DocObject * > DocObjectMap
Definition: DocObject.h:50
PropertyText superClassName
Definition: PythonClassObject.h:37
void restore(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version) override
Restores the PropertyContainer from reader in specified version.
Definition: StandardManipulatorPolicy.h:8
bool mustbeSaved() const override
Return 'true' if this object must always be saved in the file.
PropertyDescriptor * getPropertyDescriptorByName(const std::string &aName)
Base::String getPropertyGroupName() const
void setStandardManipulatorPolicy(const Core::StandardManipulatorPolicy &aPolicy)
void save(Base::AbstractWriter &writer, Base::PersistenceVersion &save_version) override
Saves the PropertyContainer to writer.
static bool registerClass(PythonClassObject *aClassObject)
PropertyBackLink< PythonScriptObject * > pythonScriptObject
Definition: PythonClassObject.h:34
Definition: DocObject.h:54
PropertyText propertyHeader
Definition: PythonClassObject.h:39
std::map< std::string, PropertyDescriptor * > getPropertyDescriptorMap() const
static PythonClassObject * getRegisteredClass(const Base::GlobalId &aClassId)
Definition: Persistence.h:13
int getTranslationHeader() const
#define LX_NODE_HEADER()
Definition: PropertyMacros.h:7
Definition: PropertyDescriptor.h:11
void setPropertyHeader(const Base::String &aDefaultName, int aTranslationId=-1)
DECLARE_OBJECT_FACTORY_NOIFC(PropertyBoolDescriptor_Factory, PropertyBoolDescriptor)
Definition: AbstractXMLReader.h:7
PropertyText className
Definition: PythonClassObject.h:36
Definition: PropertyText.h:8
Definition: PropertyBackLink.h:57
std::list< PropertyDescriptor * > getPropertyDescriptorList() const
Base::String getPropertyHeader() const
PropertyIndex translatorGroupName
Definition: PythonClassObject.h:42
int getTranslationGroupName() const
LX_CORE_EXPORT Version & version
PropertyText propertyGroupName
Definition: PythonClassObject.h:41
Definition: PropertyInteger.h:129
Core::StandardManipulatorPolicy getStandardManipulatorPolicy() const
A Utf-16 (windows) or ucs4 (unix) encoded string class.
Definition: String.h:18
virtual ~PythonClassObject()
#define TYPESYSTEM_HEADER()
define for subclassing Base::BaseClass
Definition: Base.h:12
bool restorePythonInstance(const Base::GlobalId &aObjectId)
Definition: PropertyLink.h:94
The PropertyGUID class saves and restores GUIDs. It also handles the management of GUIDs in the Docum...
Definition: PropertyGUID.h:21
void setPropertyGroupName(const Base::String &aDefaultName, int aTranslationId=-1)
PropertyIndex translatorHeader
Definition: PythonClassObject.h:40
PropertyUInt64 standardManipulatorPolicy
Definition: PythonClassObject.h:38
Definition: PropertyInteger.h:53
PropertyGUID classId
Definition: PythonClassObject.h:35