|
virtual const char * detachFromDocument () | |
|
virtual bool isAttachedToDocument () const | |
|
TransactionalObject (void) | |
| Constructor. More...
|
|
virtual ~TransactionalObject () | |
|
ExtensionIterator extensionBegin () | |
|
ExtensionContainer () | |
|
ExtensionIterator extensionEnd () | |
|
App::Extension * getExtension (Base::Type, bool derived=true, bool no_except=false) const | |
|
App::Extension * getExtension (const std::string &name) const | |
|
template<typename ExtensionT > |
ExtensionT * getExtensionByType (bool no_except=false, bool derived=true) const | |
|
std::vector< Extension * > getExtensionsDerivedFrom (Base::Type type) const | |
|
template<typename ExtensionT > |
std::vector< ExtensionT * > getExtensionsDerivedFromType () const | |
|
bool hasExtension (Base::Type, bool derived=true) const | |
|
bool hasExtension (const std::string &name) const | |
|
bool hasExtensions () const | |
|
void registerExtension (Base::Type extension, App::Extension *ext) | |
|
virtual ~ExtensionContainer () | |
|
virtual Property * getPropertyByName (const char *name) const override | |
| find a property by its name More...
|
|
virtual const char * getPropertyName (const Property *prop) const override | |
| get the name of a property More...
|
|
virtual void getPropertyMap (std::map< std::string, Property * > &Map) const override | |
| get all properties of the class (including properties of the parent) More...
|
|
virtual void getPropertyList (std::vector< Property * > &List) const override | |
| get all properties of the class (including properties of the parent) More...
|
|
virtual short getPropertyType (const Property *prop) const override | |
| get the Type of a Property More...
|
|
virtual short getPropertyType (const char *name) const override | |
| get the Type of a named Property More...
|
|
virtual const char * getPropertyGroup (const Property *prop) const override | |
| get the Group of a Property More...
|
|
virtual const char * getPropertyGroup (const char *name) const override | |
| get the Group of a named Property More...
|
|
virtual const char * getPropertyDocumentation (const Property *prop) const override | |
| get the Group of a Property More...
|
|
virtual const char * getPropertyDocumentation (const char *name) const override | |
| get the Group of a named Property More...
|
|
virtual void onChanged (const Property *) override | |
| get called by the container when a property has changed More...
|
|
virtual void Save (Base::Writer &writer) const override | |
| This method is used to save properties to an XML document. More...
|
|
virtual void Restore (Base::XMLReader &reader) override | |
| This method is used to restore properties from an XML document. More...
|
|
void saveExtensions (Base::Writer &writer) const | |
|
void restoreExtensions (Base::XMLReader &reader) | |
|
virtual App::Property * addDynamicProperty (const char *type, const char *name=0, const char *group=0, const char *doc=0, short attr=0, bool ro=false, bool hidden=false) | |
|
virtual App::Property * getDynamicPropertyByName (const char *name) const | |
|
DynamicProperty::PropData getDynamicPropertyData (const Property *prop) const | |
|
virtual std::vector< std::string > getDynamicPropertyNames () const | |
|
virtual std::string getFullName () const | |
|
virtual unsigned int getMemSize (void) const | |
| This method is used to get the size of objects It is not meant to have the exact size, it is more or less an estimation which runs fast! Is it two bytes or a GB? More...
|
|
const char * getPropertyPrefix () const | |
|
bool isHidden (const char *name) const | |
| check if the named property is hidden More...
|
|
bool isHidden (const Property *prop) const | |
| check if the property is hidden More...
|
|
bool isReadOnly (const char *name) const | |
| check if the named property is read-only More...
|
|
bool isReadOnly (const Property *prop) const | |
| check if the property is read-only More...
|
|
virtual void onPropertyStatusChanged (const Property &prop, unsigned long oldStatus) | |
|
PropertyContainer () | |
| A constructor. More...
|
|
virtual bool removeDynamicProperty (const char *name) | |
|
void setPropertyPrefix (const char *prefix) | |
|
void setPropertyStatus (unsigned char bit, bool value) | |
| set the Status bit of all properties at once More...
|
|
virtual ~PropertyContainer () | |
| A destructor. More...
|
|
void dumpToStream (std::ostream &stream, int compression) | |
|
virtual Base::Type getTypeId (void) const | |
|
virtual void RestoreDocFile (Reader &) | |
| This method is used to restore large amounts of data from a file In this method you simply stream in your SaveDocFile() saved data. More...
|
|
void restoreFromStream (std::istream &stream) | |
|
virtual void SaveDocFile (Writer &) const | |
| This method is used to save large amounts of data to a binary file. More...
|
|
BaseClass () | |
| Construction. More...
|
|
virtual PyObject * getPyObject (void) | |
| This method returns the Python wrapper for a C++ object. More...
|
|
bool isDerivedFrom (const Type type) const | |
|
virtual void setPyObject (PyObject *) | |
|
virtual ~BaseClass () | |
| Destruction. More...
|
|