Open CASCADE Technology
6.9.1
|
Attribute Storage Driver. More...
#include <MDF_ASDriver.hxx>
Public Member Functions | |
virtual Standard_Integer | VersionNumber () const =0 |
Returns the version number from which the driver is available. More... | |
virtual Handle< Standard_Type > | SourceType () const =0 |
Returns the type of source object, inheriting from Attribute from TDF. More... | |
virtual Handle< PDF_Attribute > | NewEmpty () const =0 |
Creates a new attribute from PDF. More... | |
virtual void | Paste (const Handle< TDF_Attribute > &aSource, const Handle< PDF_Attribute > &aTarget, const Handle< MDF_SRelocationTable > &aRelocTable) const =0 |
Translate the contents of <aSource> and put it into <aTarget>, using the relocation table <aRelocTable> to keep the sharings. More... | |
void | WriteMessage (const TCollection_ExtendedString &theMessage) const |
To send message to Application (if MessageDriver defined) More... | |
Public Member Functions inherited from MMgt_TShared | |
virtual void | Delete () const |
Memory deallocator for transient classes. More... | |
Public Member Functions inherited from Standard_Transient | |
Standard_Transient () | |
Empty constructor. More... | |
Standard_Transient (const Standard_Transient &) | |
Copy constructor – does nothing. More... | |
Standard_Transient & | operator= (const Standard_Transient &) |
Assignment operator, needed to avoid copying reference counter. More... | |
virtual | ~Standard_Transient () |
Destructor must be virtual. More... | |
virtual const Handle_Standard_Type & | DynamicType () const |
Returns a type information object about this object. More... | |
Standard_Boolean | IsInstance (const Handle_Standard_Type &theType) const |
Returns a true value if this is an instance of Type. More... | |
Standard_Boolean | IsInstance (const Standard_CString theTypeName) const |
Returns a true value if this is an instance of TypeName. More... | |
Standard_Boolean | IsKind (const Handle_Standard_Type &theType) const |
Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More... | |
Standard_Boolean | IsKind (const Standard_CString theTypeName) const |
Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More... | |
virtual Handle_Standard_Transient | This () const |
Returns a Handle which references this object. Must never be called to objects created in stack. More... | |
Standard_Integer | GetRefCount () const |
Get the reference counter of this object. More... | |
Protected Member Functions | |
MDF_ASDriver (const Handle< CDM_MessageDriver > &theMessageDriver) | |
Attribute Storage Driver.
|
protected |
|
pure virtual |
Creates a new attribute from PDF.
Implemented in MDocStd_XLinkStorageDriver, MPrsStd_AISPresentationStorageDriver, MPrsStd_PositionStorageDriver, MXCAFDoc_DatumStorageDriver, MXCAFDoc_DimTolStorageDriver, MXCAFDoc_MaterialStorageDriver, MDF_ReferenceStorageDriver, MDF_TagSourceStorageDriver, MDataStd_AsciiStringStorageDriver, MDataStd_CommentStorageDriver, MDataStd_DirectoryStorageDriver, MDataStd_ExpressionStorageDriver, MDataStd_ExtStringArrayStorageDriver, MDataStd_IntegerArrayStorageDriver, MDataStd_IntegerStorageDriver, MDataStd_IntPackedMapStorageDriver, MDataStd_NameStorageDriver, MDataStd_NoteBookStorageDriver, MDataStd_RealArrayStorageDriver, MDataStd_RealStorageDriver, MDataStd_RelationStorageDriver, MDataStd_UAttributeStorageDriver, MDataStd_VariableStorageDriver, MDataXtd_AxisStorageDriver, MDataXtd_ConstraintStorageDriver, MDataXtd_GeometryStorageDriver, MDataXtd_PatternStdStorageDriver, MDataXtd_PlacementStorageDriver, MDataXtd_PlaneStorageDriver, MDataXtd_PointStorageDriver, MDataXtd_ShapeStorageDriver, MNaming_NamedShapeStorageDriver, MNaming_NamingStorageDriver, MXCAFDoc_AreaStorageDriver, MXCAFDoc_CentroidStorageDriver, MXCAFDoc_ColorStorageDriver, MXCAFDoc_ColorToolStorageDriver, MXCAFDoc_DimTolToolStorageDriver, MXCAFDoc_DocumentToolStorageDriver, MXCAFDoc_LayerToolStorageDriver, MXCAFDoc_LocationStorageDriver, MXCAFDoc_MaterialToolStorageDriver, MXCAFDoc_ShapeToolStorageDriver, MXCAFDoc_VolumeStorageDriver, MDataStd_TreeNodeStorageDriver, MFunction_FunctionStorageDriver, MXCAFDoc_GraphNodeStorageDriver, MDataStd_TickStorageDriver, MDataStd_BooleanArrayStorageDriver, MDataStd_BooleanListStorageDriver, MDataStd_ByteArrayStorageDriver, MDataStd_ExtStringListStorageDriver, MDataStd_IntegerListStorageDriver, MDataStd_NamedDataStorageDriver, MDataStd_RealListStorageDriver, MDataStd_ReferenceArrayStorageDriver, and MDataStd_ReferenceListStorageDriver.
|
pure virtual |
Translate the contents of <aSource> and put it into <aTarget>, using the relocation table <aRelocTable> to keep the sharings.
Implemented in MDocStd_XLinkStorageDriver, MPrsStd_AISPresentationStorageDriver, MPrsStd_PositionStorageDriver, MXCAFDoc_DatumStorageDriver, MXCAFDoc_DimTolStorageDriver, MXCAFDoc_MaterialStorageDriver, MDF_ReferenceStorageDriver, MDF_TagSourceStorageDriver, MDataStd_AsciiStringStorageDriver, MDataStd_CommentStorageDriver, MDataStd_DirectoryStorageDriver, MDataStd_ExpressionStorageDriver, MDataStd_ExtStringArrayStorageDriver, MDataStd_IntegerArrayStorageDriver, MDataStd_IntegerStorageDriver, MDataStd_IntPackedMapStorageDriver, MDataStd_NameStorageDriver, MDataStd_NoteBookStorageDriver, MDataStd_RealArrayStorageDriver, MDataStd_RealStorageDriver, MDataStd_RelationStorageDriver, MDataStd_UAttributeStorageDriver, MDataStd_VariableStorageDriver, MDataXtd_AxisStorageDriver, MDataXtd_ConstraintStorageDriver, MDataXtd_GeometryStorageDriver, MDataXtd_PatternStdStorageDriver, MDataXtd_PlacementStorageDriver, MDataXtd_PlaneStorageDriver, MDataXtd_PointStorageDriver, MDataXtd_ShapeStorageDriver, MNaming_NamedShapeStorageDriver, MNaming_NamingStorageDriver, MXCAFDoc_AreaStorageDriver, MXCAFDoc_CentroidStorageDriver, MXCAFDoc_ColorStorageDriver, MXCAFDoc_ColorToolStorageDriver, MXCAFDoc_DimTolToolStorageDriver, MXCAFDoc_DocumentToolStorageDriver, MXCAFDoc_LayerToolStorageDriver, MXCAFDoc_LocationStorageDriver, MXCAFDoc_MaterialToolStorageDriver, MXCAFDoc_ShapeToolStorageDriver, MXCAFDoc_VolumeStorageDriver, MDataStd_TreeNodeStorageDriver, MFunction_FunctionStorageDriver, MXCAFDoc_GraphNodeStorageDriver, MDataStd_TickStorageDriver, MDataStd_BooleanArrayStorageDriver, MDataStd_BooleanListStorageDriver, MDataStd_ByteArrayStorageDriver, MDataStd_ExtStringListStorageDriver, MDataStd_IntegerListStorageDriver, MDataStd_NamedDataStorageDriver, MDataStd_RealListStorageDriver, MDataStd_ReferenceArrayStorageDriver, and MDataStd_ReferenceListStorageDriver.
|
pure virtual |
Returns the type of source object, inheriting from Attribute from TDF.
Implemented in MDocStd_XLinkStorageDriver, MPrsStd_AISPresentationStorageDriver, MPrsStd_PositionStorageDriver, MXCAFDoc_DatumStorageDriver, MXCAFDoc_DimTolStorageDriver, MXCAFDoc_MaterialStorageDriver, MDF_ReferenceStorageDriver, MDF_TagSourceStorageDriver, MDataStd_AsciiStringStorageDriver, MDataStd_CommentStorageDriver, MDataStd_DirectoryStorageDriver, MDataStd_ExpressionStorageDriver, MDataStd_ExtStringArrayStorageDriver, MDataStd_IntegerArrayStorageDriver, MDataStd_IntegerStorageDriver, MDataStd_IntPackedMapStorageDriver, MDataStd_NameStorageDriver, MDataStd_NoteBookStorageDriver, MDataStd_RealArrayStorageDriver, MDataStd_RealStorageDriver, MDataStd_RelationStorageDriver, MDataStd_UAttributeStorageDriver, MDataStd_VariableStorageDriver, MDataXtd_AxisStorageDriver, MDataXtd_ConstraintStorageDriver, MDataXtd_GeometryStorageDriver, MDataXtd_PatternStdStorageDriver, MDataXtd_PlacementStorageDriver, MDataXtd_PlaneStorageDriver, MDataXtd_PointStorageDriver, MDataXtd_ShapeStorageDriver, MNaming_NamedShapeStorageDriver, MNaming_NamingStorageDriver, MXCAFDoc_AreaStorageDriver, MXCAFDoc_CentroidStorageDriver, MXCAFDoc_ColorStorageDriver, MXCAFDoc_ColorToolStorageDriver, MXCAFDoc_DimTolToolStorageDriver, MXCAFDoc_DocumentToolStorageDriver, MXCAFDoc_LayerToolStorageDriver, MXCAFDoc_LocationStorageDriver, MXCAFDoc_MaterialToolStorageDriver, MXCAFDoc_ShapeToolStorageDriver, MXCAFDoc_VolumeStorageDriver, MDataStd_TreeNodeStorageDriver, MFunction_FunctionStorageDriver, MXCAFDoc_GraphNodeStorageDriver, MDataStd_TickStorageDriver, MDataStd_BooleanArrayStorageDriver, MDataStd_BooleanListStorageDriver, MDataStd_ByteArrayStorageDriver, MDataStd_ExtStringListStorageDriver, MDataStd_IntegerListStorageDriver, MDataStd_NamedDataStorageDriver, MDataStd_RealListStorageDriver, MDataStd_ReferenceArrayStorageDriver, and MDataStd_ReferenceListStorageDriver.
|
pure virtual |
Returns the version number from which the driver is available.
Implemented in MDocStd_XLinkStorageDriver, MPrsStd_AISPresentationStorageDriver, MPrsStd_PositionStorageDriver, MXCAFDoc_DatumStorageDriver, MXCAFDoc_DimTolStorageDriver, MXCAFDoc_MaterialStorageDriver, MDF_ReferenceStorageDriver, MDF_TagSourceStorageDriver, MDataStd_AsciiStringStorageDriver, MDataStd_CommentStorageDriver, MDataStd_DirectoryStorageDriver, MDataStd_ExpressionStorageDriver, MDataStd_ExtStringArrayStorageDriver, MDataStd_IntegerArrayStorageDriver, MDataStd_IntegerStorageDriver, MDataStd_IntPackedMapStorageDriver, MDataStd_NameStorageDriver, MDataStd_NoteBookStorageDriver, MDataStd_RealArrayStorageDriver, MDataStd_RealStorageDriver, MDataStd_RelationStorageDriver, MDataStd_TreeNodeStorageDriver, MDataStd_UAttributeStorageDriver, MDataStd_VariableStorageDriver, MFunction_FunctionStorageDriver, MDataXtd_AxisStorageDriver, MDataXtd_ConstraintStorageDriver, MDataXtd_GeometryStorageDriver, MDataXtd_PatternStdStorageDriver, MDataXtd_PlacementStorageDriver, MDataXtd_PlaneStorageDriver, MDataXtd_PointStorageDriver, MDataXtd_ShapeStorageDriver, MNaming_NamedShapeStorageDriver, MNaming_NamingStorageDriver, MXCAFDoc_AreaStorageDriver, MXCAFDoc_CentroidStorageDriver, MXCAFDoc_ColorStorageDriver, MXCAFDoc_ColorToolStorageDriver, MXCAFDoc_DimTolToolStorageDriver, MXCAFDoc_DocumentToolStorageDriver, MXCAFDoc_GraphNodeStorageDriver, MXCAFDoc_LayerToolStorageDriver, MXCAFDoc_LocationStorageDriver, MXCAFDoc_MaterialToolStorageDriver, MXCAFDoc_ShapeToolStorageDriver, MXCAFDoc_VolumeStorageDriver, MDataStd_BooleanArrayStorageDriver, MDataStd_BooleanListStorageDriver, MDataStd_ByteArrayStorageDriver, MDataStd_ExtStringListStorageDriver, MDataStd_IntegerListStorageDriver, MDataStd_NamedDataStorageDriver, MDataStd_RealListStorageDriver, MDataStd_ReferenceArrayStorageDriver, MDataStd_ReferenceListStorageDriver, and MDataStd_TickStorageDriver.
void MDF_ASDriver::WriteMessage | ( | const TCollection_ExtendedString & | theMessage | ) | const |
To send message to Application (if MessageDriver defined)