OpenLexocad
27.0
|
Persistance class and root of the type system. More...
#include <Persistance.h>
Public Member Functions | |
virtual void | save (Base::AbstractWriter &, Base::PersistanceVersion &)=0 |
This method is used to save properties or very small amounts of data to an XML document. More... | |
virtual void | restore (Base::AbstractXMLReader &, Base::PersistanceVersion &)=0 |
This method is used to restore properties from an XML document. More... | |
virtual void | saveDocFile (Base::AbstractWriter &, const Base::String &, const Base::String &) |
This method is used to save large amounts of data to a binary file. More... | |
virtual void | restoreDocFile (Base::Reader &, const Base::String &) |
This method is used to restore large amounts of data from a binary file. More... | |
virtual bool | mustbeSaved () const |
Return 'true' if this object must always be saved in the file. More... | |
virtual bool | createSQL (Base::AbstractWriter &, Base::PersistanceVersion &, bool) |
This method is used to save properties or very small amounts of data to an XML document. More... | |
![]() | |
virtual Type | getTypeId (void) const |
template<typename T > | |
bool | isDerivedFrom () const |
BaseClass () | |
Construction. More... | |
virtual | ~BaseClass () |
Destruction. More... | |
Additional Inherited Members | |
![]() | |
static Type | getClassTypeId (void) |
static void | init (void) |
static void * | create (void) |
static void | setIfcNameAndID (std::string n, int id) |
![]() | |
static void | initSubclass (Base::Type &toInit, const char *ClassName, const char *ParentName, Type::instantiationMethod method=0) |
static void | initIfcTypes (std::string s, Base::Type classTypeId, int id) |
Persistance class and root of the type system.
|
inlinevirtual |
This method is used to save properties or very small amounts of data to an XML document.
Reimplemented in Core::Property, Core::DocObject, Core::PropertyGUID, Core::PropertyString, Core::PropertyLinkBase, Core::PropertyBoolean, Core::PropertyDateTime, Core::PropertyInteger, and Core::PropertyReal.
|
inlinevirtual |
Return 'true' if this object must always be saved in the file.
Reimplemented in Core::PropertyDescriptor, Core::PythonClassObject, Core::PythonScriptObject, Core::PostSolver, and Core::PreSolver.
|
pure virtual |
This method is used to restore properties from an XML document.
Implemented in Core::PropertyUInt8List, Core::PropertyContainer, Core::PropertyIndexList, Core::PropertyPoint2dList, Core::PropertyTexture2List, Core::PropertyTypedLinkList< T >, Core::PropertyPoint2d, Core::PropertyLengthOpt, Core::PropertyUInt8, Core::PropertyTextureCoordinateFunction, Core::PropertyLinkList, Core::PropertyListPointList, Core::PropertyAxis2List, Core::PropertyUInt32, Core::PropertyBackLinkSetBase, Core::PropertyTextureCoordinateMapping, Core::PropertyMultiLineText, Core::PropertyUInt64, Core::PropertyAxis22D, Core::PropertyPointList, Core::PropertyColorList, Core::PropertyRealList, Core::PropertyTexture2Transform, Core::PropertyGTransform, Core::PropertyAxis2D, Core::PropertyBrepDataSet, Core::PropertyArrowheads, Core::PropertyDirection2d, Core::PropertyDateTimeList, Core::PropertyGUID, Core::PropertyRelaxationSet, Core::PropertyVectorList, Core::PropertySearchSettingsVector, Core::PropertyMD5, Core::PythonClassObject, Core::PropertyLong, Core::PropertyTextList, Core::PropertyLinkSetBase, Core::PropertyLink< T >, Core::PropertyAxis2, Core::PropertyLinkListBase, Core::PropertyString, Core::PropertyBackLinkBase, Core::PropertyLinkBase, Core::PropertyProxy, Core::PropertySolverElementLinkVector, Core::PropertySolverSolverLinkList, Core::PropertyTexture2, Core::PropertyUser, Core::PropertyAxis1, Core::PropertyLogical, Core::PropertyPoint, Core::PropertyColor, Core::PropertyDirection, Core::PropertySearchSettings, Core::PropertyMesh, Core::PropertyRelaxation, Core::PropertyTransform, Core::PropertyBrepData, Core::PropertyBrush, Core::PropertyCompoundPlaneAngle, Core::PropertyEmbeddedFile, Core::PropertyBoolean, Core::PropertyDrawStyle, Core::PropertyFont, Core::PropertyDateTime, Core::PropertyFace, Core::PropertyReal, Core::PropertyFile, Core::PropertyPen, Core::PropertyVector, Core::PythonScriptObject, Core::PropertyPercent, and Core::PropertyInteger.
|
inlinevirtual |
This method is used to restore large amounts of data from a binary file.
Reimplemented in Core::PropertyTexture2List.
|
pure virtual |
This method is used to save properties or very small amounts of data to an XML document.
Implemented in Core::PropertyUInt8List, Core::PropertyContainer, Core::PropertyIndexList, Core::PropertyPoint2dList, Core::PropertyTexture2List, Core::PropertyTypedLinkList< T >, Core::PropertyPoint2d, Core::PropertyLengthOpt, Core::PropertyUInt8, Core::PropertyTextureCoordinateFunction, Core::PropertyListPointList, Core::PropertyAxis2List, Core::PropertyUInt32, Core::PropertyBackLinkSetBase, Core::PropertyTextureCoordinateMapping, Core::PropertyMultiLineText, Core::PropertyUInt64, Core::PropertyAxis22D, Core::PropertyPointList, Core::PropertyColorList, Core::PropertyRealList, Core::PropertyTexture2Transform, Core::PropertyBrepDataSet, Core::PropertyArrowheads, Core::PropertyGTransform, Core::PropertyAxis2D, Core::PropertyDateTimeList, Core::PropertyGUID, Core::PropertyRelaxationSet, Core::PropertyVectorList, Core::PropertyDirection2d, Core::PropertySearchSettingsVector, Core::PropertyMD5, Core::PythonClassObject, Core::PropertyLong, Core::PropertyTextList, Core::PropertyLinkSetBase, Core::PropertyAxis2, Core::PropertyLinkListBase, Core::PropertyBackLinkBase, Core::PropertyLinkBase, Core::PropertyProxy, Core::PropertySolverElementLinkVector, Core::PropertySolverSolverLinkList, Core::PropertyString, Core::PropertyTexture2, Core::PropertyUser, Core::PropertyLogical, Core::PropertyPoint, Core::PropertyAxis1, Core::PropertyColor, Core::PropertySearchSettings, Core::PropertyMesh, Core::PropertyRelaxation, Core::PropertyBrepData, Core::PropertyBrush, Core::PropertyDirection, Core::PropertyEmbeddedFile, Core::PropertyDrawStyle, Core::PropertyFont, Core::PropertyTransform, Core::PropertyBoolean, Core::PropertyCompoundPlaneAngle, Core::PropertyFace, Core::PropertyDateTime, Core::PropertyFile, Core::PropertyPen, Core::PropertyReal, Core::PropertyVector, Core::PythonScriptObject, Core::PropertyPercent, and Core::PropertyInteger.
|
inlinevirtual |
This method is used to save large amounts of data to a binary file.
Reimplemented in Core::PropertyTexture2List.