OpenLexocad
28.0
|
Persistence class and root of the type system. More...
#include <Persistence.h>
Public Member Functions | |
virtual void | save (Base::AbstractWriter &, Base::PersistenceVersion &)=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::PersistenceVersion &)=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::PersistenceVersion &, 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 |
bool | isDerivedFrom (const Type type) const |
void * | operator new (size_t size) |
void | operator delete (void *p) |
BaseClass * | operator-> () |
BaseClass * | operator-> () const |
BaseClass ()=default | |
Construction. More... | |
virtual | ~BaseClass () |
Destruction. More... | |
Static Public Member Functions | |
static std::string | encodeAttribute (const std::string &) |
![]() | |
static Type | getClassTypeId (void) |
static void | init (void) |
static void * | create (void) |
static void | setIfcNameAndID (const std::string &n, int id) |
Additional Inherited Members | |
![]() | |
long | ____deadVal = 0xBADEAFFE |
![]() | |
static void | initSubclass (Base::Type &toInit, const char *ClassName, const char *ParentName, Type::instantiationMethod method=0) |
static void | initIfcTypes (const std::string &s, Base::Type classTypeId, int id) |
Persistence 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::PropertyGUID, Core::PropertyString, Core::PropertyLinkBase, Core::PropertyInteger, Core::PropertyReal, Core::PropertyDateTime, and Core::DocObject.
|
static |
|
inlinevirtual |
Return 'true' if this object must always be saved in the file.
Reimplemented in Core::PropertyDescriptor, Core::GeometryLimit, Core::PythonClassObject, Core::ColorSetForPED, Core::PythonScriptObject, Core::PostSolver, and Core::PreSolver.
|
pure virtual |
This method is used to restore properties from an XML document.
Implemented in Core::PropertyFace, Core::PropertyTypedLinkList< T >, Core::PropertyLinkList, Core::PropertyBackLinkSetBase, Core::PropertyLinkMap< T >, Core::GeometryLimit, Core::PythonClassObject, Core::PropertyGUID, Core::PropertyType2Link, Core::PropertyLinkSetBase, Core::PropertyBackLinkBase, Core::PropertyLinkBase, Core::PropertyLinkListBase, Core::PropertyTextList, Core::PropertyTextMap, Core::PythonScriptObject, Core::PropertyString2DoubleMap, Core::PropertyMultiLineText, Core::PropertyUInt8List, Core::PropertyContainer, Core::PropertyIndexList, Core::PropertyPoint2dList, Core::PropertyTexture2List, Core::PropertyLengthOpt, Core::PropertyUInt8, Core::PropertyPoint2d, Core::PropertyAxis2List, Core::PropertyTextureCoordinateFunction, Core::PropertyListPointList, Core::PropertyUInt32, Core::PropertyTextureCoordinateMapping, Core::PropertyAxis22D, Core::PropertyUInt64, Core::PropertyAxis2D, Core::PropertyBrepDataSet, Core::PropertyColorList, Core::PropertyRealList, Core::PropertyDateTimeList, Core::PropertyArrowheads, Core::PropertyGTransform, Core::PropertyGeometryList, Core::PropertyPointList, Core::PropertyRelaxationSet, Core::PropertySearchSettingsVector, Core::PropertyVectorList, Core::PropertyDirection2d, Core::PropertyTexture2Transform, Core::PropertyLong, Core::PropertyMD5, Core::PropertyAxis2, Core::PropertyString, Core::PropertySolverElementLinkVector, Core::PropertySolverSolverLinkList, Core::PropertyAxis1, Core::PropertyProxy, Core::PropertyUser, Core::PropertyBoolean, Core::PropertyColor, Core::PropertyFont, Core::PropertyBrepData, Core::PropertySearchSettings, Core::PropertyBrush, Core::PropertyEmbeddedFile, Core::PropertyMesh, Core::PropertyRelaxation, Core::PropertyTransform, Core::PropertyDrawStyle, Core::PropertyPoint, Core::PropertyDirection, Core::PropertyFile, Core::PropertyReal, Core::PropertyCompoundPlaneAngle, Core::PropertyDateTime, Core::PropertyPen, Core::PropertyInteger, Core::PropertyPercent, Core::PropertyTexture2, Core::PropertyVector, Core::PropertyLink< T >, Core::PropertyLink< Core::GeometryLimit * >, Core::PropertyLink< Core::ColorSetForPED * >, Geom::GeomSurfaceOfExtrusion, Geom::GeomSurfaceOfRevolution, Geom::GeomTrimmedSurface, Geom::GeomPlateSurface, Geom::GeomOffsetSurface, Geom::GeomPlane, Geom::GeomToroid, Geom::GeomSphere, Geom::GeomCone, Geom::GeomCylinder, Geom::GeomBSplineSurface, Geom::GeomBezierSurface, Geom::GeomOffsetCurve, Geom::GeomLineSegment, Geom::GeomLine, Geom::GeomArcOfParabola, Geom::GeomParabola, Geom::GeomArcOfHyperbola, Geom::GeomHyperbola, Geom::GeomArcOfEllipse, Geom::Geom2dTrimmedCurve, Geom::Geom2dOffsetCurve, Geom::GeomEllipse, Geom::Geom2dLineSegment, Geom::GeomArcOfCircle, Geom::Geom2dLine, Geom::GeomCircle, Geom::Geom2dArcOfParabola, Geom::Geom2dParabola, Geom::Geom2dArcOfHyperbola, Geom::GeomTrimmedCurve, Geom::Geom2dHyperbola, Geom::Geom2dArcOfEllipse, Geom::GeomBSplineCurve, Geom::Geom2dEllipse, Geom::Geom2dArcOfCircle, Geom::Geom2dCircle, Geom::GeomBezierCurve, Geom::Geom2dBSplineCurve, Geom::GeomPoint, Geom::Geom2dBezierCurve, Geom::Geometry, Geom::Geom2dPoint, Geom::Geometry2d, Core::TransactionObject, and Core::Transaction.
|
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::PropertyTypedLinkList< T >, Core::PropertyContainer, Core::PropertyFace, Core::PropertyBackLinkSet_SaveV27AsBackLink< T >, Core::PropertyBackLinkSetBase, Core::PropertyLinkMap< T >, Core::PythonClassObject, Core::PropertyGUID, Core::PropertyType2Link, Core::PropertyLinkSetBase, Core::PropertyBackLinkBase, Core::PropertyLinkBase, Core::PropertyLinkListBase, Core::PropertyTextList, Core::PropertyTextMap, Core::PythonScriptObject, Core::PropertyString2DoubleMap, Core::PropertyMultiLineText, Core::PropertyUInt8List, Core::PropertyIndexList, Core::PropertyPoint2dList, Core::PropertyTexture2List, Core::PropertyLengthOpt, Core::PropertyUInt8, Core::PropertyPoint2d, Core::PropertyAxis2List, Core::PropertyTextureCoordinateFunction, Core::PropertyUInt32, Core::PropertyListPointList, Core::PropertyTextureCoordinateMapping, Core::PropertyAxis22D, Core::PropertyUInt64, Core::PropertyBrepDataSet, Core::PropertyAxis2D, Core::PropertyColorList, Core::PropertyRealList, Core::PropertyDateTimeList, Core::PropertyArrowheads, Core::PropertyPointList, Core::PropertyGTransform, Core::PropertyGeometryList, Core::PropertyRelaxationSet, Core::PropertySearchSettingsVector, Core::PropertyVectorList, Core::PropertyDirection2d, Core::PropertyTexture2Transform, Core::PropertyLong, Core::PropertyMD5, Core::PropertyAxis2, Core::PropertyString, Core::PropertySolverElementLinkVector, Core::PropertySolverSolverLinkList, Core::PropertyAxis1, Core::PropertyProxy, Core::PropertyUser, Core::PropertyBoolean, Core::PropertyColor, Core::PropertyFont, Core::PropertyBrepData, Core::PropertySearchSettings, Core::PropertyBrush, Core::PropertyEmbeddedFile, Core::PropertyMesh, Core::PropertyRelaxation, Core::PropertyDrawStyle, Core::PropertyPoint, Core::PropertyFile, Core::PropertyTransform, Core::PropertyReal, Core::PropertyDateTime, Core::PropertyDirection, Core::PropertyPen, Core::PropertyCompoundPlaneAngle, Core::PropertyInteger, Core::PropertyPercent, Core::PropertyTexture2, Core::PropertyVector, Geom::GeomSurfaceOfExtrusion, Geom::GeomSurfaceOfRevolution, Geom::GeomTrimmedSurface, Geom::GeomPlateSurface, Geom::GeomOffsetSurface, Geom::GeomPlane, Geom::GeomToroid, Geom::GeomSphere, Geom::GeomCone, Geom::GeomCylinder, Geom::GeomBSplineSurface, Geom::GeomBezierSurface, Geom::GeomOffsetCurve, Geom::GeomLineSegment, Geom::GeomLine, Geom::GeomArcOfParabola, Geom::GeomParabola, Geom::GeomArcOfHyperbola, Geom::GeomHyperbola, Geom::GeomArcOfEllipse, Geom::Geom2dTrimmedCurve, Geom::Geom2dOffsetCurve, Geom::GeomEllipse, Geom::Geom2dLineSegment, Geom::GeomArcOfCircle, Geom::Geom2dLine, Geom::GeomCircle, Geom::Geom2dArcOfParabola, Geom::Geom2dParabola, Geom::Geom2dArcOfHyperbola, Geom::GeomTrimmedCurve, Geom::Geom2dHyperbola, Geom::Geom2dArcOfEllipse, Geom::GeomBSplineCurve, Geom::Geom2dEllipse, Geom::Geom2dArcOfCircle, Geom::Geom2dCircle, Geom::GeomBezierCurve, Geom::Geom2dBSplineCurve, Geom::GeomPoint, Geom::Geom2dBezierCurve, Geom::Geometry, Geom::Geom2dPoint, Geom::Geometry2d, Core::TransactionObject, and Core::Transaction.
|
inlinevirtual |
This method is used to save large amounts of data to a binary file.
Reimplemented in Core::PropertyTexture2List.