Open CASCADE Technology  6.9.1
Public Member Functions | Protected Member Functions
MDF_ASDriver Class Referenceabstract

Attribute Storage Driver. More...

#include <MDF_ASDriver.hxx>

Inheritance diagram for MDF_ASDriver:
Inheritance graph
[legend]

Public Member Functions

virtual Standard_Integer VersionNumber () const =0
 Returns the version number from which the driver is available. More...
 
virtual Handle< Standard_TypeSourceType () const =0
 Returns the type of source object, inheriting from Attribute from TDF. More...
 
virtual Handle< PDF_AttributeNewEmpty () 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_Transientoperator= (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)
 

Detailed Description

Attribute Storage Driver.

Constructor & Destructor Documentation

MDF_ASDriver::MDF_ASDriver ( const Handle< CDM_MessageDriver > &  theMessageDriver)
protected

Member Function Documentation

virtual Handle< PDF_Attribute > MDF_ASDriver::NewEmpty ( ) const
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.

virtual void MDF_ASDriver::Paste ( const Handle< TDF_Attribute > &  aSource,
const Handle< PDF_Attribute > &  aTarget,
const Handle< MDF_SRelocationTable > &  aRelocTable 
) const
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.

virtual Handle< Standard_Type > MDF_ASDriver::SourceType ( ) const
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.

virtual Standard_Integer MDF_ASDriver::VersionNumber ( ) const
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)


The documentation for this class was generated from the following file: