0024927: Getting rid of "Persistent" functionality -- Code
authorabv <abv@opencascade.com>
Wed, 4 Jun 2014 08:12:21 +0000 (12:12 +0400)
committerbugmaster <bugmaster@opencascade.com>
Thu, 21 May 2015 11:52:12 +0000 (14:52 +0300)
Brute force removal of standard persistence (ShapeSchema, StdLSchema, StdSchema, XCAFSchema) and all persistence-specific toolkits.

OCAF formats "MDTV-Standard", "MDTV-XCAF" are removed from resource files.

Uses of "MDTV-Standard" are changed to "BinOcaf", and "MDTV-XCAF" changed to "BinXCAF".

818 files changed:
adm/UDLIST
src/AppStd/AppStd_Application.cxx
src/CDF/CDF.cdl
src/CDM/CDM_Document.cdl
src/DBC/DBC.cdl [deleted file]
src/DBC/DBC_BaseArray.cdl [deleted file]
src/DBC/DBC_BaseArray.cxx [deleted file]
src/DBC/DBC_BaseArray.lxx [deleted file]
src/DBC/DBC_BaseArray_objs.hxx [deleted file]
src/DBC/DBC_Copy.tcl [deleted file]
src/DBC/DBC_DBVArray.cxx [deleted file]
src/DBC/DBC_DBVArray.hxx [deleted file]
src/DBC/DBC_VArray.cdl [deleted file]
src/DBC/DBC_VArray.gxx [deleted file]
src/DBC/DBC_VArrayNode.gxx [deleted file]
src/DBC/DBC_VArrayTNode.gxx [deleted file]
src/DBC/DBC_VArrayTNode.lxx [deleted file]
src/DBC/DBC_WOKSteps.edl [deleted file]
src/DBC/FILES [deleted file]
src/MDF/MDF.cdl [deleted file]
src/MDF/MDF.cxx [deleted file]
src/MDF/MDF_ARDriver.cdl [deleted file]
src/MDF/MDF_ARDriver.cxx [deleted file]
src/MDF/MDF_ASDriver.cdl [deleted file]
src/MDF/MDF_ASDriver.cxx [deleted file]
src/MDF/MDF_DriverTable.cdl [deleted file]
src/MDF/MDF_DriverTable.gxx [deleted file]
src/MDF/MDF_ReferenceRetrievalDriver.cdl [deleted file]
src/MDF/MDF_ReferenceRetrievalDriver.cxx [deleted file]
src/MDF/MDF_ReferenceStorageDriver.cdl [deleted file]
src/MDF/MDF_ReferenceStorageDriver.cxx [deleted file]
src/MDF/MDF_RelocationTable.cdl [deleted file]
src/MDF/MDF_RelocationTable.gxx [deleted file]
src/MDF/MDF_TagSourceRetrievalDriver.cdl [deleted file]
src/MDF/MDF_TagSourceRetrievalDriver.cxx [deleted file]
src/MDF/MDF_TagSourceStorageDriver.cdl [deleted file]
src/MDF/MDF_TagSourceStorageDriver.cxx [deleted file]
src/MDF/MDF_Tool.cdl [deleted file]
src/MDF/MDF_Tool.cxx [deleted file]
src/MDataStd/MDataStd.cdl [deleted file]
src/MDataStd/MDataStd.cxx [deleted file]
src/MDataStd/MDataStd_AsciiStringRetrievalDriver.cdl [deleted file]
src/MDataStd/MDataStd_AsciiStringRetrievalDriver.cxx [deleted file]
src/MDataStd/MDataStd_AsciiStringStorageDriver.cdl [deleted file]
src/MDataStd/MDataStd_AsciiStringStorageDriver.cxx [deleted file]
src/MDataStd/MDataStd_BooleanArrayRetrievalDriver.cdl [deleted file]
src/MDataStd/MDataStd_BooleanArrayRetrievalDriver.cxx [deleted file]
src/MDataStd/MDataStd_BooleanArrayStorageDriver.cdl [deleted file]
src/MDataStd/MDataStd_BooleanArrayStorageDriver.cxx [deleted file]
src/MDataStd/MDataStd_BooleanListRetrievalDriver.cdl [deleted file]
src/MDataStd/MDataStd_BooleanListRetrievalDriver.cxx [deleted file]
src/MDataStd/MDataStd_BooleanListStorageDriver.cdl [deleted file]
src/MDataStd/MDataStd_BooleanListStorageDriver.cxx [deleted file]
src/MDataStd/MDataStd_ByteArrayRetrievalDriver.cdl [deleted file]
src/MDataStd/MDataStd_ByteArrayRetrievalDriver.cxx [deleted file]
src/MDataStd/MDataStd_ByteArrayRetrievalDriver_1.cdl [deleted file]
src/MDataStd/MDataStd_ByteArrayRetrievalDriver_1.cxx [deleted file]
src/MDataStd/MDataStd_ByteArrayStorageDriver.cdl [deleted file]
src/MDataStd/MDataStd_ByteArrayStorageDriver.cxx [deleted file]
src/MDataStd/MDataStd_CommentRetrievalDriver.cdl [deleted file]
src/MDataStd/MDataStd_CommentRetrievalDriver.cxx [deleted file]
src/MDataStd/MDataStd_CommentStorageDriver.cdl [deleted file]
src/MDataStd/MDataStd_CommentStorageDriver.cxx [deleted file]
src/MDataStd/MDataStd_DirectoryRetrievalDriver.cdl [deleted file]
src/MDataStd/MDataStd_DirectoryRetrievalDriver.cxx [deleted file]
src/MDataStd/MDataStd_DirectoryStorageDriver.cdl [deleted file]
src/MDataStd/MDataStd_DirectoryStorageDriver.cxx [deleted file]
src/MDataStd/MDataStd_ExpressionRetrievalDriver.cdl [deleted file]
src/MDataStd/MDataStd_ExpressionRetrievalDriver.cxx [deleted file]
src/MDataStd/MDataStd_ExpressionStorageDriver.cdl [deleted file]
src/MDataStd/MDataStd_ExpressionStorageDriver.cxx [deleted file]
src/MDataStd/MDataStd_ExtStringArrayRetrievalDriver.cdl [deleted file]
src/MDataStd/MDataStd_ExtStringArrayRetrievalDriver.cxx [deleted file]
src/MDataStd/MDataStd_ExtStringArrayRetrievalDriver_1.cdl [deleted file]
src/MDataStd/MDataStd_ExtStringArrayRetrievalDriver_1.cxx [deleted file]
src/MDataStd/MDataStd_ExtStringArrayStorageDriver.cdl [deleted file]
src/MDataStd/MDataStd_ExtStringArrayStorageDriver.cxx [deleted file]
src/MDataStd/MDataStd_ExtStringListRetrievalDriver.cdl [deleted file]
src/MDataStd/MDataStd_ExtStringListRetrievalDriver.cxx [deleted file]
src/MDataStd/MDataStd_ExtStringListStorageDriver.cdl [deleted file]
src/MDataStd/MDataStd_ExtStringListStorageDriver.cxx [deleted file]
src/MDataStd/MDataStd_IntPackedMapRetrievalDriver.cdl [deleted file]
src/MDataStd/MDataStd_IntPackedMapRetrievalDriver.cxx [deleted file]
src/MDataStd/MDataStd_IntPackedMapRetrievalDriver_1.cdl [deleted file]
src/MDataStd/MDataStd_IntPackedMapRetrievalDriver_1.cxx [deleted file]
src/MDataStd/MDataStd_IntPackedMapStorageDriver.cdl [deleted file]
src/MDataStd/MDataStd_IntPackedMapStorageDriver.cxx [deleted file]
src/MDataStd/MDataStd_IntegerArrayRetrievalDriver.cdl [deleted file]
src/MDataStd/MDataStd_IntegerArrayRetrievalDriver.cxx [deleted file]
src/MDataStd/MDataStd_IntegerArrayRetrievalDriver_1.cdl [deleted file]
src/MDataStd/MDataStd_IntegerArrayRetrievalDriver_1.cxx [deleted file]
src/MDataStd/MDataStd_IntegerArrayStorageDriver.cdl [deleted file]
src/MDataStd/MDataStd_IntegerArrayStorageDriver.cxx [deleted file]
src/MDataStd/MDataStd_IntegerListRetrievalDriver.cdl [deleted file]
src/MDataStd/MDataStd_IntegerListRetrievalDriver.cxx [deleted file]
src/MDataStd/MDataStd_IntegerListStorageDriver.cdl [deleted file]
src/MDataStd/MDataStd_IntegerListStorageDriver.cxx [deleted file]
src/MDataStd/MDataStd_IntegerRetrievalDriver.cdl [deleted file]
src/MDataStd/MDataStd_IntegerRetrievalDriver.cxx [deleted file]
src/MDataStd/MDataStd_IntegerStorageDriver.cdl [deleted file]
src/MDataStd/MDataStd_IntegerStorageDriver.cxx [deleted file]
src/MDataStd/MDataStd_NameRetrievalDriver.cdl [deleted file]
src/MDataStd/MDataStd_NameRetrievalDriver.cxx [deleted file]
src/MDataStd/MDataStd_NameStorageDriver.cdl [deleted file]
src/MDataStd/MDataStd_NameStorageDriver.cxx [deleted file]
src/MDataStd/MDataStd_NamedDataRetrievalDriver.cdl [deleted file]
src/MDataStd/MDataStd_NamedDataRetrievalDriver.cxx [deleted file]
src/MDataStd/MDataStd_NamedDataStorageDriver.cdl [deleted file]
src/MDataStd/MDataStd_NamedDataStorageDriver.cxx [deleted file]
src/MDataStd/MDataStd_NoteBookRetrievalDriver.cdl [deleted file]
src/MDataStd/MDataStd_NoteBookRetrievalDriver.cxx [deleted file]
src/MDataStd/MDataStd_NoteBookStorageDriver.cdl [deleted file]
src/MDataStd/MDataStd_NoteBookStorageDriver.cxx [deleted file]
src/MDataStd/MDataStd_RealArrayRetrievalDriver.cdl [deleted file]
src/MDataStd/MDataStd_RealArrayRetrievalDriver.cxx [deleted file]
src/MDataStd/MDataStd_RealArrayRetrievalDriver_1.cdl [deleted file]
src/MDataStd/MDataStd_RealArrayRetrievalDriver_1.cxx [deleted file]
src/MDataStd/MDataStd_RealArrayStorageDriver.cdl [deleted file]
src/MDataStd/MDataStd_RealArrayStorageDriver.cxx [deleted file]
src/MDataStd/MDataStd_RealListRetrievalDriver.cdl [deleted file]
src/MDataStd/MDataStd_RealListRetrievalDriver.cxx [deleted file]
src/MDataStd/MDataStd_RealListStorageDriver.cdl [deleted file]
src/MDataStd/MDataStd_RealListStorageDriver.cxx [deleted file]
src/MDataStd/MDataStd_RealRetrievalDriver.cdl [deleted file]
src/MDataStd/MDataStd_RealRetrievalDriver.cxx [deleted file]
src/MDataStd/MDataStd_RealStorageDriver.cdl [deleted file]
src/MDataStd/MDataStd_RealStorageDriver.cxx [deleted file]
src/MDataStd/MDataStd_ReferenceArrayRetrievalDriver.cdl [deleted file]
src/MDataStd/MDataStd_ReferenceArrayRetrievalDriver.cxx [deleted file]
src/MDataStd/MDataStd_ReferenceArrayStorageDriver.cdl [deleted file]
src/MDataStd/MDataStd_ReferenceArrayStorageDriver.cxx [deleted file]
src/MDataStd/MDataStd_ReferenceListRetrievalDriver.cdl [deleted file]
src/MDataStd/MDataStd_ReferenceListRetrievalDriver.cxx [deleted file]
src/MDataStd/MDataStd_ReferenceListStorageDriver.cdl [deleted file]
src/MDataStd/MDataStd_ReferenceListStorageDriver.cxx [deleted file]
src/MDataStd/MDataStd_RelationRetrievalDriver.cdl [deleted file]
src/MDataStd/MDataStd_RelationRetrievalDriver.cxx [deleted file]
src/MDataStd/MDataStd_RelationStorageDriver.cdl [deleted file]
src/MDataStd/MDataStd_RelationStorageDriver.cxx [deleted file]
src/MDataStd/MDataStd_TickRetrievalDriver.cdl [deleted file]
src/MDataStd/MDataStd_TickRetrievalDriver.cxx [deleted file]
src/MDataStd/MDataStd_TickStorageDriver.cdl [deleted file]
src/MDataStd/MDataStd_TickStorageDriver.cxx [deleted file]
src/MDataStd/MDataStd_TreeNodeRetrievalDriver.cdl [deleted file]
src/MDataStd/MDataStd_TreeNodeRetrievalDriver.cxx [deleted file]
src/MDataStd/MDataStd_TreeNodeStorageDriver.cdl [deleted file]
src/MDataStd/MDataStd_TreeNodeStorageDriver.cxx [deleted file]
src/MDataStd/MDataStd_UAttributeRetrievalDriver.cdl [deleted file]
src/MDataStd/MDataStd_UAttributeRetrievalDriver.cxx [deleted file]
src/MDataStd/MDataStd_UAttributeStorageDriver.cdl [deleted file]
src/MDataStd/MDataStd_UAttributeStorageDriver.cxx [deleted file]
src/MDataStd/MDataStd_VariableRetrievalDriver.cdl [deleted file]
src/MDataStd/MDataStd_VariableRetrievalDriver.cxx [deleted file]
src/MDataStd/MDataStd_VariableStorageDriver.cdl [deleted file]
src/MDataStd/MDataStd_VariableStorageDriver.cxx [deleted file]
src/MDataXtd/MDataXtd.cdl [deleted file]
src/MDataXtd/MDataXtd.cxx [deleted file]
src/MDataXtd/MDataXtd_AxisRetrievalDriver.cdl [deleted file]
src/MDataXtd/MDataXtd_AxisRetrievalDriver.cxx [deleted file]
src/MDataXtd/MDataXtd_AxisStorageDriver.cdl [deleted file]
src/MDataXtd/MDataXtd_AxisStorageDriver.cxx [deleted file]
src/MDataXtd/MDataXtd_ConstraintRetrievalDriver.cdl [deleted file]
src/MDataXtd/MDataXtd_ConstraintRetrievalDriver.cxx [deleted file]
src/MDataXtd/MDataXtd_ConstraintStorageDriver.cdl [deleted file]
src/MDataXtd/MDataXtd_ConstraintStorageDriver.cxx [deleted file]
src/MDataXtd/MDataXtd_GeometryRetrievalDriver.cdl [deleted file]
src/MDataXtd/MDataXtd_GeometryRetrievalDriver.cxx [deleted file]
src/MDataXtd/MDataXtd_GeometryStorageDriver.cdl [deleted file]
src/MDataXtd/MDataXtd_GeometryStorageDriver.cxx [deleted file]
src/MDataXtd/MDataXtd_PatternStdRetrievalDriver.cdl [deleted file]
src/MDataXtd/MDataXtd_PatternStdRetrievalDriver.cxx [deleted file]
src/MDataXtd/MDataXtd_PatternStdStorageDriver.cdl [deleted file]
src/MDataXtd/MDataXtd_PatternStdStorageDriver.cxx [deleted file]
src/MDataXtd/MDataXtd_PlacementRetrievalDriver.cdl [deleted file]
src/MDataXtd/MDataXtd_PlacementRetrievalDriver.cxx [deleted file]
src/MDataXtd/MDataXtd_PlacementStorageDriver.cdl [deleted file]
src/MDataXtd/MDataXtd_PlacementStorageDriver.cxx [deleted file]
src/MDataXtd/MDataXtd_PlaneRetrievalDriver.cdl [deleted file]
src/MDataXtd/MDataXtd_PlaneRetrievalDriver.cxx [deleted file]
src/MDataXtd/MDataXtd_PlaneStorageDriver.cdl [deleted file]
src/MDataXtd/MDataXtd_PlaneStorageDriver.cxx [deleted file]
src/MDataXtd/MDataXtd_PointRetrievalDriver.cdl [deleted file]
src/MDataXtd/MDataXtd_PointRetrievalDriver.cxx [deleted file]
src/MDataXtd/MDataXtd_PointStorageDriver.cdl [deleted file]
src/MDataXtd/MDataXtd_PointStorageDriver.cxx [deleted file]
src/MDataXtd/MDataXtd_ShapeRetrievalDriver.cdl [deleted file]
src/MDataXtd/MDataXtd_ShapeRetrievalDriver.cxx [deleted file]
src/MDataXtd/MDataXtd_ShapeStorageDriver.cdl [deleted file]
src/MDataXtd/MDataXtd_ShapeStorageDriver.cxx [deleted file]
src/MDocStd/MDocStd.cdl [deleted file]
src/MDocStd/MDocStd.cxx [deleted file]
src/MDocStd/MDocStd_DocumentRetrievalDriver.cdl [deleted file]
src/MDocStd/MDocStd_DocumentRetrievalDriver.cxx [deleted file]
src/MDocStd/MDocStd_DocumentStorageDriver.cdl [deleted file]
src/MDocStd/MDocStd_DocumentStorageDriver.cxx [deleted file]
src/MDocStd/MDocStd_XLinkRetrievalDriver.cdl [deleted file]
src/MDocStd/MDocStd_XLinkRetrievalDriver.cxx [deleted file]
src/MDocStd/MDocStd_XLinkStorageDriver.cdl [deleted file]
src/MDocStd/MDocStd_XLinkStorageDriver.cxx [deleted file]
src/MFunction/MFunction.cdl [deleted file]
src/MFunction/MFunction.cxx [deleted file]
src/MFunction/MFunction_FunctionRetrievalDriver.cdl [deleted file]
src/MFunction/MFunction_FunctionRetrievalDriver.cxx [deleted file]
src/MFunction/MFunction_FunctionStorageDriver.cdl [deleted file]
src/MFunction/MFunction_FunctionStorageDriver.cxx [deleted file]
src/MNaming/MNaming.cdl [deleted file]
src/MNaming/MNaming.cxx [deleted file]
src/MNaming/MNaming_NamedShapeRetrievalDriver.cdl [deleted file]
src/MNaming/MNaming_NamedShapeRetrievalDriver.cxx [deleted file]
src/MNaming/MNaming_NamedShapeStorageDriver.cdl [deleted file]
src/MNaming/MNaming_NamedShapeStorageDriver.cxx [deleted file]
src/MNaming/MNaming_NamingRetrievalDriver.cdl [deleted file]
src/MNaming/MNaming_NamingRetrievalDriver.cxx [deleted file]
src/MNaming/MNaming_NamingRetrievalDriver_1.cdl [deleted file]
src/MNaming/MNaming_NamingRetrievalDriver_1.cxx [deleted file]
src/MNaming/MNaming_NamingRetrievalDriver_2.cdl [deleted file]
src/MNaming/MNaming_NamingRetrievalDriver_2.cxx [deleted file]
src/MNaming/MNaming_NamingStorageDriver.cdl [deleted file]
src/MNaming/MNaming_NamingStorageDriver.cxx [deleted file]
src/MPrsStd/MPrsStd.cdl [deleted file]
src/MPrsStd/MPrsStd.cxx [deleted file]
src/MPrsStd/MPrsStd_AISPresentationRetrievalDriver.cdl [deleted file]
src/MPrsStd/MPrsStd_AISPresentationRetrievalDriver.cxx [deleted file]
src/MPrsStd/MPrsStd_AISPresentationRetrievalDriver_1.cdl [deleted file]
src/MPrsStd/MPrsStd_AISPresentationRetrievalDriver_1.cxx [deleted file]
src/MPrsStd/MPrsStd_AISPresentationStorageDriver.cdl [deleted file]
src/MPrsStd/MPrsStd_AISPresentationStorageDriver.cxx [deleted file]
src/MPrsStd/MPrsStd_PositionRetrievalDriver.cdl [deleted file]
src/MPrsStd/MPrsStd_PositionRetrievalDriver.cxx [deleted file]
src/MPrsStd/MPrsStd_PositionStorageDriver.cdl [deleted file]
src/MPrsStd/MPrsStd_PositionStorageDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_AreaRetrievalDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_AreaRetrievalDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_AreaStorageDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_AreaStorageDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_CentroidRetrievalDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_CentroidRetrievalDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_CentroidStorageDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_CentroidStorageDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_ColorRetrievalDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_ColorRetrievalDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_ColorStorageDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_ColorStorageDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_ColorToolRetrievalDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_ColorToolRetrievalDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_ColorToolStorageDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_ColorToolStorageDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_DatumRetrievalDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_DatumRetrievalDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_DatumStorageDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_DatumStorageDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_DimTolRetrievalDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_DimTolRetrievalDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_DimTolStorageDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_DimTolStorageDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_DimTolToolRetrievalDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_DimTolToolRetrievalDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_DimTolToolStorageDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_DimTolToolStorageDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_DocumentToolRetrievalDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_DocumentToolRetrievalDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_DocumentToolStorageDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_DocumentToolStorageDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_GraphNodeRetrievalDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_GraphNodeRetrievalDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_GraphNodeStorageDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_GraphNodeStorageDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_LayerToolRetrievalDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_LayerToolRetrievalDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_LayerToolStorageDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_LayerToolStorageDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_LocationRetrievalDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_LocationRetrievalDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_LocationStorageDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_LocationStorageDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_MaterialRetrievalDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_MaterialRetrievalDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_MaterialStorageDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_MaterialStorageDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_MaterialToolRetrievalDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_MaterialToolRetrievalDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_MaterialToolStorageDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_MaterialToolStorageDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_ShapeToolRetrievalDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_ShapeToolRetrievalDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_ShapeToolStorageDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_ShapeToolStorageDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_VolumeRetrievalDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_VolumeRetrievalDriver.cxx [deleted file]
src/MXCAFDoc/MXCAFDoc_VolumeStorageDriver.cdl [deleted file]
src/MXCAFDoc/MXCAFDoc_VolumeStorageDriver.cxx [deleted file]
src/MgtBRep/MgtBRep.cdl [deleted file]
src/MgtBRep/MgtBRep.cxx [deleted file]
src/MgtBRep/MgtBRep_TranslateTool.cdl [deleted file]
src/MgtBRep/MgtBRep_TranslateTool.cxx [deleted file]
src/MgtBRep/MgtBRep_TranslateTool1.cdl [deleted file]
src/MgtBRep/MgtBRep_TranslateTool1.cxx [deleted file]
src/MgtGeom/MgtGeom.cdl [deleted file]
src/MgtGeom/MgtGeom.cxx [deleted file]
src/MgtGeom2d/MgtGeom2d.cdl [deleted file]
src/MgtGeom2d/MgtGeom2d.cxx [deleted file]
src/MgtPoly/MgtPoly.cdl [deleted file]
src/MgtPoly/MgtPoly.cxx [deleted file]
src/MgtTopLoc/MgtTopLoc.cdl [deleted file]
src/MgtTopLoc/MgtTopLoc.cxx [deleted file]
src/MgtTopoDS/MgtTopoDS.cdl [deleted file]
src/MgtTopoDS/MgtTopoDS.cxx [deleted file]
src/MgtTopoDS/MgtTopoDS_TranslateTool.cdl [deleted file]
src/MgtTopoDS/MgtTopoDS_TranslateTool.cxx [deleted file]
src/MgtTopoDS/MgtTopoDS_TranslateTool1.cdl [deleted file]
src/MgtTopoDS/MgtTopoDS_TranslateTool1.cxx [deleted file]
src/OS/ApplicationFramework.tcl
src/OS/DataExchange.tcl
src/ObjMgt/ObjMgt.cdl [deleted file]
src/ObjMgt/ObjMgt_ExternRef.cdl [deleted file]
src/ObjMgt/ObjMgt_ExternRef.cxx [deleted file]
src/ObjMgt/ObjMgt_ExternShareable.cdl [deleted file]
src/ObjMgt/ObjMgt_ExternShareable.cxx [deleted file]
src/PBRep/PBRep.cdl [deleted file]
src/PBRep/PBRep_Curve3D.cdl [deleted file]
src/PBRep/PBRep_Curve3D.cxx [deleted file]
src/PBRep/PBRep_CurveOn2Surfaces.cdl [deleted file]
src/PBRep/PBRep_CurveOn2Surfaces.cxx [deleted file]
src/PBRep/PBRep_CurveOnClosedSurface.cdl [deleted file]
src/PBRep/PBRep_CurveOnClosedSurface.cxx [deleted file]
src/PBRep/PBRep_CurveOnSurface.cdl [deleted file]
src/PBRep/PBRep_CurveOnSurface.cxx [deleted file]
src/PBRep/PBRep_CurveRepresentation.cdl [deleted file]
src/PBRep/PBRep_CurveRepresentation.cxx [deleted file]
src/PBRep/PBRep_GCurve.cdl [deleted file]
src/PBRep/PBRep_GCurve.cxx [deleted file]
src/PBRep/PBRep_PointOnCurve.cdl [deleted file]
src/PBRep/PBRep_PointOnCurve.cxx [deleted file]
src/PBRep/PBRep_PointOnCurveOnSurface.cdl [deleted file]
src/PBRep/PBRep_PointOnCurveOnSurface.cxx [deleted file]
src/PBRep/PBRep_PointOnSurface.cdl [deleted file]
src/PBRep/PBRep_PointOnSurface.cxx [deleted file]
src/PBRep/PBRep_PointRepresentation.cdl [deleted file]
src/PBRep/PBRep_PointRepresentation.cxx [deleted file]
src/PBRep/PBRep_PointsOnSurface.cdl [deleted file]
src/PBRep/PBRep_PointsOnSurface.cxx [deleted file]
src/PBRep/PBRep_Polygon3D.cdl [deleted file]
src/PBRep/PBRep_Polygon3D.cxx [deleted file]
src/PBRep/PBRep_PolygonOnClosedSurface.cdl [deleted file]
src/PBRep/PBRep_PolygonOnClosedSurface.cxx [deleted file]
src/PBRep/PBRep_PolygonOnClosedTriangulation.cdl [deleted file]
src/PBRep/PBRep_PolygonOnClosedTriangulation.cxx [deleted file]
src/PBRep/PBRep_PolygonOnSurface.cdl [deleted file]
src/PBRep/PBRep_PolygonOnSurface.cxx [deleted file]
src/PBRep/PBRep_PolygonOnTriangulation.cdl [deleted file]
src/PBRep/PBRep_PolygonOnTriangulation.cxx [deleted file]
src/PBRep/PBRep_TEdge.cdl [deleted file]
src/PBRep/PBRep_TEdge.cxx [deleted file]
src/PBRep/PBRep_TEdge1.cdl [deleted file]
src/PBRep/PBRep_TEdge1.cxx [deleted file]
src/PBRep/PBRep_TFace.cdl [deleted file]
src/PBRep/PBRep_TFace.cxx [deleted file]
src/PBRep/PBRep_TFace1.cdl [deleted file]
src/PBRep/PBRep_TFace1.cxx [deleted file]
src/PBRep/PBRep_TVertex.cdl [deleted file]
src/PBRep/PBRep_TVertex.cxx [deleted file]
src/PBRep/PBRep_TVertex1.cdl [deleted file]
src/PBRep/PBRep_TVertex1.cxx [deleted file]
src/PCDMShape/PCDMShape.cdl [deleted file]
src/PCDMShape/PCDMShape_Document.cdl [deleted file]
src/PCDMShape/PCDMShape_Document.cxx [deleted file]
src/PColStd/PColStd.cdl [deleted file]
src/PColgp/PColgp.cdl [deleted file]
src/PCollection/PCollection.cdl [deleted file]
src/PCollection/PCollection_HArray1.cdl [deleted file]
src/PCollection/PCollection_HArray1.gxx [deleted file]
src/PCollection/PCollection_HArray1.lxx [deleted file]
src/PCollection/PCollection_HArray2.cdl [deleted file]
src/PCollection/PCollection_HArray2.gxx [deleted file]
src/PCollection/PCollection_HArray2.lxx [deleted file]
src/PCollection/PCollection_HAsciiString.cdl [deleted file]
src/PCollection/PCollection_HAsciiString.cxx [deleted file]
src/PCollection/PCollection_HExtendedString.cdl [deleted file]
src/PCollection/PCollection_HExtendedString.cxx [deleted file]
src/PCollection/PCollection_HSequence.cdl [deleted file]
src/PCollection/PCollection_HSequence.gxx [deleted file]
src/PCollection/PCollection_SeqExplorer.gxx [deleted file]
src/PCollection/PCollection_SeqNode.gxx [deleted file]
src/PDF/PDF.cdl [deleted file]
src/PDF/PDF_Attribute.cdl [deleted file]
src/PDF/PDF_Attribute.cxx [deleted file]
src/PDF/PDF_Data.cdl [deleted file]
src/PDF/PDF_Data.cxx [deleted file]
src/PDF/PDF_Data.lxx [deleted file]
src/PDF/PDF_Reference.cdl [deleted file]
src/PDF/PDF_Reference.cxx [deleted file]
src/PDF/PDF_TagSource.cdl [deleted file]
src/PDF/PDF_TagSource.cxx [deleted file]
src/PDataStd/PDataStd.cdl [deleted file]
src/PDataStd/PDataStd_AsciiString.cdl [deleted file]
src/PDataStd/PDataStd_AsciiString.cxx [deleted file]
src/PDataStd/PDataStd_BooleanArray.cdl [deleted file]
src/PDataStd/PDataStd_BooleanArray.cxx [deleted file]
src/PDataStd/PDataStd_BooleanList.cdl [deleted file]
src/PDataStd/PDataStd_BooleanList.cxx [deleted file]
src/PDataStd/PDataStd_ByteArray.cdl [deleted file]
src/PDataStd/PDataStd_ByteArray.cxx [deleted file]
src/PDataStd/PDataStd_ByteArray_1.cdl [deleted file]
src/PDataStd/PDataStd_ByteArray_1.cxx [deleted file]
src/PDataStd/PDataStd_Comment.cdl [deleted file]
src/PDataStd/PDataStd_Comment.cxx [deleted file]
src/PDataStd/PDataStd_Directory.cdl [deleted file]
src/PDataStd/PDataStd_Directory.cxx [deleted file]
src/PDataStd/PDataStd_Expression.cdl [deleted file]
src/PDataStd/PDataStd_Expression.cxx [deleted file]
src/PDataStd/PDataStd_ExtStringArray.cdl [deleted file]
src/PDataStd/PDataStd_ExtStringArray.cxx [deleted file]
src/PDataStd/PDataStd_ExtStringArray_1.cdl [deleted file]
src/PDataStd/PDataStd_ExtStringArray_1.cxx [deleted file]
src/PDataStd/PDataStd_ExtStringList.cdl [deleted file]
src/PDataStd/PDataStd_ExtStringList.cxx [deleted file]
src/PDataStd/PDataStd_IntPackedMap.cdl [deleted file]
src/PDataStd/PDataStd_IntPackedMap.cxx [deleted file]
src/PDataStd/PDataStd_IntPackedMap_1.cdl [deleted file]
src/PDataStd/PDataStd_IntPackedMap_1.cxx [deleted file]
src/PDataStd/PDataStd_Integer.cdl [deleted file]
src/PDataStd/PDataStd_Integer.cxx [deleted file]
src/PDataStd/PDataStd_IntegerArray.cdl [deleted file]
src/PDataStd/PDataStd_IntegerArray.cxx [deleted file]
src/PDataStd/PDataStd_IntegerArray_1.cdl [deleted file]
src/PDataStd/PDataStd_IntegerArray_1.cxx [deleted file]
src/PDataStd/PDataStd_IntegerList.cdl [deleted file]
src/PDataStd/PDataStd_IntegerList.cxx [deleted file]
src/PDataStd/PDataStd_Name.cdl [deleted file]
src/PDataStd/PDataStd_Name.cxx [deleted file]
src/PDataStd/PDataStd_NamedData.cdl [deleted file]
src/PDataStd/PDataStd_NamedData.cxx [deleted file]
src/PDataStd/PDataStd_NoteBook.cdl [deleted file]
src/PDataStd/PDataStd_NoteBook.cxx [deleted file]
src/PDataStd/PDataStd_Real.cdl [deleted file]
src/PDataStd/PDataStd_Real.cxx [deleted file]
src/PDataStd/PDataStd_RealArray.cdl [deleted file]
src/PDataStd/PDataStd_RealArray.cxx [deleted file]
src/PDataStd/PDataStd_RealArray_1.cdl [deleted file]
src/PDataStd/PDataStd_RealArray_1.cxx [deleted file]
src/PDataStd/PDataStd_RealList.cdl [deleted file]
src/PDataStd/PDataStd_RealList.cxx [deleted file]
src/PDataStd/PDataStd_ReferenceArray.cdl [deleted file]
src/PDataStd/PDataStd_ReferenceArray.cxx [deleted file]
src/PDataStd/PDataStd_ReferenceList.cdl [deleted file]
src/PDataStd/PDataStd_ReferenceList.cxx [deleted file]
src/PDataStd/PDataStd_Relation.cdl [deleted file]
src/PDataStd/PDataStd_Relation.cxx [deleted file]
src/PDataStd/PDataStd_Tick.cdl [deleted file]
src/PDataStd/PDataStd_Tick.cxx [deleted file]
src/PDataStd/PDataStd_TreeNode.cdl [deleted file]
src/PDataStd/PDataStd_TreeNode.cxx [deleted file]
src/PDataStd/PDataStd_UAttribute.cdl [deleted file]
src/PDataStd/PDataStd_UAttribute.cxx [deleted file]
src/PDataStd/PDataStd_Variable.cdl [deleted file]
src/PDataStd/PDataStd_Variable.cxx [deleted file]
src/PDataXtd/PDataXtd.cdl [deleted file]
src/PDataXtd/PDataXtd_Axis.cdl [deleted file]
src/PDataXtd/PDataXtd_Axis.cxx [deleted file]
src/PDataXtd/PDataXtd_Constraint.cdl [deleted file]
src/PDataXtd/PDataXtd_Constraint.cxx [deleted file]
src/PDataXtd/PDataXtd_Geometry.cdl [deleted file]
src/PDataXtd/PDataXtd_Geometry.cxx [deleted file]
src/PDataXtd/PDataXtd_PatternStd.cdl [deleted file]
src/PDataXtd/PDataXtd_PatternStd.cxx [deleted file]
src/PDataXtd/PDataXtd_PatternStd.lxx [deleted file]
src/PDataXtd/PDataXtd_Placement.cdl [deleted file]
src/PDataXtd/PDataXtd_Placement.cxx [deleted file]
src/PDataXtd/PDataXtd_Plane.cdl [deleted file]
src/PDataXtd/PDataXtd_Plane.cxx [deleted file]
src/PDataXtd/PDataXtd_Point.cdl [deleted file]
src/PDataXtd/PDataXtd_Point.cxx [deleted file]
src/PDataXtd/PDataXtd_Position.cdl [deleted file]
src/PDataXtd/PDataXtd_Position.cxx [deleted file]
src/PDataXtd/PDataXtd_Position.lxx [deleted file]
src/PDataXtd/PDataXtd_Shape.cdl [deleted file]
src/PDataXtd/PDataXtd_Shape.cxx [deleted file]
src/PDocStd/PDocStd.cdl [deleted file]
src/PDocStd/PDocStd_Document.cdl [deleted file]
src/PDocStd/PDocStd_Document.cxx [deleted file]
src/PDocStd/PDocStd_XLink.cdl [deleted file]
src/PDocStd/PDocStd_XLink.cxx [deleted file]
src/PFunction/PFunction.cdl [deleted file]
src/PFunction/PFunction_Function.cdl [deleted file]
src/PFunction/PFunction_Function.cxx [deleted file]
src/PGeom/PGeom.cdl [deleted file]
src/PGeom/PGeom_Axis1Placement.cdl [deleted file]
src/PGeom/PGeom_Axis1Placement.cxx [deleted file]
src/PGeom/PGeom_Axis2Placement.cdl [deleted file]
src/PGeom/PGeom_Axis2Placement.cxx [deleted file]
src/PGeom/PGeom_AxisPlacement.cdl [deleted file]
src/PGeom/PGeom_AxisPlacement.cxx [deleted file]
src/PGeom/PGeom_BSplineCurve.cdl [deleted file]
src/PGeom/PGeom_BSplineCurve.cxx [deleted file]
src/PGeom/PGeom_BSplineSurface.cdl [deleted file]
src/PGeom/PGeom_BSplineSurface.cxx [deleted file]
src/PGeom/PGeom_BezierCurve.cdl [deleted file]
src/PGeom/PGeom_BezierCurve.cxx [deleted file]
src/PGeom/PGeom_BezierSurface.cdl [deleted file]
src/PGeom/PGeom_BezierSurface.cxx [deleted file]
src/PGeom/PGeom_BoundedCurve.cdl [deleted file]
src/PGeom/PGeom_BoundedCurve.cxx [deleted file]
src/PGeom/PGeom_BoundedSurface.cdl [deleted file]
src/PGeom/PGeom_BoundedSurface.cxx [deleted file]
src/PGeom/PGeom_CartesianPoint.cdl [deleted file]
src/PGeom/PGeom_CartesianPoint.cxx [deleted file]
src/PGeom/PGeom_Circle.cdl [deleted file]
src/PGeom/PGeom_Circle.cxx [deleted file]
src/PGeom/PGeom_Conic.cdl [deleted file]
src/PGeom/PGeom_Conic.cxx [deleted file]
src/PGeom/PGeom_ConicalSurface.cdl [deleted file]
src/PGeom/PGeom_ConicalSurface.cxx [deleted file]
src/PGeom/PGeom_Curve.cdl [deleted file]
src/PGeom/PGeom_Curve.cxx [deleted file]
src/PGeom/PGeom_CylindricalSurface.cdl [deleted file]
src/PGeom/PGeom_CylindricalSurface.cxx [deleted file]
src/PGeom/PGeom_Direction.cdl [deleted file]
src/PGeom/PGeom_Direction.cxx [deleted file]
src/PGeom/PGeom_ElementarySurface.cdl [deleted file]
src/PGeom/PGeom_ElementarySurface.cxx [deleted file]
src/PGeom/PGeom_Ellipse.cdl [deleted file]
src/PGeom/PGeom_Ellipse.cxx [deleted file]
src/PGeom/PGeom_Geometry.cdl [deleted file]
src/PGeom/PGeom_Geometry.cxx [deleted file]
src/PGeom/PGeom_Hyperbola.cdl [deleted file]
src/PGeom/PGeom_Hyperbola.cxx [deleted file]
src/PGeom/PGeom_Line.cdl [deleted file]
src/PGeom/PGeom_Line.cxx [deleted file]
src/PGeom/PGeom_OffsetCurve.cdl [deleted file]
src/PGeom/PGeom_OffsetCurve.cxx [deleted file]
src/PGeom/PGeom_OffsetSurface.cdl [deleted file]
src/PGeom/PGeom_OffsetSurface.cxx [deleted file]
src/PGeom/PGeom_Parabola.cdl [deleted file]
src/PGeom/PGeom_Parabola.cxx [deleted file]
src/PGeom/PGeom_Plane.cdl [deleted file]
src/PGeom/PGeom_Plane.cxx [deleted file]
src/PGeom/PGeom_Point.cdl [deleted file]
src/PGeom/PGeom_Point.cxx [deleted file]
src/PGeom/PGeom_RectangularTrimmedSurface.cdl [deleted file]
src/PGeom/PGeom_RectangularTrimmedSurface.cxx [deleted file]
src/PGeom/PGeom_SphericalSurface.cdl [deleted file]
src/PGeom/PGeom_SphericalSurface.cxx [deleted file]
src/PGeom/PGeom_Surface.cdl [deleted file]
src/PGeom/PGeom_Surface.cxx [deleted file]
src/PGeom/PGeom_SurfaceOfLinearExtrusion.cdl [deleted file]
src/PGeom/PGeom_SurfaceOfLinearExtrusion.cxx [deleted file]
src/PGeom/PGeom_SurfaceOfRevolution.cdl [deleted file]
src/PGeom/PGeom_SurfaceOfRevolution.cxx [deleted file]
src/PGeom/PGeom_SweptSurface.cdl [deleted file]
src/PGeom/PGeom_SweptSurface.cxx [deleted file]
src/PGeom/PGeom_ToroidalSurface.cdl [deleted file]
src/PGeom/PGeom_ToroidalSurface.cxx [deleted file]
src/PGeom/PGeom_Transformation.cdl [deleted file]
src/PGeom/PGeom_Transformation.cxx [deleted file]
src/PGeom/PGeom_TrimmedCurve.cdl [deleted file]
src/PGeom/PGeom_TrimmedCurve.cxx [deleted file]
src/PGeom/PGeom_Vector.cdl [deleted file]
src/PGeom/PGeom_Vector.cxx [deleted file]
src/PGeom/PGeom_VectorWithMagnitude.cdl [deleted file]
src/PGeom/PGeom_VectorWithMagnitude.cxx [deleted file]
src/PGeom2d/PGeom2d.cdl [deleted file]
src/PGeom2d/PGeom2d_AxisPlacement.cdl [deleted file]
src/PGeom2d/PGeom2d_AxisPlacement.cxx [deleted file]
src/PGeom2d/PGeom2d_BSplineCurve.cdl [deleted file]
src/PGeom2d/PGeom2d_BSplineCurve.cxx [deleted file]
src/PGeom2d/PGeom2d_BezierCurve.cdl [deleted file]
src/PGeom2d/PGeom2d_BezierCurve.cxx [deleted file]
src/PGeom2d/PGeom2d_BoundedCurve.cdl [deleted file]
src/PGeom2d/PGeom2d_BoundedCurve.cxx [deleted file]
src/PGeom2d/PGeom2d_CartesianPoint.cdl [deleted file]
src/PGeom2d/PGeom2d_CartesianPoint.cxx [deleted file]
src/PGeom2d/PGeom2d_Circle.cdl [deleted file]
src/PGeom2d/PGeom2d_Circle.cxx [deleted file]
src/PGeom2d/PGeom2d_Conic.cdl [deleted file]
src/PGeom2d/PGeom2d_Conic.cxx [deleted file]
src/PGeom2d/PGeom2d_Curve.cdl [deleted file]
src/PGeom2d/PGeom2d_Curve.cxx [deleted file]
src/PGeom2d/PGeom2d_Direction.cdl [deleted file]
src/PGeom2d/PGeom2d_Direction.cxx [deleted file]
src/PGeom2d/PGeom2d_Ellipse.cdl [deleted file]
src/PGeom2d/PGeom2d_Ellipse.cxx [deleted file]
src/PGeom2d/PGeom2d_Geometry.cdl [deleted file]
src/PGeom2d/PGeom2d_Geometry.cxx [deleted file]
src/PGeom2d/PGeom2d_Hyperbola.cdl [deleted file]
src/PGeom2d/PGeom2d_Hyperbola.cxx [deleted file]
src/PGeom2d/PGeom2d_Line.cdl [deleted file]
src/PGeom2d/PGeom2d_Line.cxx [deleted file]
src/PGeom2d/PGeom2d_OffsetCurve.cdl [deleted file]
src/PGeom2d/PGeom2d_OffsetCurve.cxx [deleted file]
src/PGeom2d/PGeom2d_Parabola.cdl [deleted file]
src/PGeom2d/PGeom2d_Parabola.cxx [deleted file]
src/PGeom2d/PGeom2d_Point.cdl [deleted file]
src/PGeom2d/PGeom2d_Point.cxx [deleted file]
src/PGeom2d/PGeom2d_Transformation.cdl [deleted file]
src/PGeom2d/PGeom2d_Transformation.cxx [deleted file]
src/PGeom2d/PGeom2d_TrimmedCurve.cdl [deleted file]
src/PGeom2d/PGeom2d_TrimmedCurve.cxx [deleted file]
src/PGeom2d/PGeom2d_Vector.cdl [deleted file]
src/PGeom2d/PGeom2d_Vector.cxx [deleted file]
src/PGeom2d/PGeom2d_VectorWithMagnitude.cdl [deleted file]
src/PGeom2d/PGeom2d_VectorWithMagnitude.cxx [deleted file]
src/PMMgt/FILES [deleted file]
src/PMMgt/PMMgt.cdl [deleted file]
src/PMMgt/PMMgt_InsertDelete.tcl [deleted file]
src/PMMgt/PMMgt_PManaged.cdl [deleted file]
src/PMMgt/PMMgt_PManaged.cxx [deleted file]
src/PMMgt/PMMgt_WOKSteps.edl [deleted file]
src/PNaming/PNaming.cdl [deleted file]
src/PNaming/PNaming_Name.cdl [deleted file]
src/PNaming/PNaming_Name.cxx [deleted file]
src/PNaming/PNaming_Name.lxx [deleted file]
src/PNaming/PNaming_Name_1.cdl [deleted file]
src/PNaming/PNaming_Name_1.cxx [deleted file]
src/PNaming/PNaming_Name_1.lxx [deleted file]
src/PNaming/PNaming_Name_2.cdl [deleted file]
src/PNaming/PNaming_Name_2.cxx [deleted file]
src/PNaming/PNaming_Name_2.lxx [deleted file]
src/PNaming/PNaming_NamedShape.cdl [deleted file]
src/PNaming/PNaming_NamedShape.cxx [deleted file]
src/PNaming/PNaming_Naming.cdl [deleted file]
src/PNaming/PNaming_Naming.cxx [deleted file]
src/PNaming/PNaming_Naming_1.cdl [deleted file]
src/PNaming/PNaming_Naming_1.cxx [deleted file]
src/PNaming/PNaming_Naming_2.cdl [deleted file]
src/PNaming/PNaming_Naming_2.cxx [deleted file]
src/PPoly/PPoly.cdl [deleted file]
src/PPoly/PPoly_Polygon2D.cdl [deleted file]
src/PPoly/PPoly_Polygon2D.cxx [deleted file]
src/PPoly/PPoly_Polygon3D.cdl [deleted file]
src/PPoly/PPoly_Polygon3D.cxx [deleted file]
src/PPoly/PPoly_PolygonOnTriangulation.cdl [deleted file]
src/PPoly/PPoly_PolygonOnTriangulation.cxx [deleted file]
src/PPoly/PPoly_Triangle.cdl [deleted file]
src/PPoly/PPoly_Triangle.cxx [deleted file]
src/PPoly/PPoly_Triangulation.cdl [deleted file]
src/PPoly/PPoly_Triangulation.cxx [deleted file]
src/PPrsStd/PPrsStd.cdl [deleted file]
src/PPrsStd/PPrsStd_AISPresentation.cdl [deleted file]
src/PPrsStd/PPrsStd_AISPresentation.cxx [deleted file]
src/PPrsStd/PPrsStd_AISPresentation_1.cdl [deleted file]
src/PPrsStd/PPrsStd_AISPresentation_1.cxx [deleted file]
src/PShort/PShort.cdl [deleted file]
src/PStandard/PStandard.cdl [deleted file]
src/PStandard/PStandard_ArrayNode.cdl [deleted file]
src/PStandard/PStandard_ArrayNode.cxx [deleted file]
src/PTColStd/PTColStd.cdl [deleted file]
src/PTKernel/EXTERNLIB [deleted file]
src/PTKernel/FILES [deleted file]
src/PTKernel/PACKAGES [deleted file]
src/PTopLoc/PTopLoc.cdl [deleted file]
src/PTopLoc/PTopLoc_Datum3D.cdl [deleted file]
src/PTopLoc/PTopLoc_Datum3D.cxx [deleted file]
src/PTopLoc/PTopLoc_ItemLocation.cdl [deleted file]
src/PTopLoc/PTopLoc_ItemLocation.cxx [deleted file]
src/PTopLoc/PTopLoc_Location.cdl [deleted file]
src/PTopLoc/PTopLoc_Location.cxx [deleted file]
src/PTopoDS/PTopoDS.cdl [deleted file]
src/PTopoDS/PTopoDS_CompSolid.cdl [deleted file]
src/PTopoDS/PTopoDS_CompSolid.cxx [deleted file]
src/PTopoDS/PTopoDS_Compound.cdl [deleted file]
src/PTopoDS/PTopoDS_Compound.cxx [deleted file]
src/PTopoDS/PTopoDS_Edge.cdl [deleted file]
src/PTopoDS/PTopoDS_Edge.cxx [deleted file]
src/PTopoDS/PTopoDS_Face.cdl [deleted file]
src/PTopoDS/PTopoDS_Face.cxx [deleted file]
src/PTopoDS/PTopoDS_HShape.cdl [deleted file]
src/PTopoDS/PTopoDS_HShape.cxx [deleted file]
src/PTopoDS/PTopoDS_Shape1.cdl [deleted file]
src/PTopoDS/PTopoDS_Shape1.cxx [deleted file]
src/PTopoDS/PTopoDS_Shell.cdl [deleted file]
src/PTopoDS/PTopoDS_Shell.cxx [deleted file]
src/PTopoDS/PTopoDS_Solid.cdl [deleted file]
src/PTopoDS/PTopoDS_Solid.cxx [deleted file]
src/PTopoDS/PTopoDS_TCompSolid.cdl [deleted file]
src/PTopoDS/PTopoDS_TCompSolid.cxx [deleted file]
src/PTopoDS/PTopoDS_TCompSolid1.cdl [deleted file]
src/PTopoDS/PTopoDS_TCompSolid1.cxx [deleted file]
src/PTopoDS/PTopoDS_TCompound.cdl [deleted file]
src/PTopoDS/PTopoDS_TCompound.cxx [deleted file]
src/PTopoDS/PTopoDS_TCompound1.cdl [deleted file]
src/PTopoDS/PTopoDS_TCompound1.cxx [deleted file]
src/PTopoDS/PTopoDS_TEdge.cdl [deleted file]
src/PTopoDS/PTopoDS_TEdge.cxx [deleted file]
src/PTopoDS/PTopoDS_TEdge1.cdl [deleted file]
src/PTopoDS/PTopoDS_TEdge1.cxx [deleted file]
src/PTopoDS/PTopoDS_TFace.cdl [deleted file]
src/PTopoDS/PTopoDS_TFace.cxx [deleted file]
src/PTopoDS/PTopoDS_TFace1.cdl [deleted file]
src/PTopoDS/PTopoDS_TFace1.cxx [deleted file]
src/PTopoDS/PTopoDS_TShape.cdl [deleted file]
src/PTopoDS/PTopoDS_TShape.cxx [deleted file]
src/PTopoDS/PTopoDS_TShape1.cdl [deleted file]
src/PTopoDS/PTopoDS_TShape1.cxx [deleted file]
src/PTopoDS/PTopoDS_TShell.cdl [deleted file]
src/PTopoDS/PTopoDS_TShell.cxx [deleted file]
src/PTopoDS/PTopoDS_TShell1.cdl [deleted file]
src/PTopoDS/PTopoDS_TShell1.cxx [deleted file]
src/PTopoDS/PTopoDS_TSolid.cdl [deleted file]
src/PTopoDS/PTopoDS_TSolid.cxx [deleted file]
src/PTopoDS/PTopoDS_TSolid1.cdl [deleted file]
src/PTopoDS/PTopoDS_TSolid1.cxx [deleted file]
src/PTopoDS/PTopoDS_TVertex.cdl [deleted file]
src/PTopoDS/PTopoDS_TVertex.cxx [deleted file]
src/PTopoDS/PTopoDS_TVertex1.cdl [deleted file]
src/PTopoDS/PTopoDS_TVertex1.cxx [deleted file]
src/PTopoDS/PTopoDS_TWire.cdl [deleted file]
src/PTopoDS/PTopoDS_TWire.cxx [deleted file]
src/PTopoDS/PTopoDS_TWire1.cdl [deleted file]
src/PTopoDS/PTopoDS_TWire1.cxx [deleted file]
src/PTopoDS/PTopoDS_Vertex.cdl [deleted file]
src/PTopoDS/PTopoDS_Vertex.cxx [deleted file]
src/PTopoDS/PTopoDS_Wire.cdl [deleted file]
src/PTopoDS/PTopoDS_Wire.cxx [deleted file]
src/PXCAFDoc/PXCAFDoc.cdl [deleted file]
src/PXCAFDoc/PXCAFDoc_Area.cdl [deleted file]
src/PXCAFDoc/PXCAFDoc_Area.cxx [deleted file]
src/PXCAFDoc/PXCAFDoc_Centroid.cdl [deleted file]
src/PXCAFDoc/PXCAFDoc_Centroid.cxx [deleted file]
src/PXCAFDoc/PXCAFDoc_Color.cdl [deleted file]
src/PXCAFDoc/PXCAFDoc_Color.cxx [deleted file]
src/PXCAFDoc/PXCAFDoc_ColorTool.cdl [deleted file]
src/PXCAFDoc/PXCAFDoc_ColorTool.cxx [deleted file]
src/PXCAFDoc/PXCAFDoc_Datum.cdl [deleted file]
src/PXCAFDoc/PXCAFDoc_Datum.cxx [deleted file]
src/PXCAFDoc/PXCAFDoc_DimTol.cdl [deleted file]
src/PXCAFDoc/PXCAFDoc_DimTol.cxx [deleted file]
src/PXCAFDoc/PXCAFDoc_DimTolTool.cdl [deleted file]
src/PXCAFDoc/PXCAFDoc_DimTolTool.cxx [deleted file]
src/PXCAFDoc/PXCAFDoc_DocumentTool.cdl [deleted file]
src/PXCAFDoc/PXCAFDoc_DocumentTool.cxx [deleted file]
src/PXCAFDoc/PXCAFDoc_GraphNode.cdl [deleted file]
src/PXCAFDoc/PXCAFDoc_GraphNode.cxx [deleted file]
src/PXCAFDoc/PXCAFDoc_LayerTool.cdl [deleted file]
src/PXCAFDoc/PXCAFDoc_LayerTool.cxx [deleted file]
src/PXCAFDoc/PXCAFDoc_Location.cdl [deleted file]
src/PXCAFDoc/PXCAFDoc_Location.cxx [deleted file]
src/PXCAFDoc/PXCAFDoc_Material.cdl [deleted file]
src/PXCAFDoc/PXCAFDoc_Material.cxx [deleted file]
src/PXCAFDoc/PXCAFDoc_MaterialTool.cdl [deleted file]
src/PXCAFDoc/PXCAFDoc_MaterialTool.cxx [deleted file]
src/PXCAFDoc/PXCAFDoc_ShapeTool.cdl [deleted file]
src/PXCAFDoc/PXCAFDoc_ShapeTool.cxx [deleted file]
src/PXCAFDoc/PXCAFDoc_Volume.cdl [deleted file]
src/PXCAFDoc/PXCAFDoc_Volume.cxx [deleted file]
src/QABugs/QABugs_11.cxx
src/QABugs/QABugs_18.cxx
src/QABugs/QABugs_19.cxx
src/ShapeSchema/FILES [deleted file]
src/ShapeSchema/ShapeSchema.cdl [deleted file]
src/ShapeSchema/ShapeSchema_CMPLRS.edl [deleted file]
src/StdDrivers/StdDrivers.cdl [deleted file]
src/StdDrivers/StdDrivers.cxx [deleted file]
src/StdDrivers/StdDrivers_DocumentRetrievalDriver.cdl [deleted file]
src/StdDrivers/StdDrivers_DocumentRetrievalDriver.cxx [deleted file]
src/StdDrivers/StdDrivers_DocumentStorageDriver.cdl [deleted file]
src/StdDrivers/StdDrivers_DocumentStorageDriver.cxx [deleted file]
src/StdLDrivers/StdLDrivers.cdl [deleted file]
src/StdLDrivers/StdLDrivers.cxx [deleted file]
src/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.cdl [deleted file]
src/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.cxx [deleted file]
src/StdLDrivers/StdLDrivers_DocumentStorageDriver.cdl [deleted file]
src/StdLDrivers/StdLDrivers_DocumentStorageDriver.cxx [deleted file]
src/StdLSchema/FILES [deleted file]
src/StdLSchema/StdLSchema.cdl [deleted file]
src/StdLSchema/StdLSchema_CMPLRS.edl [deleted file]
src/StdResource/FILES
src/StdResource/MDTV-Standard.xwd [deleted file]
src/StdResource/MigrationSheet.txt [deleted file]
src/StdResource/Plugin
src/StdResource/Standard
src/StdResource/Standard.us [deleted file]
src/StdResource/StandardLite
src/StdResource/XCAF
src/StdSchema/FILES [deleted file]
src/StdSchema/StdSchema.cdl [deleted file]
src/StdSchema/StdSchema_CMPLRS.edl [deleted file]
src/TDocStd/TDocStd.cdl
src/TKPCAF/EXTERNLIB [deleted file]
src/TKPCAF/FILES [deleted file]
src/TKPCAF/PACKAGES [deleted file]
src/TKPLCAF/EXTERNLIB [deleted file]
src/TKPLCAF/FILES [deleted file]
src/TKPLCAF/PACKAGES [deleted file]
src/TKPShape/EXTERNLIB [deleted file]
src/TKPShape/FILES [deleted file]
src/TKPShape/PACKAGES [deleted file]
src/TKQADraw/EXTERNLIB
src/TKShapeSchema/EXTERNLIB [deleted file]
src/TKShapeSchema/FILES [deleted file]
src/TKShapeSchema/PACKAGES [deleted file]
src/TKStdLSchema/EXTERNLIB [deleted file]
src/TKStdLSchema/FILES [deleted file]
src/TKStdLSchema/PACKAGES [deleted file]
src/TKStdSchema/EXTERNLIB [deleted file]
src/TKStdSchema/FILES [deleted file]
src/TKStdSchema/PACKAGES [deleted file]
src/TKXCAFSchema/EXTERNLIB [deleted file]
src/TKXCAFSchema/FILES [deleted file]
src/TKXCAFSchema/PACKAGES [deleted file]
src/XCAFApp/XCAFApp_Application.cxx
src/XCAFDrivers/FILES [deleted file]
src/XCAFDrivers/GUID.txt [deleted file]
src/XCAFDrivers/XCAFDrivers.cdl [deleted file]
src/XCAFDrivers/XCAFDrivers.cxx [deleted file]
src/XCAFDrivers/XCAFDrivers_DocumentRetrievalDriver.cdl [deleted file]
src/XCAFDrivers/XCAFDrivers_DocumentRetrievalDriver.cxx [deleted file]
src/XCAFDrivers/XCAFDrivers_DocumentStorageDriver.cdl [deleted file]
src/XCAFDrivers/XCAFDrivers_DocumentStorageDriver.cxx [deleted file]
src/XCAFSchema/FILES [deleted file]
src/XCAFSchema/XCAFSchema.cdl [deleted file]
src/XCAFSchema/XCAFSchema_CMPLRS.edl [deleted file]
src/XDEDRAW/XDEDRAW.cxx
src/XDEDRAW/XDEDRAW_Common.cxx
tests/bugs/caf/bug24565 [deleted file]
tests/bugs/fclasses/bug142 [deleted file]
tests/bugs/fclasses/bug216 [deleted file]

index 768eeea..6bf432c 100644 (file)
@@ -243,46 +243,8 @@ p BinObjMgt
 p BinTools
 p CDF
 p CDM
-p DBC
 p FWOSDriver
-p MDF
-p MDataStd
-p MDataXtd
-p MDocStd
-p MFunction
-p MNaming
-p MPrsStd
-p MgtBRep
-p MgtGeom
-p MgtGeom2d
-p MgtPoly
-p MgtTopLoc
-p MgtTopoDS
-p ObjMgt
-p PBRep
 p PCDM
-p PCDMShape
-p PColStd
-p PColgp
-p PCollection
-p PDF
-p PDataStd
-p PDataXtd
-p PDocStd
-p PFunction
-p PGeom
-p PGeom2d
-p PMMgt
-p PNaming
-p PPoly
-p PPrsStd
-p PShort
-p PStandard
-p PTColStd
-p PTopLoc
-p PTopoDS
-p StdDrivers
-p StdLDrivers
 p TDF
 p TDataStd
 p TDataXtd
@@ -303,9 +265,6 @@ p XmlMPrsStd
 p XmlObjMgt
 r StdResource
 r XmlOcafResource
-s ShapeSchema
-s StdLSchema
-s StdSchema
 t FWOSPlugin
 t PTKernel
 t TKBin
@@ -314,12 +273,7 @@ t TKBinTObj
 t TKCAF
 t TKCDF
 t TKLCAF
-t TKPCAF
-t TKPLCAF
 t TKPShape
-t TKShapeSchema
-t TKStdLSchema
-t TKStdSchema
 t TKTObj
 t TKXml
 t TKXmlL
@@ -353,9 +307,7 @@ p IGESSolid
 p IGESToBRep
 p Interface
 p LibCtl
-p MXCAFDoc
 p MoniTool
-p PXCAFDoc
 p RWHeaderSection
 p RWStepAP203
 p RWStepAP214
@@ -401,7 +353,6 @@ p VrmlConverter
 p VrmlData
 p XCAFApp
 p XCAFDoc
-p XCAFDrivers
 p XCAFPrs
 p XSAlgo
 p XSControl
@@ -410,7 +361,6 @@ p XmlXCAFDrivers
 r SHMessage
 r XSMessage
 r XSTEPResource
-s XCAFSchema
 t TKBinXCAF
 t TKIGES
 t TKSTEP
@@ -420,7 +370,6 @@ t TKSTEPBase
 t TKSTL
 t TKVRML
 t TKXCAF
-t TKXCAFSchema
 t TKXDEIGES
 t TKXDESTEP
 t TKXSBase
index f181147..ad375fc 100644 (file)
@@ -46,7 +46,6 @@ void AppStd_Application::Formats(TColStd_SequenceOfExtendedString& theFormats)
 {
   theFormats.Append("XmlOcaf");
   theFormats.Append("BinOcaf");
-  theFormats.Append("MDTV-Standard");
 }
 
 //=======================================================================
index d03adbc..40ee0b8 100644 (file)
@@ -17,7 +17,7 @@
 package CDF
 
 
-uses CDM, PCDM, TCollection, TColStd, Storage, Resource, Quantity, OSD
+uses CDM, PCDM, TCollection, TColStd, Resource, Quantity, OSD
 
 is
     class Directory;
index c917092..7e3164d 100644 (file)
@@ -103,7 +103,7 @@ is
     anAlternativeDocument: out Document from CDM)
     returns Boolean from Standard
     ---Purpose: This method can be redefined to extract another document in
-    --           a different format. For example, to extract a MDTV-Shape 
+    --           a different format. For example, to extract a Shape 
     --           from an applicative document.
     is virtual;
     
diff --git a/src/DBC/DBC.cdl b/src/DBC/DBC.cdl
deleted file mode 100644 (file)
index 14872aa..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
--- Created on: 1996-01-29
--- Created by: Kernel
--- Copyright (c) 1996-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package DBC
-
-uses PStandard
-
-is
-    class BaseArray;
-    generic class VArray,VArrayNode,VArrayTNode;
-
-    class VArrayOfInteger instantiates
-           VArray(Integer);
-    class VArrayOfReal instantiates
-           VArray(Real);
-    class VArrayOfCharacter instantiates
-           VArray(Character);
-    class VArrayOfExtCharacter instantiates
-           VArray(ExtCharacter);
-   
-    imported DBVArray;  
-
-end DBC;
diff --git a/src/DBC/DBC_BaseArray.cdl b/src/DBC/DBC_BaseArray.cdl
deleted file mode 100644 (file)
index 548d9f4..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
--- Created on: 1996-01-29
--- Created by: Kernel
--- Copyright (c) 1996-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class BaseArray from DBC
-inherits Storable from Standard
-
-uses DBVArray from DBC
-
-raises NullObject,
-    NegativeValue,
-    DimensionMismatch
-
-is
-    Create returns BaseArray;
-    ---Purpose: Creates an BaseArray of NULL size
-    
-    Create (Size : Integer) returns BaseArray;
-    ---Purpose: Creates  an BaseArray of lower bound 0 and
-    --          upper bound <Size>-1.
-
-    Create (BaseArray: BaseArray) returns BaseArray;
-    ---Purpose: Creates an array which  is the copy of the given
-    --          argument.
-
-    ---C++: alias "  Standard_EXPORT virtual ~DBC_BaseArray();"
-
-    Length (me) returns Integer is static ;
-    ---C++: inline
-
-    Upper (me) returns Integer is static;
-    ---Purpose: Returns the upper bound
-    ---C++: inline
-              
-    Lock (me) returns Address is static ;
-    ---Purpose: Locks the array <me> in memory and 
-    --          returns its virtual address
-               
-
-    Unlock (me) is static;
-    ---Purpose: unlocks the array <me> from memory
-
-fields
-    mySize : Integer is protected;
-    myData : DBVArray from DBC is protected;
-end BaseArray;
diff --git a/src/DBC/DBC_BaseArray.cxx b/src/DBC/DBC_BaseArray.cxx
deleted file mode 100644 (file)
index 11362bb..0000000
+++ /dev/null
@@ -1,251 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <Standard_OutOfRange.hxx> 
-#include <Standard_NegativeValue.hxx>
-#include <Standard_NullObject.hxx>
-#include <Standard_NotImplemented.hxx>
-//#include <DBC_DBVArray.hxx>
-#include <DBC_BaseArray.ixx>
-
-#ifdef OBJS
-#include <Standard_Persistent.hxx>
-
-// taille a partir de laquelle la tableau cre son propre container
-//
-#define DBC_TAILLE_PLAFOND_CREATION_SEGMENT 10000 
-
-#include <StandardOBJS_PersistentMacro.hxx>
-#include <StandardOBJS_PrimitiveTypes.hxx>
-
-// just use for internal generic identifiaction of Item
-//
-static PStandard_ArrayNode DBC_tmpItem;
-
-#endif
-
-#ifdef OO2
-#include <StandardDB_O2Handle.hxx>
-#endif
-
-// --------------------------------------------------------------------
-// BaseArray implementation  : Temporary arrays known as variable-size arrays.
-//                          BaseArray of BaseArray is not supported in this version.
-// 
-// Last Revision : Feb,10 1992 J.P Tirault
-//                 . Implementation of Lock/Unlock methods :
-//                 . Implementation of ShallowCopy,ShallowDump,IsSameState.
-//                               
-// Last Revision : April,4 1992 J.P Tirault, R Barreto
-//                 . Implementation for Object store.
-//                 . Implementation for Memory.
-//                               
-// Last Revision : September,17 1992 J.P Tirault
-//                 . Free old area in Resize method. 
-// Last revision : January,18 1995 N. Massip
-//                   . Implementation for ObjectStore 
-//                  with an c++ persistent array
-//   This version store all the information for the Item
-// in case of non primitive type, the handle, the Standard oid,
-// and the object itself are stored
-// if the oid_standard disapear, it may become interresting to
-// store only the object itself. So a special version who store
-// only the Object is join in comment with each function who
-// may be different, the Haeder of this ccomment is like this :
-//
-//   For no Handle Storing
-     /*
-       <code>
-     */
-//   Last revision : April 19 1992 N. Massip
-//                     . Implementation for o2 technology
-//                     with an o2_array for 4.5
-//                     should be d_Varray for 4.6
-//                Use an Collection of StandardDB_O2Handle
-//                for none primitive type to avoid to import
-//                Handle(Standard_Persistent).
-// --------------------------------------------------------------------
-//   Last revision : January 1996 JMS/CLE
-//                   portage OBJY 3.8
-
-// --------------------------------------------------------------------
-//                                  Constructor
-// --------------------------------------------------------------------
-DBC_BaseArray::DBC_BaseArray (const Standard_Integer Size) 
-#ifdef OBJY
-     //==== Call the father's constructor.
-     : myData((unsigned int) Size)
-#endif
-
-#ifdef OO2
-     : myData((unsigned int) Size)
-#endif
-{
-  Standard_NegativeValue_Raise_if((Size < 0), "Attempt to create aBaseArray with a bad size");
-  mySize = Size;
-// Standard_Integer i;
-#ifdef OBJSold
-  INTERNAL_MODE_OODB_START {
-    os_segment *seg = Storage_CurrentContainer(); 
-    if ( Size > DBC_TAILLE_PLAFOND_CREATION_SEGMENT ) { 
-      os_database *db = seg->database_of();
-      Storage_CurrentContainer() = db->create_segment();
-    }        
-    myData = Standard_PersistentAllocation(DBC_tmpItem, Size);
-    Storage_CurrentContainer() = seg;
-  }
-  INTERNAL_MODE_OODB_END;
-  
-#endif
-
-
-}
-
-
-DBC_BaseArray::DBC_BaseArray () 
-
-#ifdef OBJY
-   //==== Call the father's constructor.
-   : myData(0)
-#endif
-
-#ifdef OO2
-     : myData((unsigned int) 0)
-#endif
-{
-  mySize = 0;
-
-#ifdef OBJS
-  myData = NULL;
-#endif
-}
-
-
-// --------------------------------------------------------------------
-//                                  Constructor
-
-// --------------------------------------------------------------------
-DBC_BaseArray::DBC_BaseArray (const DBC_BaseArray& Other) 
-#ifdef OBJY
-     //==== Call the father's constructor.
-     : myData(Other.myData)
-#endif
-
-// utilisable pour d_array mais pas o2_list
-#ifdef OO2
-     //==== Call the father's constructor.
-     : myData(Other.myData)
-#endif
-{
-
-  mySize = Other.mySize;
-
-#ifdef OBJSold
-  INTERNAL_MODE_OODB_START {    
-    myData = Standard_PersistentAllocation(DBC_tmpItem, mySize);
-    for(Standard_Integer i=0; i<mySize; i++)
-      myData[i] = Other.myData[i];
-  }
-  INTERNAL_MODE_OODB_END;   
-#endif
-
-
-}
-
-DBC_BaseArray::~DBC_BaseArray()
-{
-}
-
-
-// --------------------------------------------------------------------
-//                                  Lock
-//
-//   - Call the oodb method update which 
-// --------------------------------------------------------------------
-Standard_Address DBC_BaseArray::Lock () const
-{
-#ifdef OBJY
-  return (Standard_Address) &(myData.elem(0));
-#endif
-
-#ifdef OO2
-  return (Standard_Address) &(Value(0));
-#endif
-
-#ifdef OBJS
-  Standard_Address adr;
-  INTERNAL_MODE_OODB_START {
-    adr = (Standard_Address) &myData;
-  }
-  INTERNAL_MODE_OODB_END;
-  return adr;
-#endif
-
-#ifdef CSFDB
-  return (Standard_Address) myData;
-#endif
-}
-
-
-// --------------------------------------------------------------------
-//                                  Unlock
-// --------------------------------------------------------------------
-void DBC_BaseArray::Unlock() const
-{
-}
-
-
-#ifdef OO2
-// Liste de fonctionnalire permettent de manipuler StandardDB_O2Handle et
-// les types primitifs de maniere tranparente
-//
-inline Item &O2Handle_getValue(const StandardDB_O2Handle &val) {
-
-  //Item *hd = (Item *) val.getHandle();
-  //return *hd; 
-  return * ((Item *) val.getHandle());
-}
-// polymorphisme avec type primitif
-
-inline Standard_Boolean      &O2Handle_getValue(const Standard_Boolean &val) {
-  return (Standard_Boolean) val;
-};
-inline Standard_Integer      &O2Handle_getValue(const Standard_Integer &val){
-  return (Standard_Integer) val;
-};
-inline Standard_Real         &O2Handle_getValue(const Standard_Real &val){
-  return (Standard_Real) val;
-};
-inline Standard_Character    &O2Handle_getValue(const Standard_Character &val){
-  return (Standard_Character) val;
-};
-inline Standard_ExtCharacter &O2Handle_getValue(const Standard_ExtCharacter &val){
-  return (Standard_ExtCharacter) val;
-};
-inline Standard_CString      &O2Handle_getValue(const Standard_CString &val){
-  return (Standard_CString) val;
-};
-inline Standard_ExtString    &O2Handle_getValue(const Standard_ExtString &val){
-  return (Standard_ExtString) val;
-};
-inline Standard_Address      &O2Handle_getValue(const Standard_Address &val){
-  return (Standard_Address ) val;
-};
-inline Standard_ShortReal    &O2Handle_getValue(const Standard_ShortReal &val){
-  return (Standard_ShortReal) val;
-};
-#endif
-
-
diff --git a/src/DBC/DBC_BaseArray.lxx b/src/DBC/DBC_BaseArray.lxx
deleted file mode 100644 (file)
index 5b7ff66..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-// --------------------------------------------------------------------
-//                                  Length
-// --------------------------------------------------------------------
-inline Standard_Integer DBC_BaseArray::Length () const 
-{
-  return mySize;
-}
-
-// --------------------------------------------------------------------
-//                                  Upper
-// --------------------------------------------------------------------
-
-inline Standard_Integer DBC_BaseArray::Upper () const 
-{
-  return (mySize - 1);
-}
-
-
-
diff --git a/src/DBC/DBC_BaseArray_objs.hxx b/src/DBC/DBC_BaseArray_objs.hxx
deleted file mode 100644 (file)
index 4a92465..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#ifndef _DBC_BaseArray_HeaderFile
-#define _DBC_BaseArray_HeaderFile
-
-#include <DBC_DBVArray.hxx>
-#include <Standard_Storable.hxx>
-#include <Standard_OStream.hxx>
-#include <Standard_TypeDef.hxx>
-
-class Standard_NullObject;
-class Standard_NegativeValue;
-class Standard_DimensionMismatch;
-
-
-#ifndef Standard_EXPORT
-#if defined(WNT) && !defined(HAVE_NO_DLL)
-#define Standard_EXPORT __declspec(dllexport)
-#else
-#define Standard_EXPORT
-#endif
-#endif
-
-class Standard_EXPORT DBC_BaseArray :
-  public os_virtual_behavior /* New */ {
-
-public:
-
- // Methods PUBLIC
- // 
-DBC_BaseArray();
-DBC_BaseArray(const Standard_Integer Size);
-DBC_BaseArray(const DBC_BaseArray& BaseArray);
-  Standard_Integer Length() const;
-  Standard_Integer Upper() const;
-  Standard_Address Lock() const;
-  void Unlock() const;
-  void Destroy() ;
-~DBC_BaseArray()
-{
-  Destroy();
-}
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-Standard_Integer mySize;
-DBC_DBVArray myData;
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-#include <DBC_BaseArray.lxx>
-
-#endif
diff --git a/src/DBC/DBC_Copy.tcl b/src/DBC/DBC_Copy.tcl
deleted file mode 100644 (file)
index fbb21f4..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright (c) 1999-2014 OPEN CASCADE SAS
-#
-# This file is part of Open CASCADE Technology software library.
-#
-# This library is free software; you can redistribute it and/or modify it under
-# the terms of the GNU Lesser General Public License version 2.1 as published
-# by the Free Software Foundation, with special exception defined in the file
-# OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-# distribution for complete text of the license and disclaimer of any warranty.
-#
-# Alternatively, this file may be used under the terms of Open CASCADE
-# commercial license or contractual agreement.
-
-proc DBC_Copy:AdmFileType {} {
-    return "dbadmfile";
-}
-
-proc DBC_Copy:OutputDirTypeName {} {
-    return "dbtmpfile";
-}
-
-
-proc DBC_Copy:HandleInputFile { ID } { 
-
-    scan $ID "%\[^:\]:%\[^:\]:%\[^:\]"  unit type name
-
-    switch $name {
-       DBC_BaseArray.hxx  {return 1;} 
-       default {
-           return 0;
-       }
-    }
-}
-
-proc DBC_Copy:Execute { unit args } {
-    
-    msgprint -i -c "DBC_Copy:Execute" "Copy of DBC_BaseArray include"
-
-    foreach file  $args {
-       scan $file "%\[^:\]:%\[^:\]:%\[^:\]"  Unit type name
-
-       if { $name == "DBC_BaseArray.hxx" } {
-           set source    [woklocate -p DBC:source:DBC_BaseArray_objs.hxx     [wokinfo -N $unit]]
-       } else {
-           set source    [woklocate -p DBC:source:$name     [wokinfo -N $unit]]
-       }
-
-       set vistarget [woklocate -p DBC:pubinclude:$name [wokinfo -N $unit]]
-       set target    [wokinfo   -p pubinclude:$name     $unit]
-
-       if { [catch {eval exec "cmp $source $vistarget"} ] } {
-           msgprint -i -c "DBC_Copy:Execute" "Copy $source to $target"
-           eval exec "cp -p $source $target"
-       } else {
-           msgprint -i -c "DBC_Copy:Execute" "No change in $source"
-       }
-    }
-    return 0;
-}
diff --git a/src/DBC/DBC_DBVArray.cxx b/src/DBC/DBC_DBVArray.cxx
deleted file mode 100644 (file)
index 889758e..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <DBC_DBVArray.hxx>
-
-#ifdef OBJY
-implement(ooVArray, PHandle_PStandard_ArrayNode);
-#endif
diff --git a/src/DBC/DBC_DBVArray.hxx b/src/DBC/DBC_DBVArray.hxx
deleted file mode 100644 (file)
index f0141da..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#ifndef _DBC_DBVArray_HeaderFile
-#define _DBC_DBVArray_HeaderFile
-
-#ifdef OBJY
-#include <PStandard_ArrayNode.hxx>
-declare(ooVArray,PHandle_PStandard_ArrayNode)
-typedef ooVArray(PHandle_PStandard_ArrayNode) DBC_DBVArray;
-#endif
-
-#ifdef CSFDB
-#include <PStandard_ArrayNode.hxx>
-//typedef Handle(PStandard_ArrayNode)* DBC_DBVArray;
-typedef void* DBC_DBVArray;
-#endif
-
-#ifdef OBJS
-#include <PStandard_ArrayNode.hxx>
-typedef PStandard_ArrayNode* DBC_DBVArray;
-#endif
-
-#endif
diff --git a/src/DBC/DBC_VArray.cdl b/src/DBC/DBC_VArray.cdl
deleted file mode 100644 (file)
index 99aefcc..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
--- Created on: 1996-01-30
--- Created by: Kernel
--- Copyright (c) 1996-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-generic class VArray from DBC (Item as Storable) inherits BaseArray from DBC
-
-       ---Purpose: The class VArray represents a unidimensional 
-       --          array of fixed size known at  execution time. 
-       --          The range of the element is user defined and varies
-       --          from 0 to N - 1.
-       --  Warning: Programs client of such a class must be independant
-       --          of the range of the last element. Thus, a C++ "for"
-       --          loop must be written like this
-       --
-       --          for (i = 0; i < A.Size(); i++)
-       --  Implement for ObjectStore and Objectivity
-       --           with the same functionnality           
-       --  Purpose: New development for OBJY 3.5
-
-uses
-    BaseArray from DBC
-    
-raises NegativeValue, OutOfRange , DimensionMismatch, NullObject
-
-    class VArrayNode from DBC
-      inherits ArrayNode from PStandard
-      is
-      
-       Create returns VArrayNode from DBC;
-       Create(aValue : Item)  returns VArrayNode from DBC;
-       
-       SetValue(me : mutable; aValue : Item);
-       Value(me) returns Address from Standard;
-       
-      fields
-        myValue : Item;
-      end;
-     
-     ---Purpose: for DFLT profile, we dont need persistent nodes      
-     class VArrayTNode from DBC
-      is
-       Create returns VArrayTNode from DBC;
-       ---C++: inline
-       Create(aValue : Item)  returns VArrayTNode from DBC;
-       ---C++: inline
-       SetValue(me : out; aValue : Item);
-       ---C++: inline
-       Value(me) returns Address from Standard;
-       ---C++: inline
-
-      fields
-        myValue : Item;
-      end;
-      
-is
-
-       Create returns VArray;
-           ---Puspose: Creates an array of null size
-           --          Raise NullOject if there is no
-           --          default database
-       
-       Create (Size: Integer) returns VArray
-               ---Purpose: Creates an array of lower bound 0 and 
-                --          upper bound <Size>-1 . NegativeValue is raised 
-                --          when <Size> is less than 0.
-               raises NegativeValue;
-
-       Create (Varray: VArray) returns VArray;
-               ---Purpose: Creates an array which  is the copy of the given
-               --          argument.
-
-
-       Resize (me : in out; Size: Integer)
-           raises NegativeValue;
-       ---Purpose: Change the size of an array with lower 
-        --          bound 0 and upper bound <Size>-1 . NegativeValue 
-        --          is raised when <Size> is less than 0.
-
-       Assign (me: in out; Other: VArray from DBC)
-          ---Purpose: copy the contents of <Other> into <me>.
-          --          <Other> and <me> must have the same dimension.
-          ---C++: alias operator = 
-         raises DimensionMismatch from Standard
-           is static;
-           
-       SetValue (me : in out; Index: Integer; Value: Item) 
-               ---Purpose: Sets the <Index>th element of the array
-               --          to <Value>.
-               raises OutOfRange
-               is static ;
-
-
-       Value (me; Index: Integer) returns Item
-               ---Purpose: Returns the value of the <Index>th element
-                --          of the array.
-               ---C++: alias operator ()
-               ---C++: return &
-               raises OutOfRange
-               is static;
-
-       Destroy(me : in out);
-       ---C++: alias ~
-
-end VArray ;
diff --git a/src/DBC/DBC_VArray.gxx b/src/DBC/DBC_VArray.gxx
deleted file mode 100644 (file)
index 10a2676..0000000
+++ /dev/null
@@ -1,288 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <Standard_OutOfRange.hxx> 
-#include <Standard_NegativeValue.hxx>
-#include <Standard_NullObject.hxx>
-#include <Standard_NotImplemented.hxx>
-
-#ifdef OBJS
-#include <Standard_Persistent.hxx>
-
-// taille a partir de laquelle la tableau cre son propre container
-//
-#define DBC_TAILLE_PLAFOND_CREATION_SEGMENT 10000 
-
-#include <StandardOBJS_PersistentMacro.hxx>
-#include <StandardOBJS_PrimitiveTypes.hxx>
-
-// just use for internal generic identifiaction of Item
-//
-static PStandard_ArrayNode DBC_tmpItem;
-
-#endif
-
-#ifdef OBJS
-#include <StandardOBJS_PersistentMacro.hxx>
-#endif
-
-DBC_VArray::DBC_VArray() : DBC_BaseArray()
-{
-#ifdef CSFDB
-  myData = 0L;
-#endif  
-}
-
-DBC_VArray::DBC_VArray(const Standard_Integer Size) : DBC_BaseArray(Size)
-{
-  if(Size > 0) {
-#ifdef CSFDB
-    myData = (DBC_VArrayTNode*)Standard::Allocate(Size * sizeof(DBC_VArrayTNode));
-    DBC_VArrayTNode* ptrtmp = (DBC_VArrayTNode*)myData;
-    for (int i = 0; i < Size; i++) {
-      ptrtmp = new((Standard_Address)ptrtmp) DBC_VArrayTNode();
-      ptrtmp++;
-    }
-
-    //  myData = new DBC_VArrayTNode[Size];
-#endif
-#ifdef OBJS
-    Standard_Integer i;
-    myData = new (os_segment::of(this),DBC_VArrayNode::get_os_typespec(),Size) DBC_VArrayNode[Size];
-#endif
-
-    } else {
-#ifdef CSFDB
-      myData = 0L;
-#endif
-#ifdef OBJS
-      myData = NULL;
-#endif
-    }
-}
-
-DBC_VArray::DBC_VArray(const DBC_VArray& Varray) : DBC_BaseArray(Varray)
-{
-#ifdef CSFDB
-  //myData = new DBC_VArrayTNode[mySize];
-
-  myData = (DBC_VArrayTNode*)Standard::Allocate(mySize * sizeof(DBC_VArrayTNode));
-  DBC_VArrayTNode* ptrtmp = (DBC_VArrayTNode*)myData;
-
-  for(Standard_Integer i=0; i<mySize; i++) {
-    ptrtmp = new((Standard_Address)ptrtmp) DBC_VArrayTNode();
-    ((DBC_VArrayTNode*)myData)[i] = ((DBC_VArrayTNode*)Varray.myData)[i];
-    ptrtmp++;
-  }
-#endif
-#ifdef OBJS
-  myData = new (os_segment::of(this),DBC_VArrayNode::get_os_typespec(),mySize) DBC_VArrayNode[mySize] ;
-  const DBC_VArrayNode* otherArray = (DBC_VArrayNode*)Varray.myData;
-
-  for(Standard_Integer i=0; i<mySize; i++) {
-    ((DBC_VArrayNode*)myData)[i].SetValue(*((Item*)(otherArray[i].Value())));
-  }
-#endif
-}
-
-// --------------------------------------------------------------------
-//                                   Resize
-// --------------------------------------------------------------------
-void DBC_VArray::Resize (const Standard_Integer NewSize)
-{
-  Standard_NegativeValue_Raise_if((NewSize < 0),
-                                 "DBC_VArray::Resize with a bad size");
-
-#ifdef OBJY
-  myData.resize((unsigned int)NewSize) ;
-#endif
-
-#ifdef OBJSold
-  Item *newData; 
-  Standard_Integer borne;
-
-  INTERNAL_MODE_OODB_START {
-    os_segment *seg = Storage_CurrentContainer(); 
-    newData = Standard_PersistentAllocation(DBC_tmpItem, NewSize);
-    if ( NewSize < mySize ) {
-      borne = NewSize;
-    }  
-    else {
-      borne = mySize;
-    }
-    for( Standard_Integer i=0; i<borne;i++ ) {
-      newData[i] = myData[i];
-    }
-    if ( myData )
-      delete (PStandard_ArrayNode*) myData;
-    myData = newData;
-    Storage_CurrentContainer() = seg;
- }
-  INTERNAL_MODE_OODB_END;
-#endif
-
-#ifdef OBJS
-  if (NewSize >  mySize) {
-    Standard_Integer i;
-    DBC_VArrayNode* ptr = new (os_segment::of(this),DBC_VArrayNode::get_os_typespec(),NewSize) DBC_VArrayNode[NewSize] ;
-    for(i = 0; i < mySize; i++) {
-      ((DBC_VArrayNode*)ptr)[i].SetValue(*((Item*)(((DBC_VArrayNode*)myData)[i].Value())));
-    }
-
-    if (myData) delete [] myData;  // free old area.
-    myData = ptr;
-  }
-#endif 
-
-#ifdef CSFDB
-  if(NewSize >  mySize || !NewSize){
-    Standard_Integer i;
-
-    DBC_VArrayTNode* ptr = 0L;
-    if(NewSize) {
-      ptr = (DBC_VArrayTNode*)Standard::Allocate(NewSize * sizeof(DBC_VArrayTNode));
-    }
-
-    DBC_VArrayTNode* ptrtmp = ptr;
-
-    if (mySize > 0) {
-      if(NewSize) {
-       for(i = 0; i < mySize; i++) {
-         ptrtmp = new((Standard_Address)ptrtmp) DBC_VArrayTNode();
-         ptr[i].SetValue(*((Item *)((DBC_VArrayTNode*)myData)[i].Value()));
-         ptrtmp++;
-       }
-      }
-      
-      ptrtmp = (DBC_VArrayTNode*)myData;
-      for(i = 0; i < mySize; i++) {
-       ptrtmp->DBC_VArrayTNode::~DBC_VArrayTNode();
-       ptrtmp++;
-      }
-      Standard::Free(myData);
-    } else {
-      for(i = 0; i < NewSize; i++) {
-       ptrtmp = new((Standard_Address)ptrtmp) DBC_VArrayTNode();
-       ptrtmp++;
-      }
-    }
-    myData = ptr;
-  } 
-#endif 
-
-  mySize = NewSize;
-}
-
-// --------------------------------------------------------------------
-//
-// --------------------------------------------------------------------
-
-Item& DBC_VArray::Value( const Standard_Integer Index) const 
-{
-  Standard_OutOfRange_Raise_if((Index < 0 || Index >= mySize),
-                               "Index out of range in VArray::Value");
-#ifdef OBJY
-  Handle(DBC_VArrayNode) theNode = Handle(DBC_VArrayNode)::DownCast(myData.elem((unsigned int)Index));
-  return *((Item *)theNode->Value());
-#endif
-
-#ifdef OBJSold
-  return myData[Index];
-#endif
-
-#ifdef OBJS
-  return *((Item*)(((DBC_VArrayNode*)myData)[Index].Value()));
-#endif
-
-#ifdef CSFDB
-  return *((Item *)((DBC_VArrayTNode*)myData)[Index].Value());
-#endif
-}
-
-void DBC_VArray::Assign (const DBC_VArray& Right) 
-{
-#ifdef OBJY
-  myData.operator=(Right.myData);
-#endif
-
-#ifdef OBJS
-  INTERNAL_MODE_OODB_START {
-    for(Standard_Integer i=0; i< mySize; i++){
-      ((DBC_VArrayNode*)myData)[i].SetValue(*((Item*)(((DBC_VArrayNode*)Right.myData)[i].Value())));
-    }
-  }
-  INTERNAL_MODE_OODB_END;
-#endif
-
-#ifdef CSFDB
-  Standard_Integer i;
-
-  for(i = 0; i < mySize; i++) {
-    ((DBC_VArrayTNode*)myData)[i].SetValue(*((Item *)((DBC_VArrayTNode*)Right.myData)[i].Value()));
-  }
-#endif
-}
-
-
-// --------------------------------------------------------------------
-//                                  SetValue
-// --------------------------------------------------------------------
-void DBC_VArray::SetValue(const Standard_Integer Index, const Item& Value)
-{
-  Standard_OutOfRange_Raise_if((Index < 0 || Index >= mySize),
-                               "Index out of range in VArray::SetValue");
-#ifdef OBJY
-  if (myData.elem((unsigned int)Index).IsNull())
-    {
-      Handle(DBC_VArrayNode) theNode = new DBC_VArrayNode;
-      myData.elem((unsigned int)Index) = theNode;
-      theNode->SetValue(Value);
-    }
-  else
-    {
-      Handle(DBC_VArrayNode) theNode = Handle(DBC_VArrayNode)::DownCast(myData.elem((unsigned int)Index));
-      theNode->SetValue(Value);
-    }
-#endif 
-
-#ifdef OBJSold
-  INTERNAL_MODE_OODB_START {
-    myData[Index] = Value;
-  }
-  INTERNAL_MODE_OODB_END;
-#endif
-
-#ifdef OBJS
-  ((DBC_VArrayNode*)myData)[Index].SetValue(Value);
-#endif
-
-#ifdef CSFDB
-  ((DBC_VArrayTNode*)myData)[Index].SetValue(Value);
-#endif
-}
-
-void DBC_VArray::Destroy()
-{
-#ifdef CSFDB
-  if (myData && mySize > 0) {
-    DBC_VArrayTNode* ptrtmp = (DBC_VArrayTNode*)myData;
-    for(Standard_Integer i = 0; i < mySize; i++) {
-      ptrtmp->DBC_VArrayTNode::~DBC_VArrayTNode();
-      ptrtmp++;
-    }
-    Standard::Free(myData);
-    myData = 0L;
-  }
-#endif 
-}
diff --git a/src/DBC/DBC_VArrayNode.gxx b/src/DBC/DBC_VArrayNode.gxx
deleted file mode 100644 (file)
index 8cfce41..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-// #include <DBC_BaseArray.hxx>
-
-DBC_VArrayNode::DBC_VArrayNode()
-{
-}
-
-DBC_VArrayNode::DBC_VArrayNode(const Item& aValue)
-{
-  myValue = aValue;
-}
-
-void DBC_VArrayNode::SetValue(const Item& aValue)
-{
-  myValue = aValue;
-}
-
-Standard_Address DBC_VArrayNode::Value() const 
-{
-  return (Standard_Address)&myValue;
-}
diff --git a/src/DBC/DBC_VArrayTNode.gxx b/src/DBC/DBC_VArrayTNode.gxx
deleted file mode 100644 (file)
index 30cad2b..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-// #include <DBC_BaseArray.hxx>
-
diff --git a/src/DBC/DBC_VArrayTNode.lxx b/src/DBC/DBC_VArrayTNode.lxx
deleted file mode 100644 (file)
index 4629864..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-inline DBC_VArrayTNode::DBC_VArrayTNode()
-{
-}
-
-inline DBC_VArrayTNode::DBC_VArrayTNode(const Item& aValue)
-{
-  myValue = aValue;
-}
-
-inline void DBC_VArrayTNode::SetValue(const Item& aValue)
-{
-  myValue = aValue;
-}
-
-inline Standard_Address DBC_VArrayTNode::Value() const 
-{
-  return (Standard_Address)&myValue;
-}
diff --git a/src/DBC/DBC_WOKSteps.edl b/src/DBC/DBC_WOKSteps.edl
deleted file mode 100644 (file)
index c09f1cd..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
--- Copyright (c) 1998-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-@ifnotdefined(%DBC_WOKSteps_EDL) then
-
-@set %DBC_WOKSteps_EDL = "";
-
-@if ( %DBMS == "OBJS" ) then
-
-@string %WOKSteps_XcppGroup += " xcpp.copy ";
-@set  %WOKSteps_xcpp_copy = "DBC_Copy(xcpp.header)";
-
-@endif;
-
-@endif;
diff --git a/src/DBC/FILES b/src/DBC/FILES
deleted file mode 100755 (executable)
index e5315f6..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-DBC_BaseArray_objs.hxx
-DBC_DBVArray.cxx
-DBC_DBVArray.hxx
-DBC_Copy.tcl
-DBC_WOKSteps.edl
diff --git a/src/MDF/MDF.cdl b/src/MDF/MDF.cdl
deleted file mode 100644 (file)
index 65b6658..0000000
+++ /dev/null
@@ -1,176 +0,0 @@
--- Created by: DAUTRY Philippe
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
---             ---------
-
----Version:    0.0
---Version      Date            Purpose
---             0.0     Mar 13 1997     Creation
-
-
-package MDF
-
-       ---Purpose: This package provides classes and methods to
-       --          translate a transient DF into a persistent one and
-       --          vice versa.
-       --          
-       --          Driver
-       --          
-       --          A driver is a tool used to translate a transient
-       --          attribute into a persistent one and vice versa.
-       --          
-       --          Relocation Table
-       --          
-       --          A relocation table is a tool who provides services
-       --          to relocate transient objects into persistent ones
-       --          (or vice versa). It uses a map system to keep the
-       --          sharing. This service is used by the drivers.
-       --          
-       --          Driver Table
-       --          
-       --          A driver table is an object building links between
-       --          object types and object drivers. In the
-       --          translation process, a driver table is asked to
-       --          give a translation driver for each current object
-       --          to be translated.
-
-uses
-
-    Standard,
-    MMgt,
-    TCollection,
-    TColStd,
-    PColStd,
-    PTColStd,
-    TDF, 
-    CDM,
-    PDF
-
-is
-
-    ---Category: Classes
-    --           =============================================================
-
-    deferred class ASDriver; -- Attribute Storage Driver.
-
-    deferred class ARDriver; -- Attribute Retrieval Driver.
-
-    generic class RelocationTable; -- Relocation Table.
-
-    generic class DriverTable,
-       DriverList,
-       TypeDriverListMap; -- Driver Table.
-
-    class Tool from MDF;
-
-
-    ---Category: Storage and Retrieval attributes drivers
-    --           ========================================
-       
-    class TagSourceStorageDriver;
-    
-    class TagSourceRetrievalDriver;    
-
-    class ReferenceStorageDriver;
-    
-    class ReferenceRetrievalDriver;
-
-     ---Category: Instantiations
-     --           =============================================================
-
-    class ASDriverSequence instantiates Sequence from TCollection
-       (ASDriver from MDF);
-
-    class ASDriverHSequence instantiates HSequence from TCollection
-       (ASDriver from MDF,
-        ASDriverSequence from MDF);
-
-    class ARDriverSequence instantiates Sequence from TCollection
-       (ARDriver from MDF);
-
-    class ARDriverHSequence instantiates HSequence from TCollection
-       (ARDriver from MDF,
-        ARDriverSequence from MDF);
-
-    -- Storage Relocation Table (Transient->Persistent)
-    class SRelocationTable instantiates RelocationTable from MDF
-       (Attribute  from TDF,
-        Attribute  from PDF,
-        Transient  from Standard,
-        Persistent from Standard,
-        TransientPersistentMap from PTColStd);
-
-    -- Retrieval Relocation Table (Persistent->Transient)
-    class RRelocationTable instantiates RelocationTable from MDF
-       (Attribute  from PDF,
-        Attribute  from TDF,
-        Persistent from Standard,
-        Transient  from Standard,
-        PersistentTransientMap from PTColStd);
-
-    -- Map (Type, ASDriver)
-    class TypeASDriverMap instantiates DataMap from TCollection
-       (Type from Standard,
-        ASDriver from MDF,
-        MapTransientHasher from TColStd);
-
-    -- Map (Type, ARDriver)
-    class TypeARDriverMap instantiates DataMap from TCollection
-       (Type from Standard,
-        ARDriver from MDF,
-        MapTransientHasher from TColStd);
-
-    -- Attribute Storage Driver Table.
-    class ASDriverTable instantiates DriverTable from MDF
-       (ASDriver from MDF,
-        ASDriverHSequence from MDF,
-        TypeASDriverMap from MDF);
-
-    -- Attribute Retrieval Driver Table.
-    class ARDriverTable instantiates DriverTable from MDF
-       (ARDriver from MDF,
-        ARDriverHSequence from MDF,
-        TypeARDriverMap from MDF);
-
-
-
-    -- From Source To Target Object...
-    -- ===============================
-
-
-    FromTo(aSource  : Data from TDF;
-          aTarget  : in out Data from PDF;
-          aDriverTable : ASDriverTable from MDF;
-          aReloc   : SRelocationTable from MDF;
-          aVersion : Integer from Standard = 0);
-       ---Purpose: Translates a transient <aSource> into a persistent
-       --          <aTarget>.
-
-    FromTo(aSource  : Data from PDF;
-          aTarget  : in out Data from TDF;
-          aDriverTable : ARDriverTable from MDF;
-          aReloc   : RRelocationTable from MDF);
-       ---Purpose: Translates a persistent <aSource> into a transient
-       --          <aTarget>.
-    
-    AddStorageDrivers(aDriverSeq : ASDriverHSequence from MDF; theMessageDriver : MessageDriver from CDM);
-       ---Purpose: Adds the attribute storage drivers to <aDriverSeq>.
-
-
-    AddRetrievalDrivers(aDriverSeq : ARDriverHSequence from MDF; theMessageDriver : MessageDriver from CDM);
-       ---Purpose: Adds the attribute retrieval drivers to <aDriverSeq>.
-
-
-end MDF;
diff --git a/src/MDF/MDF.cxx b/src/MDF/MDF.cxx
deleted file mode 100644 (file)
index b931481..0000000
+++ /dev/null
@@ -1,121 +0,0 @@
-// Created by: DAUTRY Philippe
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-//             ---------
-
-// Version:    0.0
-//Version      Date            Purpose
-//             0.0     Mar 13 1997     Creation
-
-
-
-#include <MDF.ixx>
-
-#include <TDF_Attribute.hxx>
-#include <TDF_Label.hxx>
-#include <TDF_Tool.hxx>
-
-#include <MDF_RRelocationTable.hxx>
-#include <MDF_SRelocationTable.hxx>
-#include <MDF_Tool.hxx>
-#include <MDF_TypeARDriverMap.hxx>
-#include <MDF_TypeASDriverMap.hxx>
-
-#include <PDF_Attribute.hxx>
-#include <PDF_HAttributeArray1.hxx>
-
-#include <PColStd_HArray1OfInteger.hxx>
-
-#include <PTColStd_TransientPersistentMap.hxx>
-
-#include <MDF_TagSourceStorageDriver.hxx>
-#include <MDF_TagSourceRetrievalDriver.hxx>
-#include <MDF_ReferenceStorageDriver.hxx>
-#include <MDF_ReferenceRetrievalDriver.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : FromTo
-//purpose  : From TRANSIENT to PERSISTENT.
-//=======================================================================
-
-void MDF::FromTo
-(const Handle(TDF_Data)& aSource,
- Handle(PDF_Data)& aTarget,
- const Handle(MDF_ASDriverTable)& aDriverTable,
- const Handle(MDF_SRelocationTable)& aReloc,
- const Standard_Integer aVersion) 
-{
-  // Into Data.
-  aTarget = new PDF_Data(aVersion);
-
-  // Extraction of the driver subset.
-  const MDF_TypeASDriverMap& driverMap =
-    aDriverTable->GetDrivers(aVersion);
-
-  // Translation.
-  MDF_Tool::WriteLabels(aSource, aTarget, driverMap, aReloc);
-  MDF_Tool::WriteAttributes(driverMap, aReloc);
-}
-
-
-//=======================================================================
-//function : FromTo
-//purpose  : From PERSISTENT to TRANSIENT.
-//=======================================================================
-
-void MDF::FromTo
-(const Handle(PDF_Data)& aSource,
- Handle(TDF_Data)& aTarget,
- const Handle(MDF_ARDriverTable)& aDriverTable,
- const Handle(MDF_RRelocationTable)& aReloc) 
-{
-  // Version number.
-  Standard_Integer version = aSource->VersionNumber();
-
-  // Extraction of the driver subset.
-  const MDF_TypeARDriverMap& driverMap =
-    aDriverTable->GetDrivers(version);
-
-  // Translation.
-  MDF_Tool::ReadLabels(aSource, aTarget, driverMap, aReloc);
-  MDF_Tool::ReadAttributes(driverMap, aReloc);
-}
-
-//=======================================================================
-//function : AddStorageDriver
-//purpose  : 
-//=======================================================================
-
-void MDF::AddStorageDrivers
-(const Handle(MDF_ASDriverHSequence)& theDriverSeq,const Handle(CDM_MessageDriver)& theMsgDriver)
-{
-  theDriverSeq->Append(new MDF_TagSourceStorageDriver(theMsgDriver)); 
-  theDriverSeq->Append(new MDF_ReferenceStorageDriver(theMsgDriver));
-}
-
-
-//=======================================================================
-//function : AddRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-void MDF::AddRetrievalDrivers
-(const Handle(MDF_ARDriverHSequence)& theDriverSeq, const Handle(CDM_MessageDriver)& theMsgDriver)
-{
-  theDriverSeq->Append(new MDF_TagSourceRetrievalDriver(theMsgDriver)); 
-  theDriverSeq->Append(new MDF_ReferenceRetrievalDriver(theMsgDriver));
-}
-
diff --git a/src/MDF/MDF_ARDriver.cdl b/src/MDF/MDF_ARDriver.cdl
deleted file mode 100644 (file)
index 479a380..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
--- Created by: DAUTRY Philippe
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
---             ----------------
-
----Version:    0.0
---Version      Date            Purpose
---             0.0     Apr  4 1997     Creation
-
-
-deferred class ARDriver from MDF
-    inherits TShared from MMgt
-
-       ---Purpose: Attribute Retrieval Driver.
-
-uses
-
-    Attribute from TDF,
-    Attribute from PDF,
-    RRelocationTable from MDF, 
-    MessageDriver from CDM, 
-    ExtendedString from TCollection
-
--- raises
-
-is
-    Initialize (theMessageDriver : MessageDriver from CDM);
-    
-    VersionNumber(me) returns Integer from Standard
-       is deferred;
-       ---Purpose: Returns the version number from which the driver
-       --          is available.
-
-    SourceType(me) returns Type from Standard
-       is deferred;
-       ---Purpose: Returns the type of source object, inheriting from
-       --          Attribute from PDF.
-
-    NewEmpty(me)
-       returns Attribute from TDF
-       is deferred;
-       ---Purpose: Creates a new attribute from PDF.
-
-    Paste(me;
-         aSource     :         Attribute from PDF;
-         aTarget     : Attribute from TDF;
-         aRelocTable : RRelocationTable from MDF)
-       is deferred;
-       ---Purpose: Translate the contents of <aSource> and put it
-       --          into <aTarget>, using the relocation table
-       --          <aRelocTable> to keep the sharings. 
-       
-    WriteMessage (me; theMessage : ExtendedString from TCollection);
-        ---Purpose: To send message to Application (if MessageDriver defined)
-fields 
-
-    myMessageDriver : MessageDriver from CDM; 
-    
-end ARDriver;
diff --git a/src/MDF/MDF_ARDriver.cxx b/src/MDF/MDF_ARDriver.cxx
deleted file mode 100644 (file)
index fd44d3e..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-// Created by: DAUTRY Philippe
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-//             ----------------
-
-// Version:    0.0
-//Version      Date            Purpose
-//             0.0     Apr 28 1997     Creation
-
-
-
-#include <MDF_ARDriver.ixx>
-#include <TCollection_ExtendedString.hxx>
-#include <CDM_MessageDriver.hxx>
-//=======================================================================
-//function : MDF_ARDriver
-//purpose  : 
-//=======================================================================
-
-MDF_ARDriver::MDF_ARDriver (const Handle(CDM_MessageDriver)& theMsgDriver)
-     : myMessageDriver (theMsgDriver) {}
-
-//=======================================================================
-//function : WriteMessage
-//purpose  : 
-//=======================================================================
-
-void MDF_ARDriver::WriteMessage(const TCollection_ExtendedString& theMessage) const {
-  myMessageDriver->Write (theMessage.ToExtString());
-}
diff --git a/src/MDF/MDF_ASDriver.cdl b/src/MDF/MDF_ASDriver.cdl
deleted file mode 100644 (file)
index 225513c..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
--- Created by: DAUTRY Philippe
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
---             ----------------
-
----Version:    0.0
---Version      Date            Purpose
---             0.0     Apr  4 1997     Creation
-
-
-deferred class ASDriver from MDF
-    inherits TShared from MMgt
-
-       ---Purpose: Attribute Storage Driver.
-
-uses
-
-    Attribute from TDF,
-    Attribute from PDF,
-    SRelocationTable from MDF, 
-    MessageDriver from CDM, 
-    ExtendedString from TCollection
-
--- raises
-
-is
-    Initialize (theMessageDriver : MessageDriver from CDM); 
-    
-    VersionNumber(me) returns Integer from Standard
-       is deferred;
-       ---Purpose: Returns the version number from which the driver
-       --          is available.
-
-    SourceType(me) returns Type from Standard
-       is deferred;
-       ---Purpose: Returns the type of source object, inheriting from
-       --          Attribute from TDF.
-
-    NewEmpty(me)
-       returns Attribute from PDF
-       is deferred;
-       ---Purpose: Creates a new attribute from PDF.
-
-    Paste(me;
-         aSource     :         Attribute from TDF;
-         aTarget     : Attribute from PDF;
-         aRelocTable : SRelocationTable from MDF)
-       is deferred;
-       ---Purpose: Translate the contents of <aSource> and put it
-       --          into <aTarget>, using the relocation table
-       --          <aRelocTable> to keep the sharings. 
-       
-    WriteMessage (me; theMessage : ExtendedString from TCollection);
-        ---Purpose: To send message to Application (if MessageDriver defined) 
-       
-fields 
-
-    myMessageDriver : MessageDriver from CDM;  
-    
-end ASDriver;
diff --git a/src/MDF/MDF_ASDriver.cxx b/src/MDF/MDF_ASDriver.cxx
deleted file mode 100644 (file)
index 5fdf5c7..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-// Created by: DAUTRY Philippe
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-//             ----------------
-
-// Version:    0.0
-//Version      Date            Purpose
-//             0.0     Apr 28 1997     Creation
-
-
-
-#include <MDF_ASDriver.ixx>
-#include <TCollection_ExtendedString.hxx>
-#include <CDM_MessageDriver.hxx>
-//=======================================================================
-//function : MDF_ASDriver
-//purpose  : 
-//=======================================================================
-
-MDF_ASDriver::MDF_ASDriver (const Handle(CDM_MessageDriver)& theMsgDriver)
-     : myMessageDriver (theMsgDriver) {}
-
-//=======================================================================
-//function : WriteMessage
-//purpose  : 
-//=======================================================================
-
-void MDF_ASDriver::WriteMessage(const TCollection_ExtendedString& theMessage) const {
-  myMessageDriver->Write (theMessage.ToExtString());
-}
diff --git a/src/MDF/MDF_DriverTable.cdl b/src/MDF/MDF_DriverTable.cdl
deleted file mode 100644 (file)
index d8a3879..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
--- Created by: DAUTRY Philippe
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
---             -------------------
-
----Version:    0.0
---Version      Date            Purpose
---             0.0     May  6 1997     Creation
-
-
-generic class DriverTable from MDF
-    (TheHDriver as Transient from Standard;
-     TheDriverHSeq as Transient from Standard;
-     TheTypeDriverMap as any)
-    inherits TShared from MMgt
-
-       ---Purpose: A driver table is an object building links between
-       --          object types and object drivers. In the
-       --          translation process, a driver table is asked to
-       --          give a translation driver for each current object
-       --          to be translated.
-       --          
-       --          Validity range of a driver: a driver is available
-       --          from its version number till the next upper
-       --          version number.
-
-uses
-
-    Type                     from Standard,
-    MapTransientHasher       from TColStd
-    
-
--- raises
-
-    class DriverList instantiates List from TCollection
-       (TheHDriver);
-    
-    class TypeDriverListMap instantiates DataMap from TCollection
-       (Type from Standard,
-        DriverList,
-        MapTransientHasher from TColStd);
-
-is
-
-    Create returns DriverTable from MDF;
-       ---Purpose: Creates a mutable DriverTable from MDF.
-
-    SetDriver(me : mutable;
-             anHDriver       : TheHDriver);
-       ---Purpose: Sets a translation driver: <aDriver>.
-
-    SetDrivers(me : mutable;
-              aDriverHSeq       : TheDriverHSeq);
-       ---Purpose: Sets translation drivers.
-
-    GetDrivers(me : mutable;
-              aVersion   : Integer from Standard = 0)
-       returns TheTypeDriverMap;
-       ---Purpose: Gets a map of drivers available for <aVersion>. 
-       --          
-       --          If <aVersion> is not given or is null, the highest
-       --          version number driver is returned.
-       --          
-       ---C++: return const &
-
-    GetDriver(me;
-             aType           : Type from Standard;
-             anHDriver       : in out TheHDriver;
-             aVersion        : Integer from Standard = 0)
-       returns Boolean from Standard;
-       ---Purpose: Gets a driver <aDriver> according to <aType> and
-       --          <aVersion>.
-       --          
-       --          If <aVersion> is not given or is null, the highest
-       --          version number driver is returned.
-       --          
-       --          Returns True if a driver is found; false otherwise.
-
-
-fields
-
-    myVersion  : Integer from Standard;
-    myMap      : TheTypeDriverMap; -- available for myVersion.
-    myMapOfLst : TypeDriverListMap;
-
-end DriverTable;
diff --git a/src/MDF/MDF_DriverTable.gxx b/src/MDF/MDF_DriverTable.gxx
deleted file mode 100644 (file)
index ee0d266..0000000
+++ /dev/null
@@ -1,149 +0,0 @@
-// Created by: DAUTRY Philippe
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-//             -------------------
-
-// Version:    0.0
-//Version      Date            Purpose
-//             0.0     May  6 1997     Creation
-
-
-#include TheHDriver_hxx
-#include MDF_DataMapIteratorOfTypeDriverListMap_hxx
-#include MDF_DriverList_hxx
-
-
-//=======================================================================
-//function : MDF_DriverTable
-//purpose  : 
-//=======================================================================
-
-MDF_DriverTable::MDF_DriverTable() :
-myVersion(-1)
-{}
-
-
-//=======================================================================
-//function : SetDriver
-//purpose  : Sets a driver in its List,
-//           in decreasing version number order
-//=======================================================================
-
-void MDF_DriverTable::SetDriver
-(const Handle(TheHDriver)& anHDriver) 
-{
-  const Handle(Standard_Type)& type = anHDriver->SourceType();
-  if (myMapOfLst.IsBound(type)) {
-    MDF_DriverList& lst = myMapOfLst.ChangeFind(type);
-    if (lst.IsEmpty()) {
-      lst.Append(anHDriver);
-    }
-    else {
-      Standard_Integer driverVersion = anHDriver->VersionNumber();
-      Standard_Integer currentVersion;
-      for (MDF_ListIteratorOfDriverList itr(lst); itr.More(); itr.Next()) {
-       const Handle(TheHDriver)& driver = itr.Value();
-       currentVersion = driver->VersionNumber();
-       if (driverVersion == currentVersion) {
-         lst.Remove(itr);
-         if (lst.IsEmpty()) lst.Append(anHDriver);
-         else               lst.InsertBefore(anHDriver,itr);
-         break;
-       }
-       else if (driverVersion > currentVersion) {
-         lst.InsertAfter(anHDriver,itr);
-         break;
-       }
-      }
-    }
-  }
-  else {
-    MDF_DriverList lst;
-    lst.Append(anHDriver);
-    myMapOfLst.Bind(type,lst);
-  }
-  myMap.Clear();
-}
-
-
-//=======================================================================
-//function : SetDrivers
-//purpose  : 
-//=======================================================================
-
-void MDF_DriverTable::SetDrivers
-(const Handle(TheDriverHSeq)& aDriverHSeq) 
-{
-  const Standard_Integer upper = aDriverHSeq->Length();
-  for (Standard_Integer i = 1; i <= upper; ++i)
-    SetDriver(aDriverHSeq->Value(i));
-}
-
-
-//=======================================================================
-//function : GetDrivers
-//purpose  : 
-//=======================================================================
-
-const TheTypeDriverMap& MDF_DriverTable::GetDrivers
-(const Standard_Integer aVersion)
-{
-  if ((myMap.IsEmpty()) || (myVersion != aVersion)) {
-    // Rebuild the map.
-    Handle(TheHDriver) driver;
-    MDF_DataMapIteratorOfTypeDriverListMap itr(myMapOfLst);
-    for ( ; itr.More(); itr.Next()) {
-      const Handle(Standard_Type)& type = itr.Key();
-      if (MDF_DriverTable::GetDriver(type, driver, aVersion))
-       myMap.Bind(type, driver);
-    }
-    myVersion = aVersion;
-  }
-  return myMap;
-}
-
-//=======================================================================
-//function : GetDriver
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean MDF_DriverTable::GetDriver
-(const Handle(Standard_Type)& aType,
- Handle(TheHDriver)& anHDriver,
- const Standard_Integer aVersion) const
-{
-  Standard_Boolean found = Standard_False;
-  if (myMapOfLst.IsBound(aType)) {
-    const MDF_DriverList& lst = myMapOfLst.Find(aType);
-    if ( (aVersion == 0) && !lst.IsEmpty() ) {
-      found = Standard_True;
-      anHDriver = lst.First();
-    }
-    else {
-      for (MDF_ListIteratorOfDriverList itr(lst); itr.More(); itr.Next()) {
-       const Handle(TheHDriver)& driver = itr.Value();
-       if (driver->VersionNumber() >= aVersion) {
-         found = Standard_True;
-         anHDriver = driver;
-         break;
-       }
-      }
-    }
-  }
-  return found;
-}
-
-
-
diff --git a/src/MDF/MDF_ReferenceRetrievalDriver.cdl b/src/MDF/MDF_ReferenceRetrievalDriver.cdl
deleted file mode 100644 (file)
index 08f723d..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
--- Created on: 1997-08-07
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ReferenceRetrievalDriver from MDF  inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF, 
-     MessageDriver    from CDM
-
-is
-
-
-    Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
-    returns ReferenceRetrievalDriver from MDF;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Reference from PDF.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-end ReferenceRetrievalDriver;
-
diff --git a/src/MDF/MDF_ReferenceRetrievalDriver.cxx b/src/MDF/MDF_ReferenceRetrievalDriver.cxx
deleted file mode 100644 (file)
index fc6daed..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDF_ReferenceRetrievalDriver.ixx>
-#include <PCollection_HAsciiString.hxx>
-#include <PDF_Reference.hxx>
-#include <Standard_NoSuchObject.hxx>
-#include <TCollection_AsciiString.hxx>
-#include <TDF_Label.hxx>
-#include <TDF_Tool.hxx>
-#include <TDF_Reference.hxx>
-#include <CDM_MessageDriver.hxx>
-
-#define DeclareAndSpeedCast(V,T,Vdown) Handle(T) Vdown = *((Handle(T)*)& V)
-#define DeclareConstAndSpeedCast(V,T,Vdown) const Handle(T)& Vdown = (Handle(T)&) V
-#define SpeedCast(V,T,Vdown) Vdown = *((Handle(T)*)& V)
-
-MDF_ReferenceRetrievalDriver::MDF_ReferenceRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-}
-
-Standard_Integer MDF_ReferenceRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-Handle(Standard_Type) MDF_ReferenceRetrievalDriver::SourceType() const
-{ return STANDARD_TYPE (PDF_Reference); }
-
-Handle(TDF_Attribute) MDF_ReferenceRetrievalDriver::NewEmpty() const
-{ return new TDF_Reference; }
-
-void MDF_ReferenceRetrievalDriver::Paste (
-  const Handle(PDF_Attribute)&        Source,
-  const Handle(TDF_Attribute)&        Target,
-//  const Handle(MDF_RRelocationTable)& RelocTable) const
-  const Handle(MDF_RRelocationTable)& ) const
-
-{
-  DeclareAndSpeedCast(Source,PDF_Reference,S);
-  DeclareAndSpeedCast(Target,TDF_Reference,T);
-  TDF_Label tLab; // Null label.
-  Handle(PCollection_HAsciiString) pEntry = S->ReferencedLabel();
-  if (!pEntry.IsNull()) {
-    TCollection_AsciiString entry = pEntry->Convert();
-    TDF_Tool::Label(T->Label().Data(),entry,tLab,Standard_True);
-  }
-  T->Set(tLab);
-}
-
diff --git a/src/MDF/MDF_ReferenceStorageDriver.cdl b/src/MDF/MDF_ReferenceStorageDriver.cdl
deleted file mode 100644 (file)
index 735e0ae..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
--- Created on: 1997-08-07
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ReferenceStorageDriver from MDF inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF,
-     MessageDriver    from CDM
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM) 
-    returns ReferenceStorageDriver from MDF;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Integer from TDF.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end ReferenceStorageDriver;
-
-
-
diff --git a/src/MDF/MDF_ReferenceStorageDriver.cxx b/src/MDF/MDF_ReferenceStorageDriver.cxx
deleted file mode 100644 (file)
index 9d6a86a..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDF_ReferenceStorageDriver.ixx>
-#include <PCollection_HAsciiString.hxx>
-#include <PDF_Reference.hxx>
-#include <Standard_NoSuchObject.hxx>
-#include <TCollection_AsciiString.hxx>
-#include <TDF_Label.hxx>
-#include <TDF_Tool.hxx>
-#include <TDF_Reference.hxx>
-#include <CDM_MessageDriver.hxx>
-
-#define DeclareAndSpeedCast(V,T,Vdown) Handle(T) Vdown = *((Handle(T)*)& V)
-#define DeclareConstAndSpeedCast(V,T,Vdown) const Handle(T)& Vdown = (Handle(T)&) V
-#define SpeedCast(V,T,Vdown) Vdown = *((Handle(T)*)& V)
-
-MDF_ReferenceStorageDriver::MDF_ReferenceStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-}
-
-Standard_Integer MDF_ReferenceStorageDriver::VersionNumber() const
-{ return 0; }
-
-Handle(Standard_Type) MDF_ReferenceStorageDriver::SourceType() const
-{ return STANDARD_TYPE(TDF_Reference); }
-
-Handle(PDF_Attribute) MDF_ReferenceStorageDriver::NewEmpty() const
-{ return new PDF_Reference; }
-
-void MDF_ReferenceStorageDriver::Paste (
-  const Handle(TDF_Attribute)&        Source,
-  const Handle(PDF_Attribute)&        Target,
-//  const Handle(MDF_SRelocationTable)& RelocTable) const
-  const Handle(MDF_SRelocationTable)& ) const
-{
-  DeclareAndSpeedCast(Source,TDF_Reference,S);
-  DeclareAndSpeedCast(Target,PDF_Reference,T);
-  Handle(PCollection_HAsciiString) pEntry; // Null handle.
-  if (!S.IsNull()) {
-    const TDF_Label& lab = S->Label();
-    const TDF_Label& refLab = S->Get();
-    if (!lab.IsNull() && !refLab.IsNull()) {
-      if (lab.IsDescendant(refLab.Root())) {
-       // Ref. interne.
-       TCollection_AsciiString entry;
-       TDF_Tool::Entry(refLab,entry);
-       pEntry = new PCollection_HAsciiString(entry);
-      }
-    }
-  }
-  T->ReferencedLabel(pEntry);
-}
-
diff --git a/src/MDF/MDF_RelocationTable.cdl b/src/MDF/MDF_RelocationTable.cdl
deleted file mode 100644 (file)
index ba25437..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
--- Created by: DAUTRY Philippe
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
---             -----------------------
-
----Version:    0.0
---Version      Date            Purpose
---             0.0     May  7 1997     Creation
-
-
-
-generic class RelocationTable from MDF
-    (TheSourceType as any;
-     TheTargetType as any;
-     TheOtherSourceType as any;
-     TheOtherTargetType as any;
-     TheMapType    as any)
-    inherits TShared from MMgt
-
-       ---Purpose: Storage Relocation Table
-       --          (Transient->Persistent). It is a relocation
-       --          dictionnary.
-
-uses
-
-    Tool from MDF
-
--- raises
-
-is
-
-    Create(theSelfRelocation : Boolean from Standard = Standard_False) 
-    returns RelocationTable from MDF;
-       ---Purpose: Creates a relocation table. 
-       --          <theSelfRelocation> status says that the relocation table allows self relocation.
-
-    SetSelfRelocation(me : mutable; theStatus : Boolean from Standard = Standard_True);
-    ---Purpose: Sets self relocation status.
-
-    IsSelfRelocation(me) 
-    ---Purpose: Returns true if the self relocation status is set.
-    returns Boolean from Standard;
-
-
-    -- Attribute relocation methods.
-    -- ---------
-
-    SetRelocation(me : mutable;
-                 aSourceAttribute : TheSourceType;
-                 aTargetAttribute : TheTargetType);
-       ---Purpose: Sets the relocation value of <aSourceAttribute> to
-       --          <aTargetAttribute>.
-
-    HasRelocation(me : mutable;
-                 aSourceAttribute :                TheSourceType;
-                 aTargetAttribute : in out TheTargetType)
-       returns Boolean from Standard;
-       ---Purpose: Finds the relocation value of <aSourceAttribute>
-       --          and returns it into <aTargetAttribute>.
-       --          
-       --          If a value is found, returns True; False otherwise.
-
-
-    -- Transient other types object relocation methods.
-    -- ---------------------
-
-    SetOtherRelocation(me : mutable;
-                      aSource : TheOtherSourceType;
-                      aTarget : TheOtherTargetType);
-       ---Purpose: Sets the relocation value of <aSourceTransient> to
-       --          <aTargetTransient>.
-
-    HasOtherRelocation(me : mutable;
-                      aSource :                TheOtherSourceType;
-                      aTarget : in out TheOtherTargetType)
-       returns Boolean from Standard;
-       ---Purpose: Finds the relocation value of <aSource>
-       --          and returns it into <aTarget>.
-       --          
-       --          If a value is found, returns True; False otherwise.
-
-
-    -- Try not to use the following methods...
-
-    AttributeTable(me : mutable)
-       returns TheMapType;
-       ---Purpose: Returns <myAttributeTable> to be read or
-       --          updated. Please, for a better security, avoid to
-       --          use this method.
-       --          
-       ---C++: return &
-
-    OtherTable(me : mutable)
-       returns TheMapType;
-       ---Purpose: Returns <myOtherTable> to be read or
-       --          updated. Please, for a better security, avoid to
-       --          use this method.
-       --          
-       ---C++: return &
-
-
-fields
-
-    myAttributeTable : TheMapType;
-    myOtherTable     : TheMapType;
-    mySelfRelocation : Boolean from Standard;
-
-end RelocationTable;
diff --git a/src/MDF/MDF_RelocationTable.gxx b/src/MDF/MDF_RelocationTable.gxx
deleted file mode 100644 (file)
index da53d0a..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
-// Created by: DAUTRY Philippe
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-//             -----------------------
-
-// Version:    0.0
-//Version      Date            Purpose
-//             0.0     May  7 1997     Creation
-
-
-
-#include TheSourceType_hxx
-#include TheTargetType_hxx
-#include TheOtherSourceType_hxx
-#include TheOtherTargetType_hxx
-
-
-
-//=======================================================================
-//function : MDF_RelocationTable
-//purpose  : 
-//=======================================================================
-
-MDF_RelocationTable::MDF_RelocationTable(const Standard_Boolean theSelfRelocation):mySelfRelocation(theSelfRelocation) {}
-
-//=======================================================================
-//function : SetSelfRelocation
-//purpose  : 
-//=======================================================================
-
-void MDF_RelocationTable::SetSelfRelocation(const Standard_Boolean theStatus) {
-  mySelfRelocation = theStatus;
-}
-
-//=======================================================================
-//function : IsSelfRelocation
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean MDF_RelocationTable::IsSelfRelocation() const {
-  return mySelfRelocation;
-}
-
-//=======================================================================
-//function : SetRelocation
-//purpose  : 
-//=======================================================================
-
-void MDF_RelocationTable::SetRelocation
-(const TheSourceType& aSourceAttribute,
- const TheTargetType& aTargetAttribute) 
-{ myAttributeTable.Bind (aSourceAttribute, aTargetAttribute); }
-
-
-
-//=======================================================================
-//function : HasRelocation
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean MDF_RelocationTable::HasRelocation
-(const TheSourceType& aSourceAttribute,
- TheTargetType&       aTargetAttribute) 
-{
-  Standard_Boolean isFound = myAttributeTable.IsBound (aSourceAttribute);
-  if (isFound) aTargetAttribute = TheTargetType::DownCast(myAttributeTable.Find(aSourceAttribute));
-  else if (mySelfRelocation) isFound = Standard_True;
-  return isFound;
-}
-
-
-//=======================================================================
-//function : SetOtherRelocation
-//purpose  : 
-//=======================================================================
-
-void MDF_RelocationTable::SetOtherRelocation
-(const TheOtherSourceType& aSource,
- const TheOtherTargetType& aTarget) 
-{ myOtherTable.Bind (aSource, aTarget); }
-
-
-//=======================================================================
-//function : HasOtherRelocation
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean MDF_RelocationTable::HasOtherRelocation
-(const TheOtherSourceType& aSource,
- TheOtherTargetType&      aTarget) 
-{
-  Standard_Boolean isFound = myOtherTable.IsBound (aSource);
-  if (isFound) aTarget = myOtherTable.Find (aSource);
-  else if (mySelfRelocation) isFound = Standard_True;
-  return isFound;
-}
-
-
-//=======================================================================
-//function : AttributeTable
-//purpose  : 
-//=======================================================================
-
-TheMapType& MDF_RelocationTable::AttributeTable()
-{ return myAttributeTable; }
-
-//=======================================================================
-//function : OtherTable
-//purpose  : 
-//=======================================================================
-
-TheMapType& MDF_RelocationTable::OtherTable()
-{ return myOtherTable; }
-
diff --git a/src/MDF/MDF_TagSourceRetrievalDriver.cdl b/src/MDF/MDF_TagSourceRetrievalDriver.cdl
deleted file mode 100644 (file)
index 5aacf6b..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
--- Created on: 1997-08-07
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TagSourceRetrievalDriver from MDF  inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF, 
-     MessageDriver    from CDM
-
-is
-
-
-    Create (theMessageDriver : MessageDriver from CDM) -- Version 0
-    returns TagSourceRetrievalDriver from MDF;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: TagSource from PDF.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-end TagSourceRetrievalDriver;
-
diff --git a/src/MDF/MDF_TagSourceRetrievalDriver.cxx b/src/MDF/MDF_TagSourceRetrievalDriver.cxx
deleted file mode 100644 (file)
index bfd55cb..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDF_TagSourceRetrievalDriver.ixx>
-#include <PDF_TagSource.hxx>
-#include <TDF_TagSource.hxx>
-#include <CDM_MessageDriver.hxx>
-
-MDF_TagSourceRetrievalDriver::MDF_TagSourceRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-}
-
-Standard_Integer MDF_TagSourceRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-Handle(Standard_Type) MDF_TagSourceRetrievalDriver::SourceType() const
-{ return STANDARD_TYPE(PDF_TagSource); }
-
-Handle(TDF_Attribute) MDF_TagSourceRetrievalDriver::NewEmpty() const
-{ return new TDF_TagSource; }
-
-//void MDF_TagSourceRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,const Handle(TDF_Attribute)& Target,const Handle(MDF_RRelocationTable)& RelocTable) const
-void MDF_TagSourceRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,const Handle(TDF_Attribute)& Target,const Handle(MDF_RRelocationTable)& ) const
-{
-  Handle(PDF_TagSource) S = Handle(PDF_TagSource)::DownCast (Source);
-  Handle(TDF_TagSource) T = Handle(TDF_TagSource)::DownCast (Target);
-  T->Set (S->Get ());
-}
-
diff --git a/src/MDF/MDF_TagSourceStorageDriver.cdl b/src/MDF/MDF_TagSourceStorageDriver.cdl
deleted file mode 100644 (file)
index 511fb25..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
--- Created on: 1997-08-07
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TagSourceStorageDriver from MDF inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM) 
-    returns TagSourceStorageDriver from MDF;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Integer from TDF.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end TagSourceStorageDriver;
-
diff --git a/src/MDF/MDF_TagSourceStorageDriver.cxx b/src/MDF/MDF_TagSourceStorageDriver.cxx
deleted file mode 100644 (file)
index 494c893..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDF_TagSourceStorageDriver.ixx>
-#include <PDF_TagSource.hxx>
-#include <TDF_TagSource.hxx>
-#include <CDM_MessageDriver.hxx>
-
-MDF_TagSourceStorageDriver::MDF_TagSourceStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-}
-
-Standard_Integer MDF_TagSourceStorageDriver::VersionNumber() const
-{ return 0; }
-
-Handle(Standard_Type) MDF_TagSourceStorageDriver::SourceType() const
-{ return STANDARD_TYPE(TDF_TagSource); }
-
-Handle(PDF_Attribute) MDF_TagSourceStorageDriver::NewEmpty() const
-{ return new PDF_TagSource (); }
-
-//void MDF_TagSourceStorageDriver::Paste(const Handle(TDF_Attribute)& Source,const Handle(PDF_Attribute)& Target,const Handle(MDF_SRelocationTable)& RelocTable) const
-void MDF_TagSourceStorageDriver::Paste(const Handle(TDF_Attribute)& Source,const Handle(PDF_Attribute)& Target,const Handle(MDF_SRelocationTable)& ) const
-{
-  Handle(TDF_TagSource) S = Handle(TDF_TagSource)::DownCast (Source);
-  Handle(PDF_TagSource) T = Handle(PDF_TagSource)::DownCast (Target);
-  T->Set (S->Get ());
-}
-
diff --git a/src/MDF/MDF_Tool.cdl b/src/MDF/MDF_Tool.cdl
deleted file mode 100644 (file)
index 5622494..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
--- Created by: DAUTRY Philippe
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
---             --------------
-
----Version:    0.0
---Version      Date            Purpose
---             0.0     Mar 13 1997     Creation
-
-
-class Tool from MDF
-
-       ---Purpose: A tool to translate...
-
-uses
-
-    Label                  from TDF,
-    Data                   from TDF,
-    Data                   from PDF,
-    HAttributeArray1       from PDF,
-    TypeARDriverMap        from MDF,
-    TypeASDriverMap        from MDF,
-    ARDriverTable          from MDF,
-    ASDriverTable          from MDF,
-    RRelocationTable       from MDF,
-    SRelocationTable       from MDF,
-    Integer                from Standard,
-    HArray1OfInteger       from PColStd,
-    TransientPersistentMap from PTColStd
-
--- raises
-
-is
-
-    WriteLabels(myclass;
-         aSource : Data from TDF;
-         aTarget : Data from PDF;
-         aDriverMap    : TypeASDriverMap from MDF;
-         aReloc        : SRelocationTable from MDF);
-       ---Purpose: Writes the labels with empty attributes.
-
-    WriteLabels(myclass;
-         aSourceLab    : Label from TDF;
-         theLabels     : HArray1OfInteger from PColStd;
-         theAttributes : HAttributeArray1 from PDF;
-         aDriverMap    : TypeASDriverMap from MDF;
-         aReloc        : SRelocationTable from MDF;
-         labAlloc      : in out Integer from Standard;
-         attAlloc      : in out Integer from Standard);
-       ---Purpose: Used for recursivity.
-
-    WriteAttributes(myclass;
-       aDriverMap    : TypeASDriverMap from MDF;
-       aReloc        : SRelocationTable from MDF);
-       ---Purpose: Writes attributes content.
-
-
-
-    ReadLabels(myclass;
-         aSource : Data from PDF;
-         aTarget : Data from TDF;
-         aDriverMap    : TypeARDriverMap from MDF;
-         aReloc        : RRelocationTable from MDF);
-       ---Purpose:  Reads the labels abd adds empty attributes to them.
-
-    ReadLabels(myclass;
-         anIns         : in out Label from TDF;
-         theLabels     : HArray1OfInteger from PColStd;
-         theAttributes : HAttributeArray1 from PDF;
-         aDriverMap    : TypeARDriverMap from MDF;
-         aReloc        : RRelocationTable from MDF;
-         labRead       : in out Integer from Standard;
-         attRead       : in out Integer from Standard);
-       ---Purpose: Used for recursivity.
-
-    ReadAttributes(myclass;
-       aDriverMap    : TypeARDriverMap from MDF;
-       aReloc        : RRelocationTable from MDF);
-       ---Purpose: Reads attributes content and paste them.
-
-end Tool;
diff --git a/src/MDF/MDF_Tool.cxx b/src/MDF/MDF_Tool.cxx
deleted file mode 100644 (file)
index b81dc7f..0000000
+++ /dev/null
@@ -1,456 +0,0 @@
-// Created by: DAUTRY Philippe
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-//             --------------
-
-// Version:    0.0
-//Version      Date            Purpose
-//             0.0     Mar 13 1997     Creation
-
-
-
-#include <MDF_Tool.ixx>
-
-#include <MDF_ARDriver.hxx>
-#include <MDF_ASDriver.hxx>
-#include <MDF_RRelocationTable.hxx>
-#include <MDF_SRelocationTable.hxx>
-
-#include <PDF_Attribute.hxx>
-#include <PDF_HAttributeArray1.hxx>
-
-#include <TDF_Attribute.hxx>
-#include <TDF_AttributeIterator.hxx>
-#include <TDF_ListIteratorOfAttributeList.hxx>
-#include <TDF_AttributeList.hxx>
-#include <TDF_ChildIterator.hxx>
-#include <TDF_Label.hxx>
-#include <TDF_Tool.hxx>
-
-#include <TColStd_HArray1OfInteger.hxx>
-
-#include <PTColStd_DataMapIteratorOfPersistentTransientMap.hxx>
-#include <PTColStd_DataMapIteratorOfTransientPersistentMap.hxx>
-#include <PTColStd_PersistentTransientMap.hxx>
-#include <PTColStd_TransientPersistentMap.hxx>
-
-#include <Standard_GUID.hxx>
-
-#ifdef OCCT_DEBUG
-#include <Standard_ConstructionError.hxx>
-#endif
-
-#define DeclareAndSpeedCast(V,T,Vdown) Handle(T) Vdown = *((Handle(T)*)& V)
-#define DeclareConstAndSpeedCast(V,T,Vdown) const Handle(T)& Vdown = (Handle(T)&) V
-#define SpeedCast(V,T,Vdown) Vdown = *((Handle(T)*)& V)
-
-#include <NCollection_List.hxx>
-typedef struct {
-       Handle(PDF_Attribute) pAtt;
-       Handle(TDF_Attribute) tAtt;
-} ATTR;
-typedef NCollection_List<ATTR> MDF_AttributeList;
-typedef MDF_AttributeList::Iterator MDF_ListIteratorOfAttributeList;
-
-#undef DEB_MDF_TOOL
-
-// Persistent structure:
-//
-// Label Array Item
-//
-// (Tag; NbOfAttributes; NbOfChildren)
-//
-// The attributes are stored sequencially in the Attribute Array.
-// The children of a label are stored recursively after the label item itself.
-
-
-//      W       W  RRRRR   III  TTTTT  EEEEE
-//      W       W  R    R   I     T    E
-//       W     W   R    R   I     T    E
-//       W  W  W   RRRRR    I     T    EEE
-//        WW WW    R  R     I     T    E
-//        W   W    R   R   III    T    EEEEE
-
-
-//=======================================================================
-//function : MDF_NbAttributesWithDriver
-//purpose  : 
-//=======================================================================
-
-static Standard_Integer MDF_NbAttributesWithDriver
-(const TDF_Label& aLabel,
- const MDF_TypeASDriverMap& aDriverMap)
-{
-  Standard_Integer n = 0;
-  for (TDF_AttributeIterator itr1(aLabel); itr1.More(); itr1.Next())
-    if (aDriverMap.IsBound(itr1.Value()->DynamicType())) ++n;
-  for (TDF_ChildIterator itr2(aLabel); itr2.More(); itr2.Next())
-    n += MDF_NbAttributesWithDriver(itr2.Value(),aDriverMap);
-  return n;
-}
-
-
-//=======================================================================
-//function : WriteLabels
-//purpose  : TRANSIENT -> PERSISTENT;
-//           writes the arrays contents with empty attributes.
-//=======================================================================
-
-void MDF_Tool::WriteLabels
-(const Handle(TDF_Data)& aSource,
- const Handle(PDF_Data)& aTarget,
- const MDF_TypeASDriverMap& aDriverMap,
- const Handle(MDF_SRelocationTable)& aReloc)
-{
-  TDF_Label aSourceLab = aSource->Root();
-
-  // Label array sizing.
-  Handle(PColStd_HArray1OfInteger) theLabels;
-  Standard_Integer nbLab = TDF_Tool::NbLabels(aSourceLab);
-  if (nbLab) {
-    theLabels = new PColStd_HArray1OfInteger(1,nbLab*3);
-    aTarget->Labels(theLabels);
-  }
-  // In fact, some labels whithout attributes attached to themselves
-  // nor to their descendants will not be kept.
-
-  // Attribute array sizing.
-  Handle(PDF_HAttributeArray1) theAttributes;
-  Standard_Integer nbAtt = 0;
-  if (nbLab) {
-    nbAtt = MDF_NbAttributesWithDriver(aSourceLab,aDriverMap);
-    if (nbAtt) {
-      theAttributes = new PDF_HAttributeArray1(1,nbAtt);
-      aTarget->Attributes(theAttributes);
-    }
-    // In fact, some attributes will not be kept by the filter.
-  }
-
-  if (nbLab && nbAtt) {
-    // labAlloc & attAlloc content the last used cell address.
-    Standard_Integer labAlloc = 0;
-    Standard_Integer attAlloc = 0;
-    MDF_Tool::WriteLabels(aSourceLab, aTarget->Labels(), aTarget->Attributes(),
-                         aDriverMap, aReloc, labAlloc, attAlloc);
-
-    // Label array REsizing.
-    if (labAlloc < theLabels->Upper()) {
-#ifdef OCCT_DEBUG
-      cout<<"MDF_Tool::WriteLabels LABEL array resizing from "<<theLabels->Upper()<<" to "<<labAlloc<<endl;
-#endif
-      Handle(PColStd_HArray1OfInteger) newLabels =
-       new PColStd_HArray1OfInteger(1,labAlloc);
-      for (Standard_Integer i = 1; i <= labAlloc; ++i)
-       newLabels->SetValue(i,theLabels->Value(i));
-      aTarget->Labels(newLabels);
-    }
-
-
-    // Attribute array REsizing.
-    if (attAlloc < theAttributes->Upper()) {
-#ifdef OCCT_DEBUG
-      cout<<"MDF_Tool::WriteLabels ATTRIBUTES array resizing from "<<theAttributes->Upper()<<" to "<<attAlloc<<endl;
-#endif
-      Handle(PDF_HAttributeArray1) newAttributes =
-       new PDF_HAttributeArray1(1,attAlloc);
-      for (Standard_Integer i = 1; i <= attAlloc; ++i)
-       newAttributes->SetValue(i,theAttributes->Value(i));
-      aTarget->Attributes(newAttributes);
-    }
-  }
-}
-
-
-//=======================================================================
-//function : WriteLabels
-//purpose  : TRANSIENT -> PERSISTENT;
-//           writes the arrays contents with empty attributes.
-//=======================================================================
-
-void MDF_Tool::WriteLabels
-(const TDF_Label& aSourceLab,
- const Handle(PColStd_HArray1OfInteger)& theLabels,
- const Handle(PDF_HAttributeArray1)& theAttributes,
- const MDF_TypeASDriverMap& aDriverMap,
- const Handle(MDF_SRelocationTable)& aReloc,
- Standard_Integer& labAlloc,
- Standard_Integer& attAlloc)
-{
-  // Cells allocation.
-  Standard_Integer labIndex = labAlloc;
-  labAlloc += 3;
-  Standard_Integer attIndex = attAlloc; // Backup the value.
-
-  // Tag.
-  theLabels->SetValue(++labIndex,aSourceLab.Tag());
-
-  Standard_Integer count = 0;
-
-  // Attributes.
-  Handle(PDF_Attribute) pAtt;
-  TDF_AttributeIterator itr1(aSourceLab);
-  for ( ; itr1.More(); itr1.Next()) {
-    const Handle(TDF_Attribute)& tAtt = itr1.Value();
-    const Handle(Standard_Type)& type = tAtt->DynamicType();
-    if (aDriverMap.IsBound(type)) {
-      ++count;
-      const Handle(MDF_ASDriver)& driver = aDriverMap.Find(type);
-      pAtt = driver->NewEmpty();
-      theAttributes->SetValue(++attAlloc,pAtt);
-      aReloc->SetRelocation(tAtt,pAtt);
-    }
-  }
-  theLabels->SetValue(++labIndex,count); // Nb Attributes.
-  count = 0;
-
-  // Label Children.
-  Standard_Integer childLabIndex;
-  TDF_ChildIterator itr2(aSourceLab);
-  for ( ; itr2.More(); itr2.Next()) {
-    childLabIndex = labAlloc;
-    const TDF_Label& label = itr2.Value();
-    MDF_Tool::WriteLabels(label, theLabels, theAttributes,
-                         aDriverMap, aReloc, labAlloc, attAlloc);
-    if (childLabIndex < labAlloc) ++count;
-  }
-
-#ifdef OCCT_DEBUG_MDF_TOOL
-  aSourceLab.EntryDump(cout);
-  cout<<" Count="<<count<<" attIndex="<<attIndex<<" attAlloc="<<attAlloc;
-#endif
-  if (attIndex < attAlloc) { // At least one attribute has been stored.
-    theLabels->SetValue(++labIndex,count); // Nb Children.
-  }
-  else {
-    labAlloc -= 2;
-    theLabels->SetValue(labAlloc--,0); // To clean the tag value.
-#ifdef OCCT_DEBUG_MDF_TOOL
-    cout<<"    <== Cleared";
-#endif
-  }
-#ifdef OCCT_DEBUG_MDF_TOOL
-  cout<<endl;
-#endif
-}
-
-
-//=======================================================================
-//function : WriteAttributes
-//purpose  : TRANSIENT -> PERSISTENT
-//           writes the persistent attributes content.
-//=======================================================================
-
-void MDF_Tool::WriteAttributes
-(const MDF_TypeASDriverMap& aDriverMap,
- const Handle(MDF_SRelocationTable)& aReloc) 
-{
-  // Iterer sur la map pour traduire si target.IsNull().
-  const PTColStd_TransientPersistentMap& attMap = aReloc->AttributeTable();
-  PTColStd_DataMapIteratorOfTransientPersistentMap itr(attMap);
-  Handle(PDF_Attribute) pAtt;
-  for ( ; itr.More(); itr.Next()) {
-    DeclareConstAndSpeedCast(itr.Key(),TDF_Attribute,tAtt);
-    const Handle(Standard_Type)& type = tAtt->DynamicType();
-    if (aDriverMap.IsBound(type)) {
-      SpeedCast(itr.Value(),PDF_Attribute,pAtt);
-      const Handle(MDF_ASDriver)& driver = aDriverMap.Find(type);
-      driver->Paste(tAtt, pAtt, aReloc);
-    }
-  }
-}
-
-
-
-//      RRRRR   EEEEE    A    DDDD
-//      R    R  E       A A   D   D
-//      R    R  E      A   A  D   D
-//      RRRRR   EEE    AAAAA  D   D
-//      R  R    E      A   A  D   D
-//      R   R   EEEEE  A   A  DDDD
-
-//=======================================================================
-//function : ReadLabels
-//purpose  : PERSISTENT -> TRANSIENT;
-//           reads the arrays contents and build the objects
-//           with empty attributes.
-//=======================================================================
-
-void MDF_Tool::ReadLabels
-(const Handle(PDF_Data)& aSource,
- const Handle(TDF_Data)& aTarget,
- const MDF_TypeARDriverMap& aDriverMap,
- const Handle(MDF_RRelocationTable)& aReloc)
-{
-  // Root label creation.
-  //TDF_Insertor ins(aTarget->Root());
-  TDF_Label ins = aTarget->Root();
-
-  // labAlloc & attAlloc content the last used cell address.
-  Standard_Integer labRead = 1; // Root already used above.
-  Standard_Integer attRead = 0;
-  MDF_Tool::ReadLabels(ins, aSource->Labels(), aSource->Attributes(),
-                      aDriverMap, aReloc, labRead, attRead);
-}
-
-
-//=======================================================================
-//function : ReadLabels
-//purpose  : PERSISTENT -> TRANSIENT;
-//           Reads the arrays contents and build the objects
-//           with empty attributes.
-//=======================================================================
-
-void MDF_Tool::ReadLabels
-(TDF_Label& anIns,
- const Handle(PColStd_HArray1OfInteger)& theLabels,
- const Handle(PDF_HAttributeArray1)& theAttributes,
- const MDF_TypeARDriverMap& aDriverMap,
- const Handle(MDF_RRelocationTable)& aReloc,
- Standard_Integer& labRead,
- Standard_Integer& attRead)
-{
-  // Empty attributes creation.
-  Handle(TDF_Attribute) tAtt;
-  // Number of attributes.
-  Standard_Integer nbAtt = theLabels->Value(++labRead);
-  for (Standard_Integer iAtt = 1 ; iAtt <= nbAtt; iAtt++) {
-    const Handle(PDF_Attribute)& pAtt = theAttributes->Value(++attRead);
-    if (pAtt.IsNull()) {
-      // This case occurs only if somebody modified manually the file.
-      tAtt.Nullify();
-    }
-    else {
-      const Standard_GUID anEmptyID;
-      Handle(MDF_RRelocationTable) anEmptyRelocaTable = new MDF_RRelocationTable(Standard_True);
-      const Handle(Standard_Type)& type = pAtt->DynamicType();
-      if (aDriverMap.IsBound(type)) {
-       const Handle(MDF_ARDriver)& driver = aDriverMap.Find(type);
-       tAtt = driver->NewEmpty();
-       if (tAtt->ID() == anEmptyID) driver->Paste(pAtt, tAtt, anEmptyRelocaTable);
-       anIns.AddAttribute(tAtt);
-      }
-      aReloc->SetRelocation(pAtt,tAtt);
-    }
-  }
-
-  // Label Children creation.
-  Standard_Integer tag;
-  // Number of labels.
-  Standard_Integer nbLab = theLabels->Value(++labRead);
-  for (Standard_Integer iLab = 1 ; iLab <= nbLab; iLab++) {
-    // Label creation.
-    tag = theLabels->Value(++labRead);
-
-
-    //TDF_Insertor ins(anIns,tag);
-    TDF_Label ins = anIns.FindChild(tag,Standard_True);
-
-    MDF_Tool::ReadLabels(ins, theLabels, theAttributes,
-                        aDriverMap, aReloc, labRead, attRead);
-  }
-}
-
-
-//=======================================================================
-//function : ReadAttributes
-//purpose  : PERSISTENT -> TRANSIENT
-//           Reads the persistent attributes content.
-//=======================================================================
-//#define DEB_ORIENT
-void MDF_Tool::ReadAttributes
-(const MDF_TypeARDriverMap& aDriverMap,
- const Handle(MDF_RRelocationTable)& aReloc) 
-{
-//  cout<<"MDF_Tool::ReadAttributes ..."<<endl;
-  // Iterer sur la map pour traduire si target.IsNull().
-  const PTColStd_PersistentTransientMap& attMap = aReloc->AttributeTable();
-  PTColStd_DataMapIteratorOfPersistentTransientMap itr(attMap);
-  Handle(TDF_Attribute) tAtt;
-  MDF_AttributeList attNList;
-  Standard_Boolean isName1(Standard_False);
-  ATTR pairAtt;
-  for ( ; itr.More(); itr.Next()) {
-    DeclareConstAndSpeedCast(itr.Key(),PDF_Attribute,pAtt);
-    if (!pAtt.IsNull()) { // See above...
-      const Handle(Standard_Type)& type = pAtt->DynamicType();
-         
-         if(!strcmp (type->Name(), "PNaming_Naming_1") ) {
-#ifdef OCCT_DEBUG_ORIENT
-                 cout << "TYPE = " << type->Name() << endl;
-#endif
-                 isName1 = Standard_True;
-         } else isName1 = Standard_False;
-
-      if (aDriverMap.IsBound(type)) {
-           SpeedCast(itr.Value(),TDF_Attribute,tAtt);
-           const Handle(MDF_ARDriver)& driver = aDriverMap.Find(type);
-               if(isName1) {
-                 pairAtt.pAtt = pAtt;
-                 pairAtt.tAtt = tAtt;
-                 attNList.Append(pairAtt);
-               }
-               else 
-             driver->Paste(pAtt, tAtt, aReloc);
-      }
-    }
-  }
-
-// post processing for compartibiliy with previous versions (24.07.2013)
-  if(attNList.Extent()) {
-    MDF_ListIteratorOfAttributeList listIt(attNList);
-       for(;listIt.More();listIt.Next()) {
-               const  Handle(PDF_Attribute)& pAtt = listIt.Value().pAtt;
-               if (!pAtt.IsNull()) { 
-          const Handle(Standard_Type)& type = pAtt->DynamicType();
-                 if (aDriverMap.IsBound(type)) {               
-               const Handle(MDF_ARDriver)& driver = aDriverMap.Find(type);             
-               driver->Paste(pAtt, listIt.Value().tAtt, aReloc);
-                 }
-               }
-       }
-  }
-//
-  TDF_AttributeList attList;
-  for (itr.Initialize(attMap); itr.More(); itr.Next()) {
-    SpeedCast(itr.Value(),TDF_Attribute,tAtt);
-    attList.Append(tAtt);
-  }
-
-  TDF_ListIteratorOfAttributeList itr2;
-  Standard_Boolean noDeadLock = Standard_True;
-  Standard_Integer nbAtt = attList.Extent();
-  while (noDeadLock && (nbAtt != 0)) {
-    itr2.Initialize(attList);
-    while (itr2.More()) {
-      if (!itr2.Value()->AfterRetrieval())
-       itr2.Next();
-      else
-       attList.Remove(itr2);
-    }
-    noDeadLock = (nbAtt > attList.Extent());
-    nbAtt = attList.Extent();
-  }
-
-  if (!noDeadLock) {
-#ifdef OCCT_DEBUG
-    cout<<"AfterRetrieval(): dead lock between these attributes:"<<endl;
-    for (itr2.Initialize(attList); itr2.More(); itr2.Next())
-      cout<<"Attribute type = "<<itr2.Value()->DynamicType()->Name()<<endl;;
-    Standard_ConstructionError::Raise("AfterRetrieval: dead lock.");
-#endif
-    for (itr2.Initialize(attList); itr2.More(); itr2.Next())
-      itr2.Value()->AfterRetrieval(Standard_True);
-  }
-}
diff --git a/src/MDataStd/MDataStd.cdl b/src/MDataStd/MDataStd.cdl
deleted file mode 100644 (file)
index be7aaf9..0000000
+++ /dev/null
@@ -1,155 +0,0 @@
--- Created on: 1997-08-07
--- Created by: VAUTHIER Jean-Claude 
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-
-
-package MDataStd 
-
-       ---Purpose: Storage    and  Retrieval  drivers   for modelling
-       --          attributes.   Transient  attributes are defined in
-       --          package TDataStd and persistent one are defined in
-       --          package PDataStd
-
-uses TDF,
-     PDF,
-     MDF, 
-     CDM,
-     TDataStd
-
-is
-
-    ---Category: Storage drivers for TDataStd attributes
-    --           =======================================
-
-       
-        class DirectoryStorageDriver;
-
-       class UAttributeStorageDriver;
-       
-       class NameStorageDriver;
-
-       class CommentStorageDriver;
-
-       class IntegerStorageDriver;
-       
-       class IntegerArrayStorageDriver;
-       
-       class RealStorageDriver;
-
-       class RealArrayStorageDriver;
-       
-       class ExtStringArrayStorageDriver;      
-
-       class VariableStorageDriver;
-
-       class ExpressionStorageDriver;
-
-       class RelationStorageDriver;    
-       
-       class NoteBookStorageDriver;
-
-       class TreeNodeStorageDriver;
-       
-        
-    --Extension 
-       class TickStorageDriver;
-        class IntegerListStorageDriver;
-        class RealListStorageDriver;
-        class ExtStringListStorageDriver;
-        class BooleanListStorageDriver;
-        class ReferenceListStorageDriver;
-        class BooleanArrayStorageDriver;
-        class ReferenceArrayStorageDriver;
-        class ByteArrayStorageDriver;
-        class NamedDataStorageDriver;
-        class AsciiStringStorageDriver; 
-        class IntPackedMapStorageDriver; 
-    
-    ---Category: Retrieval drivers for PDataStd attributes
-    --           =========================================
-
-        class DirectoryRetrievalDriver;
-
-       class UAttributeRetrievalDriver;
-       
-       class NameRetrievalDriver;
-
-       class CommentRetrievalDriver;
-
-       class IntegerRetrievalDriver;
-       
-        class IntegerArrayRetrievalDriver; 
-        
-        class IntegerArrayRetrievalDriver_1;   
-
-       class RealRetrievalDriver;
-
-       class RealArrayRetrievalDriver; 
-        
-       class RealArrayRetrievalDriver_1;       
-       
-       class ExtStringArrayRetrievalDriver;
-
-       class ExtStringArrayRetrievalDriver_1;          
-
-       class VariableRetrievalDriver;
-
-       class ExpressionRetrievalDriver;
-
-       class RelationRetrievalDriver;     
-
-       class NoteBookRetrievalDriver;
-
-       class TreeNodeRetrievalDriver;
-
-         
-       --  Extension 
-       class TickRetrievalDriver;
-        class IntegerListRetrievalDriver;
-        class RealListRetrievalDriver;
-        class ExtStringListRetrievalDriver;
-        class BooleanListRetrievalDriver;
-        class ReferenceListRetrievalDriver;
-        class BooleanArrayRetrievalDriver;
-        class ReferenceArrayRetrievalDriver;
-        class ByteArrayRetrievalDriver; 
-       class ByteArrayRetrievalDriver_1;
-        class NamedDataRetrievalDriver; 
-        class AsciiStringRetrievalDriver; 
-        class IntPackedMapRetrievalDriver;     
-       class IntPackedMapRetrievalDriver_1;
-
-
-    AddStorageDrivers(aDriverSeq : ASDriverHSequence from MDF; theMessageDriver : MessageDriver from CDM);
-       ---Purpose: Adds the attribute storage drivers to <aDriverSeq>.
-
-
-    AddRetrievalDrivers(aDriverSeq : ARDriverHSequence from MDF; theMessageDriver : MessageDriver from CDM);
-       ---Purpose: Adds the attribute retrieval drivers to <aDriverSeq>.
-
-
-    ---Purpose: Translation of TDataStd enumerations to integer
-    --          ===============================================
-
-    RealDimensionToInteger (e : RealEnum from TDataStd)
-    returns Integer from Standard;
-
-    IntegerToRealDimension (i : Integer from Standard)
-    returns RealEnum from TDataStd;
-     
-end MDataStd;
diff --git a/src/MDataStd/MDataStd.cxx b/src/MDataStd/MDataStd.cxx
deleted file mode 100644 (file)
index d26721b..0000000
+++ /dev/null
@@ -1,213 +0,0 @@
-// Created by: DAUTRY Philippe
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-//             ------------
-// modified     Sergey Zaritchny
-
-// Version:    0.0
-//Version      Date            Purpose
-//             0.0     Aug  4 1997     Creation
-
-
-
-#include <MDataStd.ixx>
-#include <MDF_ASDriverTable.hxx>
-#include <MDF_ARDriverTable.hxx>
-#include <CDM_MessageDriver.hxx>
-// Storage
-#include <MDataStd_DirectoryStorageDriver.hxx>
-#include <MDataStd_UAttributeStorageDriver.hxx>
-#include <MDataStd_IntegerArrayStorageDriver.hxx>
-#include <MDataStd_RealArrayStorageDriver.hxx>
-#include <MDataStd_ExtStringArrayStorageDriver.hxx>
-#include <MDataStd_NameStorageDriver.hxx>
-#include <MDataStd_CommentStorageDriver.hxx>
-#include <MDataStd_IntegerStorageDriver.hxx>
-#include <MDataStd_RealStorageDriver.hxx>
-#include <MDataStd_VariableStorageDriver.hxx>
-#include <MDataStd_ExpressionStorageDriver.hxx>
-#include <MDataStd_RelationStorageDriver.hxx>
-#include <MDataStd_NoteBookStorageDriver.hxx>
-#include <MDataStd_TreeNodeStorageDriver.hxx>
-
-#include <MDataStd_TickStorageDriver.hxx>
-#include <MDataStd_IntegerListStorageDriver.hxx>
-#include <MDataStd_RealListStorageDriver.hxx>
-#include <MDataStd_ExtStringListStorageDriver.hxx>
-#include <MDataStd_BooleanListStorageDriver.hxx>
-#include <MDataStd_ReferenceListStorageDriver.hxx>
-#include <MDataStd_BooleanArrayStorageDriver.hxx>
-#include <MDataStd_ReferenceArrayStorageDriver.hxx>
-#include <MDataStd_ByteArrayStorageDriver.hxx>
-#include <MDataStd_NamedDataStorageDriver.hxx>
-#include <MDataStd_AsciiStringStorageDriver.hxx>
-#include <MDataStd_IntPackedMapStorageDriver.hxx>
-// Retrieval
-#include <MDataStd_DirectoryRetrievalDriver.hxx>
-#include <MDataStd_RealArrayRetrievalDriver.hxx>
-#include <MDataStd_ExtStringArrayRetrievalDriver.hxx>
-#include <MDataStd_UAttributeRetrievalDriver.hxx>
-#include <MDataStd_IntegerArrayRetrievalDriver.hxx>
-#include <MDataStd_NameRetrievalDriver.hxx>
-#include <MDataStd_CommentRetrievalDriver.hxx>
-#include <MDataStd_IntegerRetrievalDriver.hxx>
-#include <MDataStd_RealRetrievalDriver.hxx>
-#include <MDataStd_VariableRetrievalDriver.hxx>
-#include <MDataStd_ExpressionRetrievalDriver.hxx>
-#include <MDataStd_RelationRetrievalDriver.hxx>
-#include <MDataStd_NoteBookRetrievalDriver.hxx>
-#include <MDataStd_TreeNodeRetrievalDriver.hxx>
-
-#include <MDataStd_TickRetrievalDriver.hxx>
-#include <MDataStd_IntegerListRetrievalDriver.hxx>
-#include <MDataStd_RealListRetrievalDriver.hxx>
-#include <MDataStd_ExtStringListRetrievalDriver.hxx>
-#include <MDataStd_BooleanListRetrievalDriver.hxx>
-#include <MDataStd_ReferenceListRetrievalDriver.hxx>
-#include <MDataStd_BooleanArrayRetrievalDriver.hxx>
-#include <MDataStd_ReferenceArrayRetrievalDriver.hxx>
-#include <MDataStd_ByteArrayRetrievalDriver.hxx>
-#include <MDataStd_NamedDataRetrievalDriver.hxx>
-#include <MDataStd_AsciiStringRetrievalDriver.hxx>
-#include <MDataStd_IntPackedMapRetrievalDriver.hxx>
-#include <MDataStd_ByteArrayRetrievalDriver_1.hxx>
-#include <MDataStd_IntegerArrayRetrievalDriver_1.hxx>
-#include <MDataStd_RealArrayRetrievalDriver_1.hxx>
-#include <MDataStd_ExtStringArrayRetrievalDriver_1.hxx>
-#include <MDataStd_IntPackedMapRetrievalDriver_1.hxx>
-
-// enums
-#include <TDataStd_RealEnum.hxx>
-#include <Standard_DomainError.hxx>
-
-//=======================================================================
-//function : AddStorageDriver
-//purpose  : 
-//=======================================================================
-
-void MDataStd::AddStorageDrivers
-(const Handle(MDF_ASDriverHSequence)& aDriverSeq, const Handle(CDM_MessageDriver)& theMsgDriver)
-{
-  aDriverSeq->Append(new MDataStd_DirectoryStorageDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_IntegerArrayStorageDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_RealArrayStorageDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_UAttributeStorageDriver(theMsgDriver)); 
-  aDriverSeq->Append(new MDataStd_NameStorageDriver(theMsgDriver)); 
-  aDriverSeq->Append(new MDataStd_CommentStorageDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_IntegerStorageDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_RealStorageDriver(theMsgDriver));
-
-  aDriverSeq->Append(new MDataStd_VariableStorageDriver(theMsgDriver)); 
-  aDriverSeq->Append(new MDataStd_ExpressionStorageDriver(theMsgDriver)); 
-  aDriverSeq->Append(new MDataStd_RelationStorageDriver(theMsgDriver));  
-  aDriverSeq->Append(new MDataStd_NoteBookStorageDriver(theMsgDriver));  
-  aDriverSeq->Append(new MDataStd_TreeNodeStorageDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_ExtStringArrayStorageDriver(theMsgDriver));
-
-  aDriverSeq->Append(new MDataStd_TickStorageDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_IntegerListStorageDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_RealListStorageDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_ExtStringListStorageDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_BooleanListStorageDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_ReferenceListStorageDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_BooleanArrayStorageDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_ReferenceArrayStorageDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_ByteArrayStorageDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_NamedDataStorageDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_AsciiStringStorageDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_IntPackedMapStorageDriver(theMsgDriver));
-}
-
-
-//=======================================================================
-//function : AddRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-void MDataStd::AddRetrievalDrivers
-(const Handle(MDF_ARDriverHSequence)& aDriverSeq,const Handle(CDM_MessageDriver)& theMsgDriver)
-{
-  aDriverSeq->Append(new MDataStd_DirectoryRetrievalDriver(theMsgDriver)); 
-  aDriverSeq->Append(new MDataStd_IntegerArrayRetrievalDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_RealArrayRetrievalDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_UAttributeRetrievalDriver(theMsgDriver)); 
-  aDriverSeq->Append(new MDataStd_NameRetrievalDriver(theMsgDriver)); 
-  aDriverSeq->Append(new MDataStd_CommentRetrievalDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_IntegerRetrievalDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_RealRetrievalDriver(theMsgDriver));
-
-  aDriverSeq->Append(new MDataStd_VariableRetrievalDriver(theMsgDriver));  
-  aDriverSeq->Append(new MDataStd_ExpressionRetrievalDriver(theMsgDriver));  
-  aDriverSeq->Append(new MDataStd_RelationRetrievalDriver(theMsgDriver)); 
-  aDriverSeq->Append(new MDataStd_NoteBookRetrievalDriver(theMsgDriver));  
-  aDriverSeq->Append(new MDataStd_TreeNodeRetrievalDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_ExtStringArrayRetrievalDriver(theMsgDriver));
-
-  aDriverSeq->Append(new MDataStd_TickRetrievalDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_IntegerListRetrievalDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_RealListRetrievalDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_ExtStringListRetrievalDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_BooleanListRetrievalDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_ReferenceListRetrievalDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_BooleanArrayRetrievalDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_ReferenceArrayRetrievalDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_ByteArrayRetrievalDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_NamedDataRetrievalDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_AsciiStringRetrievalDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_IntPackedMapRetrievalDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_ByteArrayRetrievalDriver_1(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_IntegerArrayRetrievalDriver_1(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_RealArrayRetrievalDriver_1(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_ExtStringArrayRetrievalDriver_1(theMsgDriver));
-  aDriverSeq->Append(new MDataStd_IntPackedMapRetrievalDriver_1(theMsgDriver));
-}
-
-
-//=======================================================================
-//function : RealDimensionToInteger
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataStd::RealDimensionToInteger(const TDataStd_RealEnum e) 
-{
-  switch (e) {
-  case TDataStd_SCALAR  : return  0;
-  case TDataStd_LENGTH  : return  1;
-  case TDataStd_ANGULAR : return  2;
-    
-  default:
-    Standard_DomainError::Raise("TDataStd_RealEnum; enum term unknown");
-  }
-  return 0;
-}
-
-//=======================================================================
-//function : IntegerToRealDimension
-//purpose  : 
-//=======================================================================
-
-TDataStd_RealEnum MDataStd::IntegerToRealDimension(const Standard_Integer i) 
-{
-  switch(i)
-    {
-      // planar constraints
-    case  0 : return TDataStd_SCALAR;
-    case  1 : return TDataStd_LENGTH;
-    case  2 : return TDataStd_ANGULAR;
-      default :
-       Standard_DomainError::Raise("TDataStd_RealEnum; enum term unknown ");
-    }
-  return TDataStd_SCALAR;
-}
diff --git a/src/MDataStd/MDataStd_AsciiStringRetrievalDriver.cdl b/src/MDataStd/MDataStd_AsciiStringRetrievalDriver.cdl
deleted file mode 100644 (file)
index 7b32223..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
--- Created on: 2007-08-23
--- Created by: Sergey ZARITCHNY
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class AsciiStringRetrievalDriver from MDataStd inherits ARDriver from MDF
-
-       ---Purpose: Retrieval driver of AsciiString attribute
-
-uses
-    RRelocationTable from MDF,
-    Attribute        from PDF,
-    Attribute        from TDF, 
-    MessageDriver    from CDM 
-     
-is    
-    Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
-    returns AsciiStringRetrievalDriver from MDataStd;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: AsciiString from PDataStd.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-
-end AsciiStringRetrievalDriver;
diff --git a/src/MDataStd/MDataStd_AsciiStringRetrievalDriver.cxx b/src/MDataStd/MDataStd_AsciiStringRetrievalDriver.cxx
deleted file mode 100644 (file)
index 300cd34..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-// Created on: 2007-08-23
-// Created by: Sergey ZARITCHNY
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_AsciiStringRetrievalDriver.ixx>
-#include <PDataStd_AsciiString.hxx>
-#include <TDataStd_AsciiString.hxx>
-#include <TCollection_AsciiString.hxx>
-#include <PCollection_HAsciiString.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : MDataStd_AsciiStringRetrievalDriver
-//purpose  : Constructor
-//=======================================================================
-MDataStd_AsciiStringRetrievalDriver::MDataStd_AsciiStringRetrievalDriver
-  (const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-}
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MDataStd_AsciiStringRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MDataStd_AsciiStringRetrievalDriver::SourceType() const
-{ return STANDARD_TYPE(PDataStd_AsciiString); }
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(TDF_Attribute) MDataStd_AsciiStringRetrievalDriver::NewEmpty() const
-{ return new TDataStd_AsciiString (); }
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MDataStd_AsciiStringRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
-const Handle(TDF_Attribute)& Target,const Handle(MDF_RRelocationTable)& ) const
-{
-  Handle(PDataStd_AsciiString) S = Handle(PDataStd_AsciiString)::DownCast (Source);
-  Handle(TDataStd_AsciiString) T = Handle(TDataStd_AsciiString)::DownCast (Target);
-  if(!S.IsNull() && !T.IsNull()) {
-    if(!S->Get().IsNull()) {
-      TCollection_AsciiString aString((S->Get())->Convert ());
-      T->Set (aString);
-    }
-  }
-}
-
diff --git a/src/MDataStd/MDataStd_AsciiStringStorageDriver.cdl b/src/MDataStd/MDataStd_AsciiStringStorageDriver.cdl
deleted file mode 100644 (file)
index 2327140..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
--- Created on: 2007-08-22
--- Created by: Sergey ZARITCHNY
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class AsciiStringStorageDriver from MDataStd inherits ASDriver from MDF
-
-       ---Purpose: Storage driver for AsciiString attribute
-
-uses   
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF, 
-    MessageDriver    from CDM
-
-
-is
-    Create (theMessageDriver : MessageDriver from CDM)
-    returns AsciiStringStorageDriver from MDataStd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Integer from TDataStd.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-end AsciiStringStorageDriver;
diff --git a/src/MDataStd/MDataStd_AsciiStringStorageDriver.cxx b/src/MDataStd/MDataStd_AsciiStringStorageDriver.cxx
deleted file mode 100644 (file)
index d5bc7a2..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-// Created on: 2007-08-22
-// Created by: Sergey ZARITCHNY
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_AsciiStringStorageDriver.ixx>
-#include <PDataStd_AsciiString.hxx>
-#include <TDataStd_AsciiString.hxx>
-#include <TCollection_AsciiString.hxx>
-#include <PCollection_HAsciiString.hxx>
-#include <CDM_MessageDriver.hxx>
-//=======================================================================
-//function : MDataStd_AsciiStringStorageDriver
-//purpose  : Constructor
-//=======================================================================
-MDataStd_AsciiStringStorageDriver::MDataStd_AsciiStringStorageDriver
-  (const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MDataStd_AsciiStringStorageDriver::VersionNumber() const
-{ return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MDataStd_AsciiStringStorageDriver::SourceType() const
-{ return STANDARD_TYPE(TDataStd_AsciiString);}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(PDF_Attribute) MDataStd_AsciiStringStorageDriver::NewEmpty() const
-{ return new PDataStd_AsciiString; }
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MDataStd_AsciiStringStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
-  const Handle(PDF_Attribute)& Target,const Handle(MDF_SRelocationTable)& ) const
-{
-  Handle(TDataStd_AsciiString) S = Handle(TDataStd_AsciiString)::DownCast (Source);
-  Handle(PDataStd_AsciiString) T = Handle(PDataStd_AsciiString)::DownCast (Target);
-  if(!S.IsNull() && !T.IsNull()) {
-    if(S->Get().Length() != 0) {
-      Handle(PCollection_HAsciiString) aString = new PCollection_HAsciiString (S->Get());
-      T->Set (aString);
-    }
-  }
-}
diff --git a/src/MDataStd/MDataStd_BooleanArrayRetrievalDriver.cdl b/src/MDataStd/MDataStd_BooleanArrayRetrievalDriver.cdl
deleted file mode 100644 (file)
index d816c6d..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class BooleanArrayRetrievalDriver from MDataStd inherits ARDriver from MDF
-
-uses 
-
-    RRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF, 
-    MessageDriver    from CDM
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)
-    returns BooleanArrayRetrievalDriver from MDataStd;
-
-    VersionNumber(me) returns Integer from Standard;
-
-    SourceType(me) returns Type from Standard;
-
-    NewEmpty (me) returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-end BooleanArrayRetrievalDriver;
diff --git a/src/MDataStd/MDataStd_BooleanArrayRetrievalDriver.cxx b/src/MDataStd/MDataStd_BooleanArrayRetrievalDriver.cxx
deleted file mode 100644 (file)
index 1f03a7b..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_BooleanArrayRetrievalDriver.ixx>
-#include <PDataStd_BooleanArray.hxx>
-#include <TDataStd_BooleanArray.hxx>
-#include <MDataStd.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <TColStd_HArray1OfByte.hxx>
-#include <PColStd_HArray1OfInteger.hxx>
-
-//=======================================================================
-//function : MDataStd_BooleanArrayRetrievalDriver
-//purpose  : 
-//=======================================================================
-MDataStd_BooleanArrayRetrievalDriver::MDataStd_BooleanArrayRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MDataStd_BooleanArrayRetrievalDriver::VersionNumber() const
-{ 
-  return 0; 
-}
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MDataStd_BooleanArrayRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PDataStd_BooleanArray);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(TDF_Attribute) MDataStd_BooleanArrayRetrievalDriver::NewEmpty () const 
-{
-  return new TDataStd_BooleanArray();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MDataStd_BooleanArrayRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
-                                               const Handle(TDF_Attribute)& Target,
-                                               const Handle(MDF_RRelocationTable)& ) const
-{
-  Handle(PDataStd_BooleanArray) S = Handle(PDataStd_BooleanArray)::DownCast (Source);
-  Handle(TDataStd_BooleanArray) T = Handle(TDataStd_BooleanArray)::DownCast (Target);
-
-  if (S->Upper() >= S->Lower())
-  {
-    T->Init(S->Lower(), S->Upper());
-    const Handle(PColStd_HArray1OfInteger)& pvalues = S->Get();
-    Handle(TColStd_HArray1OfByte) tvalues = new TColStd_HArray1OfByte(pvalues->Lower(), pvalues->Upper());
-    Standard_Integer i = pvalues->Lower(), upper = pvalues->Upper();
-    for (; i <= upper; i++)
-    {
-      Standard_Byte pvalue = (Standard_Byte) pvalues->Value(i);
-      tvalues->SetValue(i, pvalue);
-    }
-    T->SetInternalArray(tvalues);
-  }
-}
diff --git a/src/MDataStd/MDataStd_BooleanArrayStorageDriver.cdl b/src/MDataStd/MDataStd_BooleanArrayStorageDriver.cdl
deleted file mode 100644 (file)
index 6d1a9b2..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class BooleanArrayStorageDriver from MDataStd inherits ASDriver from MDF
-
-uses 
-
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF, 
-    MessageDriver    from CDM
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)
-    returns BooleanArrayStorageDriver from MDataStd;
-
-    VersionNumber(me) 
-    returns Integer from Standard;
-
-    SourceType(me) 
-    returns Type from Standard;
-
-    NewEmpty (me) 
-    returns Attribute from PDF;
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-end BooleanArrayStorageDriver;
diff --git a/src/MDataStd/MDataStd_BooleanArrayStorageDriver.cxx b/src/MDataStd/MDataStd_BooleanArrayStorageDriver.cxx
deleted file mode 100644 (file)
index 6e5d5b2..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_BooleanArrayStorageDriver.ixx>
-#include <PDataStd_BooleanArray.hxx>
-#include <TDataStd_BooleanArray.hxx>
-#include <MDataStd.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <TColStd_HArray1OfByte.hxx>
-#include <PColStd_HArray1OfInteger.hxx>
-
-//=======================================================================
-//function : MDataStd_BooleanArrayStorageDriver
-//purpose  : 
-//=======================================================================
-MDataStd_BooleanArrayStorageDriver::MDataStd_BooleanArrayStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MDataStd_BooleanArrayStorageDriver::VersionNumber() const
-{ 
-  return 0;
-}
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MDataStd_BooleanArrayStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(TDataStd_BooleanArray);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(PDF_Attribute) MDataStd_BooleanArrayStorageDriver::NewEmpty() const 
-{
-  return new PDataStd_BooleanArray();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MDataStd_BooleanArrayStorageDriver::Paste(const Handle(TDF_Attribute)&  Source,
-                                              const Handle(PDF_Attribute)&   Target,
-                                              const Handle(MDF_SRelocationTable)& ) const
-{
-  Handle(TDataStd_BooleanArray) S = Handle(TDataStd_BooleanArray)::DownCast (Source);
-  Handle(PDataStd_BooleanArray) T = Handle(PDataStd_BooleanArray)::DownCast (Target);
-  
-  if (S->Upper() >= S->Lower())
-  {
-    T->SetLower(S->Lower());
-    T->SetUpper(S->Upper());
-    const Handle(TColStd_HArray1OfByte)& tvalues = S->InternalArray();
-    Handle(PColStd_HArray1OfInteger) pvalues = new PColStd_HArray1OfInteger(tvalues->Lower(), tvalues->Upper());
-    Standard_Integer i = tvalues->Lower(), upper = tvalues->Upper();
-    for (; i <= upper; i++)
-    {
-      pvalues->SetValue(i, tvalues->Value(i));
-    }
-    T->Set(pvalues);
-  }
-}
diff --git a/src/MDataStd/MDataStd_BooleanListRetrievalDriver.cdl b/src/MDataStd/MDataStd_BooleanListRetrievalDriver.cdl
deleted file mode 100644 (file)
index 919d01e..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class BooleanListRetrievalDriver from MDataStd inherits ARDriver from MDF
-
-uses 
-
-    RRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF, 
-    MessageDriver    from CDM
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)
-    returns BooleanListRetrievalDriver from MDataStd;
-
-    VersionNumber(me) returns Integer from Standard;
-
-    SourceType(me) returns Type from Standard;
-
-    NewEmpty (me) returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-end BooleanListRetrievalDriver;
diff --git a/src/MDataStd/MDataStd_BooleanListRetrievalDriver.cxx b/src/MDataStd/MDataStd_BooleanListRetrievalDriver.cxx
deleted file mode 100644 (file)
index 3a9f7df..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_BooleanListRetrievalDriver.ixx>
-#include <PDataStd_BooleanList.hxx>
-#include <TDataStd_BooleanList.hxx>
-#include <MDataStd.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : MDataStd_BooleanListRetrievalDriver
-//purpose  : 
-//=======================================================================
-MDataStd_BooleanListRetrievalDriver::MDataStd_BooleanListRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MDataStd_BooleanListRetrievalDriver::VersionNumber() const
-{ 
-  return 0; 
-}
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MDataStd_BooleanListRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PDataStd_BooleanList);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(TDF_Attribute) MDataStd_BooleanListRetrievalDriver::NewEmpty () const 
-{
-  return new TDataStd_BooleanList();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MDataStd_BooleanListRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
-                                               const Handle(TDF_Attribute)& Target,
-                                               const Handle(MDF_RRelocationTable)& ) const
-{
-  const Handle(PDataStd_BooleanList) S = Handle(PDataStd_BooleanList)::DownCast (Source);
-  const Handle(TDataStd_BooleanList) T = Handle(TDataStd_BooleanList)::DownCast (Target);
-  if(!S.IsNull()) {
-    Standard_Integer i, lower = S->Lower(), upper = S->Upper();
-     if(upper > 0)
-      for (i = lower; i <= upper; i++) {
-        T->Append(S->Value(i));
-     }
-  }
-}
diff --git a/src/MDataStd/MDataStd_BooleanListStorageDriver.cdl b/src/MDataStd/MDataStd_BooleanListStorageDriver.cdl
deleted file mode 100644 (file)
index 62f26a7..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class BooleanListStorageDriver from MDataStd inherits ASDriver from MDF
-
-uses 
-
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF, 
-    MessageDriver    from CDM
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)
-    returns BooleanListStorageDriver from MDataStd;
-
-    VersionNumber(me) 
-    returns Integer from Standard;
-
-    SourceType(me) 
-    returns Type from Standard;
-
-    NewEmpty (me) 
-    returns Attribute from PDF;
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-end BooleanListStorageDriver;
diff --git a/src/MDataStd/MDataStd_BooleanListStorageDriver.cxx b/src/MDataStd/MDataStd_BooleanListStorageDriver.cxx
deleted file mode 100644 (file)
index 63910a6..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_BooleanListStorageDriver.ixx>
-#include <PDataStd_BooleanList.hxx>
-#include <TDataStd_BooleanList.hxx>
-#include <MDataStd.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <TDataStd_ListIteratorOfListOfByte.hxx>
-
-//=======================================================================
-//function : MDataStd_BooleanListStorageDriver
-//purpose  : 
-//=======================================================================
-MDataStd_BooleanListStorageDriver::MDataStd_BooleanListStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MDataStd_BooleanListStorageDriver::VersionNumber() const
-{ 
-  return 0;
-}
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MDataStd_BooleanListStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(TDataStd_BooleanList);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(PDF_Attribute) MDataStd_BooleanListStorageDriver::NewEmpty() const 
-{
-  return new PDataStd_BooleanList();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MDataStd_BooleanListStorageDriver::Paste(const Handle(TDF_Attribute)&  Source,
-                                             const Handle(PDF_Attribute)&        Target,
-                                             const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
-{
-  const Handle(TDataStd_BooleanList) S = Handle(TDataStd_BooleanList)::DownCast (Source);
-  const Handle(PDataStd_BooleanList) T = Handle(PDataStd_BooleanList)::DownCast (Target);
-  
-  Standard_Integer lower(1), upper = S->Extent();
-  if(upper == 0) {
-    lower = 0;
-    T->Init(lower, upper);
-  }
-  else if (upper >= lower)
-  {
-    T->Init(lower, upper);
-    TDataStd_ListIteratorOfListOfByte itr(S->List());
-    for (Standard_Integer i = lower; itr.More(); itr.Next(), i++) {
-      T->SetValue(i, itr.Value());
-    }
-  }
-}
diff --git a/src/MDataStd/MDataStd_ByteArrayRetrievalDriver.cdl b/src/MDataStd/MDataStd_ByteArrayRetrievalDriver.cdl
deleted file mode 100644 (file)
index 55484fd..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ByteArrayRetrievalDriver from MDataStd inherits ARDriver from MDF
-
-uses 
-
-    RRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF, 
-    MessageDriver    from CDM
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)
-    returns ByteArrayRetrievalDriver from MDataStd;
-
-    VersionNumber(me) returns Integer from Standard;
-
-    SourceType(me) returns Type from Standard;
-
-    NewEmpty (me) returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-end ByteArrayRetrievalDriver;
diff --git a/src/MDataStd/MDataStd_ByteArrayRetrievalDriver.cxx b/src/MDataStd/MDataStd_ByteArrayRetrievalDriver.cxx
deleted file mode 100644 (file)
index 6d2a9c0..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_ByteArrayRetrievalDriver.ixx>
-#include <PDataStd_ByteArray.hxx>
-#include <TDataStd_ByteArray.hxx>
-#include <MDataStd.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <TColStd_HArray1OfByte.hxx>
-#include <PColStd_HArray1OfInteger.hxx>
-
-//=======================================================================
-//function : MDataStd_ByteArrayRetrievalDriver
-//purpose  : 
-//=======================================================================
-MDataStd_ByteArrayRetrievalDriver::MDataStd_ByteArrayRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MDataStd_ByteArrayRetrievalDriver::VersionNumber() const
-{ 
-  return 0; 
-}
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MDataStd_ByteArrayRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PDataStd_ByteArray);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(TDF_Attribute) MDataStd_ByteArrayRetrievalDriver::NewEmpty () const 
-{
-  return new TDataStd_ByteArray();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MDataStd_ByteArrayRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
-                                             const Handle(TDF_Attribute)& Target,
-                                             const Handle(MDF_RRelocationTable)& ) const
-{
-  Handle(PDataStd_ByteArray) S = Handle(PDataStd_ByteArray)::DownCast (Source);
-  Handle(TDataStd_ByteArray) T = Handle(TDataStd_ByteArray)::DownCast (Target);
-
-  if (!S->Get().IsNull())
-  {
-    const Handle(PColStd_HArray1OfInteger)& pvalues = S->Get();
-    Handle(TColStd_HArray1OfByte) tvalues = new TColStd_HArray1OfByte(pvalues->Lower(), pvalues->Upper());
-    Standard_Integer i = pvalues->Lower(), upper = pvalues->Upper();
-    for (; i <= upper; i++)
-    {
-      Standard_Byte pvalue = (Standard_Byte) pvalues->Value(i);
-      tvalues->SetValue(i, pvalue);
-    }
-    T->ChangeArray(tvalues, Standard_False);
-  }
-}
diff --git a/src/MDataStd/MDataStd_ByteArrayRetrievalDriver_1.cdl b/src/MDataStd/MDataStd_ByteArrayRetrievalDriver_1.cdl
deleted file mode 100644 (file)
index fcaa1e6..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
--- Created on: 2008-03-27
--- Created by: Sergey ZARITCHNY
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ByteArrayRetrievalDriver_1 from MDataStd inherits ARDriver from MDF
-
-       ---Purpose: Retrieval  driver of ByteArray attribute supporting 
-       --          delta mechanism by default
-
-uses
-    RRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF, 
-    MessageDriver    from CDM
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)
-    returns ByteArrayRetrievalDriver_1 from MDataStd;
-
-    VersionNumber(me) returns Integer from Standard;
-
-    SourceType(me) returns Type from Standard;
-
-    NewEmpty (me) returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-
-
-end ByteArrayRetrievalDriver_1;
diff --git a/src/MDataStd/MDataStd_ByteArrayRetrievalDriver_1.cxx b/src/MDataStd/MDataStd_ByteArrayRetrievalDriver_1.cxx
deleted file mode 100644 (file)
index cf7d955..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-// Created on: 2008-03-27
-// Created by: Sergey ZARITCHNY
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_ByteArrayRetrievalDriver_1.ixx>
-
-#include <PDataStd_ByteArray.hxx>
-#include <PDataStd_ByteArray_1.hxx>
-#include <TDataStd_ByteArray.hxx>
-#include <MDataStd.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <TColStd_HArray1OfByte.hxx>
-#include <PColStd_HArray1OfInteger.hxx>
-
-//=======================================================================
-//function : MDataStd_ByteArrayRetrievalDriver_1
-//purpose  : 
-//=======================================================================
-MDataStd_ByteArrayRetrievalDriver_1::MDataStd_ByteArrayRetrievalDriver_1(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MDataStd_ByteArrayRetrievalDriver_1::VersionNumber() const
-{ 
-  return 1; 
-}
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MDataStd_ByteArrayRetrievalDriver_1::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PDataStd_ByteArray_1);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(TDF_Attribute) MDataStd_ByteArrayRetrievalDriver_1::NewEmpty () const 
-{
-  return new TDataStd_ByteArray();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MDataStd_ByteArrayRetrievalDriver_1::Paste(const Handle(PDF_Attribute)& Source,
-                                             const Handle(TDF_Attribute)& Target,
-                                             const Handle(MDF_RRelocationTable)& ) const
-{
-  Handle(PDataStd_ByteArray_1) S = Handle(PDataStd_ByteArray_1)::DownCast (Source);
-  Handle(TDataStd_ByteArray) T = Handle(TDataStd_ByteArray)::DownCast (Target);
-
-  if (!S->Get().IsNull()) {
-    const Handle(PColStd_HArray1OfInteger)& pvalues = S->Get();
-    Handle(TColStd_HArray1OfByte) tvalues = 
-      new TColStd_HArray1OfByte(pvalues->Lower(), pvalues->Upper());
-    Standard_Integer i = pvalues->Lower(), upper = pvalues->Upper();
-    for (; i <= upper; i++) {
-      Standard_Byte pvalue = (Standard_Byte) pvalues->Value(i);
-      tvalues->SetValue(i, pvalue);
-    }
-    T->ChangeArray(tvalues, Standard_False);
-    T->SetDelta(S->GetDelta());
-  }
-}
diff --git a/src/MDataStd/MDataStd_ByteArrayStorageDriver.cdl b/src/MDataStd/MDataStd_ByteArrayStorageDriver.cdl
deleted file mode 100644 (file)
index d2057b5..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ByteArrayStorageDriver from MDataStd inherits ASDriver from MDF
-
-uses 
-
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF, 
-    MessageDriver    from CDM
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)
-    returns ByteArrayStorageDriver from MDataStd;
-
-    VersionNumber(me) 
-    returns Integer from Standard;
-
-    SourceType(me) 
-    returns Type from Standard;
-
-    NewEmpty (me) 
-    returns Attribute from PDF;
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-end ByteArrayStorageDriver;
diff --git a/src/MDataStd/MDataStd_ByteArrayStorageDriver.cxx b/src/MDataStd/MDataStd_ByteArrayStorageDriver.cxx
deleted file mode 100644 (file)
index 1cfc6d4..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_ByteArrayStorageDriver.ixx>
-#include <PDataStd_ByteArray.hxx>
-#include <PDataStd_ByteArray_1.hxx>
-#include <TDataStd_ByteArray.hxx>
-#include <MDataStd.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <TColStd_HArray1OfByte.hxx>
-#include <PColStd_HArray1OfInteger.hxx>
-
-//=======================================================================
-//function : MDataStd_ByteArrayStorageDriver
-//purpose  : 
-//=======================================================================
-MDataStd_ByteArrayStorageDriver::MDataStd_ByteArrayStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MDataStd_ByteArrayStorageDriver::VersionNumber() const
-{ 
-  return 0;
-}
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MDataStd_ByteArrayStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(TDataStd_ByteArray);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(PDF_Attribute) MDataStd_ByteArrayStorageDriver::NewEmpty() const 
-{
-  return new PDataStd_ByteArray_1();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MDataStd_ByteArrayStorageDriver::Paste(const Handle(TDF_Attribute)&  Source,
-                                           const Handle(PDF_Attribute)&   Target,
-                                           const Handle(MDF_SRelocationTable)& ) const
-{
-  Handle(TDataStd_ByteArray) S = Handle(TDataStd_ByteArray)::DownCast (Source);
-  Handle(PDataStd_ByteArray_1) T = Handle(PDataStd_ByteArray_1)::DownCast (Target);
-  
-  const Handle(TColStd_HArray1OfByte)& tvalues = S->InternalArray();
-  if (tvalues.IsNull())
-    return;
-  Handle(PColStd_HArray1OfInteger) pvalues = new PColStd_HArray1OfInteger(tvalues->Lower(), tvalues->Upper());
-  Standard_Integer i = tvalues->Lower(), upper = tvalues->Upper();
-  for (; i <= upper; i++)
-  {
-    pvalues->SetValue(i, tvalues->Value(i));
-  }
-  T->Set(pvalues);
-  T->SetDelta(S->GetDelta());
-}
diff --git a/src/MDataStd/MDataStd_CommentRetrievalDriver.cdl b/src/MDataStd/MDataStd_CommentRetrievalDriver.cdl
deleted file mode 100644 (file)
index 0b007a1..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
--- Created on: 1998-01-15
--- Created by: Denis PASCAL
--- Copyright (c) 1998-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class CommentRetrievalDriver from MDataStd  inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF, 
-     MessageDriver    from CDM
-
-is
-
-
-    Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
-    returns CommentRetrievalDriver from MDataStd;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Comment from PDataStd.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-end CommentRetrievalDriver;
diff --git a/src/MDataStd/MDataStd_CommentRetrievalDriver.cxx b/src/MDataStd/MDataStd_CommentRetrievalDriver.cxx
deleted file mode 100644 (file)
index b569d00..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-// Created on: 1998-01-15
-// Created by: Denis PASCAL
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_CommentRetrievalDriver.ixx>
-
-#include <PDataStd_Comment.hxx>
-#include <TDataStd_Comment.hxx>
-#include <TCollection_ExtendedString.hxx>
-#include <PCollection_HExtendedString.hxx>
-#include <CDM_MessageDriver.hxx>
-
-MDataStd_CommentRetrievalDriver::MDataStd_CommentRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-}
-
-Standard_Integer MDataStd_CommentRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-Handle(Standard_Type) MDataStd_CommentRetrievalDriver::SourceType() const
-{ return STANDARD_TYPE(PDataStd_Comment); }
-
-Handle(TDF_Attribute) MDataStd_CommentRetrievalDriver::NewEmpty() const
-{ return new TDataStd_Comment (); }
-
-//void MDataStd_CommentRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,const Handle(TDF_Attribute)& Target,const Handle(MDF_RRelocationTable)& RelocTable) const
-void MDataStd_CommentRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,const Handle(TDF_Attribute)& Target,const Handle(MDF_RRelocationTable)& ) const
-{
-  Handle(PDataStd_Comment) S = Handle(PDataStd_Comment)::DownCast (Source);
-  Handle(TDataStd_Comment) T = Handle(TDataStd_Comment)::DownCast (Target);
-  TCollection_ExtendedString Comment = (S->Get())->Convert ();
-  T->Set (Comment);
-}
-
diff --git a/src/MDataStd/MDataStd_CommentStorageDriver.cdl b/src/MDataStd/MDataStd_CommentStorageDriver.cdl
deleted file mode 100644 (file)
index fcd4aca..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
--- Created on: 1998-01-15
--- Created by: Denis PASCAL
--- Copyright (c) 1998-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class CommentStorageDriver from MDataStd inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM, 
-     MessageDriver    from CDM
-
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM) 
-    returns CommentStorageDriver from MDataStd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Integer from TDataStd.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end CommentStorageDriver;
-
diff --git a/src/MDataStd/MDataStd_CommentStorageDriver.cxx b/src/MDataStd/MDataStd_CommentStorageDriver.cxx
deleted file mode 100644 (file)
index d70e8dd..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-// Created on: 1998-01-15
-// Created by: Denis PASCAL
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_CommentStorageDriver.ixx>
-
-#include <PDataStd_Comment.hxx>
-#include <TDataStd_Comment.hxx>
-#include <TCollection_ExtendedString.hxx>
-#include <PCollection_HExtendedString.hxx>
-#include <CDM_MessageDriver.hxx>
-
-
-MDataStd_CommentStorageDriver::MDataStd_CommentStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-}
-
-Standard_Integer MDataStd_CommentStorageDriver::VersionNumber() const
-{ return 0; }
-
-Handle(Standard_Type) MDataStd_CommentStorageDriver::SourceType() const
-{ return STANDARD_TYPE(TDataStd_Comment);}
-
-Handle(PDF_Attribute) MDataStd_CommentStorageDriver::NewEmpty() const
-{ return new PDataStd_Comment; }
-
-//void MDataStd_CommentStorageDriver::Paste(const Handle(TDF_Attribute)& Source,const Handle(PDF_Attribute)& Target,const Handle(MDF_SRelocationTable)& RelocTable) const
-void MDataStd_CommentStorageDriver::Paste(const Handle(TDF_Attribute)& Source,const Handle(PDF_Attribute)& Target,const Handle(MDF_SRelocationTable)& ) const
-{
-  Handle(TDataStd_Comment) S = Handle(TDataStd_Comment)::DownCast (Source);
-  Handle(PDataStd_Comment) T = Handle(PDataStd_Comment)::DownCast (Target);
-  Handle(PCollection_HExtendedString) Comment = new PCollection_HExtendedString (S->Get());
-  T->Set (Comment);
-}
-
diff --git a/src/MDataStd/MDataStd_DirectoryRetrievalDriver.cdl b/src/MDataStd/MDataStd_DirectoryRetrievalDriver.cdl
deleted file mode 100644 (file)
index a1a060f..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
--- Created on: 1999-06-25
--- Created by: Sergey RUIN
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class DirectoryRetrievalDriver from MDataStd  inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF, 
-     MessageDriver    from CDM
-
-is
-
-
-    Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
-    returns DirectoryRetrievalDriver from MDataStd;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Directory from PDataStd.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-end DirectoryRetrievalDriver;
diff --git a/src/MDataStd/MDataStd_DirectoryRetrievalDriver.cxx b/src/MDataStd/MDataStd_DirectoryRetrievalDriver.cxx
deleted file mode 100644 (file)
index 65d31f7..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_DirectoryRetrievalDriver.ixx>
-#include <PDataStd_Directory.hxx>
-#include <TDataStd_Directory.hxx>
-#include <CDM_MessageDriver.hxx>
-
-MDataStd_DirectoryRetrievalDriver::MDataStd_DirectoryRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{}
-
-Standard_Integer MDataStd_DirectoryRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-Handle(Standard_Type) MDataStd_DirectoryRetrievalDriver::SourceType() const
-{ return STANDARD_TYPE(PDataStd_Directory); }
-
-Handle(TDF_Attribute) MDataStd_DirectoryRetrievalDriver::NewEmpty() const
-{ return new TDataStd_Directory; }
-
-void MDataStd_DirectoryRetrievalDriver::Paste(const Handle(PDF_Attribute)&,
-                                              const Handle(TDF_Attribute)& ,
-                                              const Handle(MDF_RRelocationTable)&) const
-{
-}
-
diff --git a/src/MDataStd/MDataStd_DirectoryStorageDriver.cdl b/src/MDataStd/MDataStd_DirectoryStorageDriver.cdl
deleted file mode 100644 (file)
index 701e967..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
--- Created on: 1999-06-25
--- Created by: Sergey RUIN
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class DirectoryStorageDriver from MDataStd inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-
-
-is
-
-    Create (theMessageDriver : MessageDriver from CDM) 
-    returns DirectoryStorageDriver from MDataStd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Integer from TDataStd.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end DirectoryStorageDriver;
-
diff --git a/src/MDataStd/MDataStd_DirectoryStorageDriver.cxx b/src/MDataStd/MDataStd_DirectoryStorageDriver.cxx
deleted file mode 100644 (file)
index 28ee676..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_DirectoryStorageDriver.ixx>
-#include <PDataStd_Directory.hxx>
-#include <TDataStd_Directory.hxx>
-#include <CDM_MessageDriver.hxx>
-
-MDataStd_DirectoryStorageDriver::MDataStd_DirectoryStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-}
-
-Standard_Integer MDataStd_DirectoryStorageDriver::VersionNumber() const
-{ return 0; }
-
-Handle(Standard_Type) MDataStd_DirectoryStorageDriver::SourceType() const
-{ return STANDARD_TYPE(TDataStd_Directory); }
-
-Handle(PDF_Attribute) MDataStd_DirectoryStorageDriver::NewEmpty() const
-{ return new PDataStd_Directory; }
-
-//void MDataStd_DirectoryStorageDriver::Paste(const Handle(TDF_Attribute)& Source,const Handle(PDF_Attribute)& Target,const Handle(MDF_SRelocationTable)& RelocTable) const
-void MDataStd_DirectoryStorageDriver::Paste(const Handle(TDF_Attribute)& ,const Handle(PDF_Attribute)& ,const Handle(MDF_SRelocationTable)& ) const
-{
-}
-
diff --git a/src/MDataStd/MDataStd_ExpressionRetrievalDriver.cdl b/src/MDataStd/MDataStd_ExpressionRetrievalDriver.cdl
deleted file mode 100644 (file)
index 117cebf..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
--- Created on: 1997-08-07
--- Created by: PASCAL Denis
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ExpressionRetrievalDriver from MDataStd  inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF, 
-     MessageDriver    from CDM
-
-is
-
-
-    Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
-    returns ExpressionRetrievalDriver from MDataStd;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Expression from PDataStd.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-end ExpressionRetrievalDriver;
diff --git a/src/MDataStd/MDataStd_ExpressionRetrievalDriver.cxx b/src/MDataStd/MDataStd_ExpressionRetrievalDriver.cxx
deleted file mode 100644 (file)
index 3e8efb5..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_ExpressionRetrievalDriver.ixx>
-#include <PDataStd_Expression.hxx>
-#include <TDataStd_Expression.hxx>
-#include <TCollection_ExtendedString.hxx>
-#include <PCollection_HExtendedString.hxx>
-#include <TDF_ListIteratorOfAttributeList.hxx> 
-#include <PDF_HAttributeArray1.hxx> 
-#include <Standard_NoSuchObject.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : MDataStd_ExpressionRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-MDataStd_ExpressionRetrievalDriver::MDataStd_ExpressionRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataStd_ExpressionRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataStd_ExpressionRetrievalDriver::SourceType() const
-{ return STANDARD_TYPE(PDataStd_Expression); }
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MDataStd_ExpressionRetrievalDriver::NewEmpty() const
-{ return new TDataStd_Expression (); }
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataStd_ExpressionRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,const Handle(TDF_Attribute)& Target,const Handle(MDF_RRelocationTable)& RelocTable) const
-{
-  Handle(PDataStd_Expression) S = Handle(PDataStd_Expression)::DownCast (Source);
-  Handle(TDataStd_Expression) T = Handle(TDataStd_Expression)::DownCast (Target);
-  TCollection_ExtendedString Expression = (S->GetName())->Convert ();
-  T->SetExpression (Expression);  
-  
-  Handle(PDF_Attribute) PV; 
-  Handle(TDF_Attribute) TV;
-
-  Handle(PDF_HAttributeArray1) PVARS = S->GetVariables ();
-  if (PVARS.IsNull()) return;
-  for (Standard_Integer i = 1; i <= PVARS->Length (); i++) {
-    PV = PVARS->Value (i);
-    if (!PV.IsNull ()) {
-      Handle(TDF_Attribute) TV;
-      if (!RelocTable->HasRelocation (PV, TV)) {
-       Standard_NoSuchObject::Raise("MDataStd_ConstraintRetrievalDriver::Paste");
-      }
-      T->GetVariables().Append(TV);
-    }
-  }
-}
diff --git a/src/MDataStd/MDataStd_ExpressionStorageDriver.cdl b/src/MDataStd/MDataStd_ExpressionStorageDriver.cdl
deleted file mode 100644 (file)
index 313e48e..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
--- Created on: 1997-08-07
--- Created by: PASCAL Denis
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ExpressionStorageDriver from MDataStd inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM) 
-    returns ExpressionStorageDriver from MDataStd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Integer from TDataStd.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me; Source     :         Attribute from TDF;
-             Target     : Attribute from PDF;
-             RelocTable : SRelocationTable from MDF);
-
-
-end ExpressionStorageDriver;
-
diff --git a/src/MDataStd/MDataStd_ExpressionStorageDriver.cxx b/src/MDataStd/MDataStd_ExpressionStorageDriver.cxx
deleted file mode 100644 (file)
index 515aa10..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_ExpressionStorageDriver.ixx>
-#include <PDataStd_Expression.hxx>
-#include <TDataStd_Expression.hxx>
-#include <TCollection_ExtendedString.hxx>
-#include <PCollection_HExtendedString.hxx>
-#include <TDF_ListIteratorOfAttributeList.hxx> 
-#include <PDF_HAttributeArray1.hxx> 
-#include <Standard_NoSuchObject.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : MDataStd_ExpressionStorageDriver
-//purpose  : 
-//=======================================================================
-
-MDataStd_ExpressionStorageDriver::MDataStd_ExpressionStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataStd_ExpressionStorageDriver::VersionNumber() const
-{ return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataStd_ExpressionStorageDriver::SourceType() const
-{ return STANDARD_TYPE(TDataStd_Expression);}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(PDF_Attribute) MDataStd_ExpressionStorageDriver::NewEmpty() const
-{ return new PDataStd_Expression; }
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataStd_ExpressionStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
-                                            const Handle(PDF_Attribute)& Target,
-                                            const Handle(MDF_SRelocationTable)& RelocTable) const
-{
-  Handle(TDataStd_Expression) S = Handle(TDataStd_Expression)::DownCast (Source);
-  Handle(PDataStd_Expression) T = Handle(PDataStd_Expression)::DownCast (Target);
-  Handle(PCollection_HExtendedString) Expression = new PCollection_HExtendedString (S->Name());
-  T->SetName (Expression);
-
-  Handle(TDF_Attribute) TV;   
-  Handle(PDF_Attribute) PV;
-  Standard_Integer nbvar = S->GetVariables().Extent();
-  if (nbvar <= 0) return;
-  Handle(PDF_HAttributeArray1) PVARS = new PDF_HAttributeArray1 (1, nbvar);
-  TDF_ListIteratorOfAttributeList it;
-  Standard_Integer index = 0;
-  for (it.Initialize(S->GetVariables());it.More();it.Next()) {
-    index++;
-    TV = it.Value(); 
-    if(!RelocTable->HasRelocation (TV, PV)) {
-      Standard_NoSuchObject::Raise("MDataStd_ExpressionStorageDriver::Paste");
-    }
-    PVARS->SetValue (index,PV);
-  }
-  T->SetVariables (PVARS);
-}
-
diff --git a/src/MDataStd/MDataStd_ExtStringArrayRetrievalDriver.cdl b/src/MDataStd/MDataStd_ExtStringArrayRetrievalDriver.cdl
deleted file mode 100644 (file)
index ea105d4..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
--- Created on: 2004-09-27
--- Created by: Pavel TELKOV
--- Copyright (c) 2004-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ExtStringArrayRetrievalDriver from MDataStd inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses RRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
-    returns ExtStringArrayRetrievalDriver from MDataStd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: ExtStringArray from PDataStd.
-
-    NewEmpty (me) returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-
-end ExtStringArrayRetrievalDriver;
diff --git a/src/MDataStd/MDataStd_ExtStringArrayRetrievalDriver.cxx b/src/MDataStd/MDataStd_ExtStringArrayRetrievalDriver.cxx
deleted file mode 100644 (file)
index 30a092d..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-// Created on: 2004-09-27
-// Created by: Pavel TELKOV
-// Copyright (c) 2004-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_ExtStringArrayRetrievalDriver.ixx>
-
-#include <CDM_MessageDriver.hxx>
-#include <MDataStd.hxx>
-#include <PCollection_HExtendedString.hxx>
-#include <PDataStd_ExtStringArray.hxx>
-#include <TDataStd_ExtStringArray.hxx>
-
-//=======================================================================
-//function : MDataStd_ExtStringArrayRetrievalDriver
-//purpose  : Constructor
-//=======================================================================
-
-MDataStd_ExtStringArrayRetrievalDriver::MDataStd_ExtStringArrayRetrievalDriver
-  ( const Handle(CDM_MessageDriver)& theMsgDriver )
- :MDF_ARDriver(theMsgDriver)
-{}
-
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataStd_ExtStringArrayRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataStd_ExtStringArrayRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PDataStd_ExtStringArray);
-  return sourceType;
-}
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MDataStd_ExtStringArrayRetrievalDriver::NewEmpty() const
-{
-  return new TDataStd_ExtStringArray ();
-}
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataStd_ExtStringArrayRetrievalDriver::Paste
-  ( const Handle(PDF_Attribute)& Source,
-    const Handle(TDF_Attribute)& Target,
-    const Handle(MDF_RRelocationTable)& ) const
-{
-  Handle(PDataStd_ExtStringArray) S = Handle(PDataStd_ExtStringArray)::DownCast (Source);
-  Handle(TDataStd_ExtStringArray) T = Handle(TDataStd_ExtStringArray)::DownCast (Target);
-
-  Standard_Integer i, lower = S->Lower() , upper = S->Upper();
-  T->Init(lower, upper);
-  
-  for(i = lower; i<=upper; i++)
-  {
-    Handle(PCollection_HExtendedString) aPExtStr = S->Value( i );
-    if ( !aPExtStr.IsNull() )
-    T->SetValue( i, aPExtStr->Convert() );
-  }
-}
-
diff --git a/src/MDataStd/MDataStd_ExtStringArrayRetrievalDriver_1.cdl b/src/MDataStd/MDataStd_ExtStringArrayRetrievalDriver_1.cdl
deleted file mode 100644 (file)
index b35ba96..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
--- Created on: 2008-03-28
--- Created by: Sergey ZARITCHNY
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ExtStringArrayRetrievalDriver_1 from MDataStd inherits ARDriver from MDF
-
-       ---Purpose: Retrieval  driver of ExtStringArray attribute supporting 
-       --          delta mechanism by default 
-
-uses
-    RRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)
-    returns ExtStringArrayRetrievalDriver_1 from MDataStd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 1.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: ExtStringArray from PDataStd.
-
-    NewEmpty (me) returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-end ExtStringArrayRetrievalDriver_1;
-
-
diff --git a/src/MDataStd/MDataStd_ExtStringArrayRetrievalDriver_1.cxx b/src/MDataStd/MDataStd_ExtStringArrayRetrievalDriver_1.cxx
deleted file mode 100644 (file)
index e378106..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-// Created on: 2008-03-28
-// Created by: Sergey ZARITCHNY
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_ExtStringArrayRetrievalDriver_1.ixx>
-#include <CDM_MessageDriver.hxx>
-#include <MDataStd.hxx>
-#include <PCollection_HExtendedString.hxx>
-#include <PDataStd_ExtStringArray.hxx>
-#include <PDataStd_ExtStringArray_1.hxx>
-#include <TDataStd_ExtStringArray.hxx>
-
-//=======================================================================
-//function : MDataStd_ExtStringArrayRetrievalDriver_1
-//purpose  : Constructor
-//=======================================================================
-
-MDataStd_ExtStringArrayRetrievalDriver_1::MDataStd_ExtStringArrayRetrievalDriver_1
-  ( const Handle(CDM_MessageDriver)& theMsgDriver )
- :MDF_ARDriver(theMsgDriver)
-{}
-
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataStd_ExtStringArrayRetrievalDriver_1::VersionNumber() const
-{ return 1; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataStd_ExtStringArrayRetrievalDriver_1::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PDataStd_ExtStringArray_1);
-  return sourceType;
-}
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MDataStd_ExtStringArrayRetrievalDriver_1::NewEmpty() const
-{
-  return new TDataStd_ExtStringArray ();
-}
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataStd_ExtStringArrayRetrievalDriver_1::Paste
-  ( const Handle(PDF_Attribute)& Source,
-    const Handle(TDF_Attribute)& Target,
-    const Handle(MDF_RRelocationTable)& ) const
-{
-  Handle(PDataStd_ExtStringArray_1) S = 
-    Handle(PDataStd_ExtStringArray_1)::DownCast (Source);
-  Handle(TDataStd_ExtStringArray)   T = 
-    Handle(TDataStd_ExtStringArray)::DownCast (Target);
-
-  Standard_Integer i, lower = S->Lower(), upper = S->Upper();
-  T->Init(lower, upper);
-  
-  for(i = lower; i<=upper; i++)
-  {
-    Handle(PCollection_HExtendedString) aPExtStr = S->Value( i );
-    if ( !aPExtStr.IsNull() )
-    T->SetValue( i, aPExtStr->Convert() );
-  }
-
-  T->SetDelta(S->GetDelta());
-}
-
diff --git a/src/MDataStd/MDataStd_ExtStringArrayStorageDriver.cdl b/src/MDataStd/MDataStd_ExtStringArrayStorageDriver.cdl
deleted file mode 100644 (file)
index 6aaa8fd..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
--- Created on: 2004-09-27
--- Created by: Pavel TELKOV
--- Copyright (c) 2004-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ExtStringArrayStorageDriver from MDataStd inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
-    returns ExtStringArrayStorageDriver from MDataStd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: ExtStringArray from TDataStd.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end ExtStringArrayStorageDriver;
diff --git a/src/MDataStd/MDataStd_ExtStringArrayStorageDriver.cxx b/src/MDataStd/MDataStd_ExtStringArrayStorageDriver.cxx
deleted file mode 100644 (file)
index a805aad..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-// Created on: 2004-09-27
-// Created by: Pavel TELKOV
-// Copyright (c) 2004-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_ExtStringArrayStorageDriver.ixx>
-
-#include <CDM_MessageDriver.hxx>
-#include <MDataStd.hxx>
-#include <PCollection_HExtendedString.hxx>
-#include <PDataStd_ExtStringArray.hxx>
-#include <PDataStd_ExtStringArray_1.hxx>
-#include <TDataStd_ExtStringArray.hxx>
-
-//=======================================================================
-//function : MDataStd_ExtStringArrayStorageDriver
-//purpose  : Constructor
-//=======================================================================
-
-MDataStd_ExtStringArrayStorageDriver::MDataStd_ExtStringArrayStorageDriver
-  ( const Handle(CDM_MessageDriver)& theMsgDriver )
- :MDF_ASDriver(theMsgDriver)
-{}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataStd_ExtStringArrayStorageDriver::VersionNumber() const
-{ return 0; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataStd_ExtStringArrayStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(TDataStd_ExtStringArray);
-  return sourceType;
-}
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(PDF_Attribute) MDataStd_ExtStringArrayStorageDriver::NewEmpty() const
-{
-  return new PDataStd_ExtStringArray_1 ();
-}
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataStd_ExtStringArrayStorageDriver::Paste ( 
-                             const Handle(TDF_Attribute)&  Source,
-                             const Handle(PDF_Attribute)&  Target,
-                             const Handle(MDF_SRelocationTable)& ) const
-{
-  Handle(TDataStd_ExtStringArray)   S = 
-    Handle(TDataStd_ExtStringArray)::DownCast (Source);
-  Handle(PDataStd_ExtStringArray_1) T = 
-    Handle(PDataStd_ExtStringArray_1)::DownCast (Target);
-  
-  Standard_Integer i, lower = S->Lower(), upper = S->Upper();
-  T->Init(lower, upper);
-  
-  for(i = lower; i<=upper; i++)
-  {
-    Handle(PCollection_HExtendedString) aPExtStr =
-      new PCollection_HExtendedString( S->Value( i ) );
-    T->SetValue( i, aPExtStr );
-  }
-  T->SetDelta(S->GetDelta());
-}
diff --git a/src/MDataStd/MDataStd_ExtStringListRetrievalDriver.cdl b/src/MDataStd/MDataStd_ExtStringListRetrievalDriver.cdl
deleted file mode 100644 (file)
index b194aeb..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ExtStringListRetrievalDriver from MDataStd inherits ARDriver from MDF
-
-uses 
-
-    RRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF, 
-    MessageDriver    from CDM
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)
-    returns ExtStringListRetrievalDriver from MDataStd;
-
-    VersionNumber(me) returns Integer from Standard;
-
-    SourceType(me) returns Type from Standard;
-
-    NewEmpty (me) returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-end ExtStringListRetrievalDriver;
-
diff --git a/src/MDataStd/MDataStd_ExtStringListRetrievalDriver.cxx b/src/MDataStd/MDataStd_ExtStringListRetrievalDriver.cxx
deleted file mode 100644 (file)
index 420601c..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_ExtStringListRetrievalDriver.ixx>
-#include <PDataStd_ExtStringList.hxx>
-#include <TDataStd_ExtStringList.hxx>
-#include <MDataStd.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <TCollection_ExtendedString.hxx>
-#include <PCollection_HExtendedString.hxx>
-
-//=======================================================================
-//function : MDataStd_ExtStringListRetrievalDriver
-//purpose  : 
-//=======================================================================
-MDataStd_ExtStringListRetrievalDriver::MDataStd_ExtStringListRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MDataStd_ExtStringListRetrievalDriver::VersionNumber() const
-{ 
-  return 0; 
-}
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MDataStd_ExtStringListRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PDataStd_ExtStringList);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(TDF_Attribute) MDataStd_ExtStringListRetrievalDriver::NewEmpty () const 
-{
-  return new TDataStd_ExtStringList();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MDataStd_ExtStringListRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
-                                            const Handle(TDF_Attribute)& Target,
-                                            const Handle(MDF_RRelocationTable)& ) const
-{
-  const Handle(PDataStd_ExtStringList) S = Handle(PDataStd_ExtStringList)::DownCast (Source);
-  const Handle(TDataStd_ExtStringList) T = Handle(TDataStd_ExtStringList)::DownCast (Target);
-  if(S.IsNull()) return;
-  Standard_Integer i, lower = S->Lower(), upper = S->Upper();
-  if(upper > 0)
-    for (i = lower; i <= upper; i++)
-    {
-      const Handle(PCollection_HExtendedString)& pvalue = S->Value(i);
-      TCollection_ExtendedString tvalue = pvalue->Convert();
-      T->Append(tvalue);
-    }
-}
diff --git a/src/MDataStd/MDataStd_ExtStringListStorageDriver.cdl b/src/MDataStd/MDataStd_ExtStringListStorageDriver.cdl
deleted file mode 100644 (file)
index 041d005..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ExtStringListStorageDriver from MDataStd inherits ASDriver from MDF
-
-uses 
-
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF, 
-    MessageDriver    from CDM
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)
-    returns ExtStringListStorageDriver from MDataStd;
-
-    VersionNumber(me) 
-    returns Integer from Standard;
-
-    SourceType(me) 
-    returns Type from Standard;
-
-    NewEmpty (me) 
-    returns Attribute from PDF;
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-end ExtStringListStorageDriver;
diff --git a/src/MDataStd/MDataStd_ExtStringListStorageDriver.cxx b/src/MDataStd/MDataStd_ExtStringListStorageDriver.cxx
deleted file mode 100644 (file)
index 982e3a3..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_ExtStringListStorageDriver.ixx>
-#include <PDataStd_ExtStringList.hxx>
-#include <TDataStd_ExtStringList.hxx>
-#include <MDataStd.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <TDataStd_ListIteratorOfListOfExtendedString.hxx>
-#include <TCollection_ExtendedString.hxx>
-#include <PCollection_HExtendedString.hxx>
-
-//=======================================================================
-//function : MDataStd_ExtStringListStorageDriver
-//purpose  : 
-//=======================================================================
-MDataStd_ExtStringListStorageDriver::MDataStd_ExtStringListStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MDataStd_ExtStringListStorageDriver::VersionNumber() const
-{ 
-  return 0;
-}
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MDataStd_ExtStringListStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(TDataStd_ExtStringList);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(PDF_Attribute) MDataStd_ExtStringListStorageDriver::NewEmpty() const 
-{
-  return new PDataStd_ExtStringList();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MDataStd_ExtStringListStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
-                                               const Handle(PDF_Attribute)& Target,
-                                               const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
-{
-  const Handle(TDataStd_ExtStringList) S = Handle(TDataStd_ExtStringList)::DownCast (Source);
-  const Handle(PDataStd_ExtStringList) T = Handle(PDataStd_ExtStringList)::DownCast (Target);
-  if(S.IsNull()) return;
-  Standard_Integer lower(1), upper = S->Extent();
-  if(upper == 0) {
-    lower = 0;
-    T->Init(lower, upper);
-  }
-  else if (upper >= lower)
-  {
-    T->Init(lower, upper);
-    TDataStd_ListIteratorOfListOfExtendedString itr(S->List());
-    for (Standard_Integer i = lower; itr.More(); itr.Next(), i++) 
-    {
-      const TCollection_ExtendedString& tvalue = itr.Value();
-      const Handle(PCollection_HExtendedString)& pvalue = new PCollection_HExtendedString(tvalue);
-      T->SetValue(i, pvalue);
-    }
-  }
-}
diff --git a/src/MDataStd/MDataStd_IntPackedMapRetrievalDriver.cdl b/src/MDataStd/MDataStd_IntPackedMapRetrievalDriver.cdl
deleted file mode 100644 (file)
index 0b5deb6..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
--- Created on: 2007-08-23
--- Created by: Sergey ZARITCHNY
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class IntPackedMapRetrievalDriver from MDataStd inherits ARDriver from MDF
-
-       ---Purpose: Retrieval driver of IntPackedMap attribute
-
-uses
-    RRelocationTable from MDF,
-    Attribute        from PDF,
-    Attribute        from TDF, 
-    MessageDriver    from CDM 
-
-is
-    Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
-    returns IntPackedMapRetrievalDriver from MDataStd;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: IntPackedMap from PDataStd.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-end IntPackedMapRetrievalDriver;
diff --git a/src/MDataStd/MDataStd_IntPackedMapRetrievalDriver.cxx b/src/MDataStd/MDataStd_IntPackedMapRetrievalDriver.cxx
deleted file mode 100644 (file)
index 12a4720..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-// Created on: 2007-08-27
-// Created by: Sergey ZARITCHNY
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_IntPackedMapRetrievalDriver.ixx>
-#include <PDataStd_IntPackedMap.hxx>
-#include <TDataStd_IntPackedMap.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <TColStd_HPackedMapOfInteger.hxx>
-#include <TCollection_ExtendedString.hxx>
-
-//=======================================================================
-//function : MDataStd_IntPackedMapRetrievalDriver
-//purpose  : Constructor
-//=======================================================================
-MDataStd_IntPackedMapRetrievalDriver::MDataStd_IntPackedMapRetrievalDriver
-  (const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-}
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MDataStd_IntPackedMapRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MDataStd_IntPackedMapRetrievalDriver::SourceType() const
-{ return STANDARD_TYPE(PDataStd_IntPackedMap); }
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(TDF_Attribute) MDataStd_IntPackedMapRetrievalDriver::NewEmpty() const
-{ return new TDataStd_IntPackedMap (); }
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MDataStd_IntPackedMapRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
-const Handle(TDF_Attribute)& Target,const Handle(MDF_RRelocationTable)& ) const
-{
-  Handle(PDataStd_IntPackedMap) aS = Handle(PDataStd_IntPackedMap)::DownCast (Source);
-  Handle(TDataStd_IntPackedMap) aT = Handle(TDataStd_IntPackedMap)::DownCast (Target);
-  if(!aS.IsNull() && !aT.IsNull()) {
-    if(!aS->IsEmpty()) {
-      Handle(TColStd_HPackedMapOfInteger) aHMap = new TColStd_HPackedMapOfInteger ();
-      Standard_Integer aKey;
-      for(Standard_Integer i = aS->Lower(); i<= aS->Upper() ; i++) {
-       aKey = aS->GetValue(i);
-       if(!aHMap->ChangeMap().Add( aKey )) {
-         WriteMessage(
-         TCollection_ExtendedString("error retrieving integer mamaber of the attribute TDataStd_IntPackedMap"));
-         return;
-       }
-      }
-      aT->ChangeMap(aHMap);
-    }
-  } else 
-    WriteMessage(TCollection_ExtendedString("error retrieving attribute TDataStd_IntPackedMap"));
-}
diff --git a/src/MDataStd/MDataStd_IntPackedMapRetrievalDriver_1.cdl b/src/MDataStd/MDataStd_IntPackedMapRetrievalDriver_1.cdl
deleted file mode 100644 (file)
index ffacc87..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
--- Created on: 2008-03-28
--- Created by: Sergey ZARITCHNY
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class IntPackedMapRetrievalDriver_1 from MDataStd inherits ARDriver from MDF
-
-       ---Purpose: Retrieval  driver of IntPackedMap attribute supporting 
-       --          delta mechanism by default
-
-uses
-    RRelocationTable from MDF,
-    Attribute        from PDF,
-    Attribute        from TDF, 
-    MessageDriver    from CDM 
-
-is
-    Create(theMessageDriver : MessageDriver from CDM)
-    returns IntPackedMapRetrievalDriver_1 from MDataStd;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 1.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: IntPackedMap_1 from PDataStd.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-
-
-end IntPackedMapRetrievalDriver_1;
diff --git a/src/MDataStd/MDataStd_IntPackedMapRetrievalDriver_1.cxx b/src/MDataStd/MDataStd_IntPackedMapRetrievalDriver_1.cxx
deleted file mode 100644 (file)
index 6d5a174..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-// Created on: 2008-03-28
-// Created by: Sergey ZARITCHNY
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_IntPackedMapRetrievalDriver_1.ixx>
-#include <PDataStd_IntPackedMap.hxx>
-#include <PDataStd_IntPackedMap_1.hxx>
-#include <TDataStd_IntPackedMap.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <TColStd_HPackedMapOfInteger.hxx>
-#include <TCollection_ExtendedString.hxx>
-
-//=======================================================================
-//function : MDataStd_IntPackedMapRetrievalDriver_1
-//purpose  : Constructor
-//=======================================================================
-MDataStd_IntPackedMapRetrievalDriver_1::MDataStd_IntPackedMapRetrievalDriver_1
-  (const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-}
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MDataStd_IntPackedMapRetrievalDriver_1::VersionNumber() const
-{ return 1; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MDataStd_IntPackedMapRetrievalDriver_1::SourceType() const
-{ return STANDARD_TYPE(PDataStd_IntPackedMap_1); }
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(TDF_Attribute) MDataStd_IntPackedMapRetrievalDriver_1::NewEmpty() const
-{ return new TDataStd_IntPackedMap (); }
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MDataStd_IntPackedMapRetrievalDriver_1::Paste(
-                             const Handle(PDF_Attribute)& Source,
-                             const Handle(TDF_Attribute)& Target,
-                             const Handle(MDF_RRelocationTable)& ) const
-{
-  Handle(PDataStd_IntPackedMap_1) aS = 
-    Handle(PDataStd_IntPackedMap_1)::DownCast (Source);
-  Handle(TDataStd_IntPackedMap) aT = 
-    Handle(TDataStd_IntPackedMap)::DownCast (Target);
-  if(!aS.IsNull() && !aT.IsNull()) {
-    if(!aS->IsEmpty()) {
-      Handle(TColStd_HPackedMapOfInteger) aHMap = new TColStd_HPackedMapOfInteger ();
-      Standard_Integer aKey;
-      for(Standard_Integer i = aS->Lower(); i<= aS->Upper() ; i++) {
-       aKey = aS->GetValue(i);
-       if(!aHMap->ChangeMap().Add( aKey )) {
-         WriteMessage(
-         TCollection_ExtendedString("error retrieving integer mamaber of the attribute TDataStd_IntPackedMap"));
-         return;
-       }
-      }
-      aT->ChangeMap(aHMap);
-    }
-    aT->SetDelta(aS->GetDelta()); 
-  } else 
-    WriteMessage(TCollection_ExtendedString("error retrieving attribute TDataStd_IntPackedMap"));
-}
diff --git a/src/MDataStd/MDataStd_IntPackedMapStorageDriver.cdl b/src/MDataStd/MDataStd_IntPackedMapStorageDriver.cdl
deleted file mode 100644 (file)
index a7d052d..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
--- Created on: 2007-08-23
--- Created by: Sergey ZARITCHNY
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class IntPackedMapStorageDriver from MDataStd inherits ASDriver from MDF
-
-       ---Purpose: Storage driver for IntPackedMap attribute
-
-uses
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF, 
-    MessageDriver    from CDM
-is
-
-    Create (theMessageDriver : MessageDriver from CDM)
-    returns IntPackedMapStorageDriver from MDataStd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Integer from TDataStd.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-end IntPackedMapStorageDriver;
diff --git a/src/MDataStd/MDataStd_IntPackedMapStorageDriver.cxx b/src/MDataStd/MDataStd_IntPackedMapStorageDriver.cxx
deleted file mode 100644 (file)
index b2a2033..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-// Created on: 2007-08-23
-// Created by: Sergey ZARITCHNY
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_IntPackedMapStorageDriver.ixx>
-#include <PDataStd_IntPackedMap.hxx>
-#include <PDataStd_IntPackedMap_1.hxx>
-#include <TDataStd_IntPackedMap.hxx>
-#include <PColStd_HArray1OfInteger.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <TColStd_MapIteratorOfPackedMapOfInteger.hxx>
-#include <TColStd_PackedMapOfInteger.hxx>
-#include <TCollection_ExtendedString.hxx>
-//=======================================================================
-//function : MDataStd_IntPackedMapStorageDriver
-//purpose  : Constructor
-//=======================================================================
-MDataStd_IntPackedMapStorageDriver::MDataStd_IntPackedMapStorageDriver
-  (const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MDataStd_IntPackedMapStorageDriver::VersionNumber() const
-{ return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MDataStd_IntPackedMapStorageDriver::SourceType() const
-{ return STANDARD_TYPE(TDataStd_IntPackedMap);}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(PDF_Attribute) MDataStd_IntPackedMapStorageDriver::NewEmpty() const
-{ return new PDataStd_IntPackedMap_1; }
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MDataStd_IntPackedMapStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
-  const Handle(PDF_Attribute)& Target,const Handle(MDF_SRelocationTable)& ) const
-{
-  Handle(TDataStd_IntPackedMap)   aS = 
-    Handle(TDataStd_IntPackedMap)::DownCast (Source);
-  Handle(PDataStd_IntPackedMap_1) aT = 
-    Handle(PDataStd_IntPackedMap_1)::DownCast (Target);
-  if(!aS.IsNull() && !aT.IsNull()) {
-    Standard_Integer aSize = (aS->IsEmpty()) ? 0 : aS->Extent();
-    if(aSize) {
-      aT->Init (1, aSize);
-      TColStd_MapIteratorOfPackedMapOfInteger anIt(aS->GetMap());
-      for(Standard_Integer i = 1;anIt.More();anIt.Next(),i++)
-       aT->SetValue(i, anIt.Key());
-    }
-    aT->SetDelta(aS->GetDelta());
-  } else 
-    WriteMessage(TCollection_ExtendedString ("error storing attribute TDataStd_IntPackedMap"));
-}
diff --git a/src/MDataStd/MDataStd_IntegerArrayRetrievalDriver.cdl b/src/MDataStd/MDataStd_IntegerArrayRetrievalDriver.cdl
deleted file mode 100644 (file)
index a82eb05..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
--- Created on: 1999-06-15
--- Created by: Sergey RUIN
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class IntegerArrayRetrievalDriver from MDataStd inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses RRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
-    returns IntegerArrayRetrievalDriver from MDataStd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: IntegerArray from PDataStd.
-
-    NewEmpty (me) returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-
-end IntegerArrayRetrievalDriver;
-
diff --git a/src/MDataStd/MDataStd_IntegerArrayRetrievalDriver.cxx b/src/MDataStd/MDataStd_IntegerArrayRetrievalDriver.cxx
deleted file mode 100644 (file)
index 01aa2e1..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-// Created on: 1999-06-15
-// Created by: Sergey RUIN
-// Copyright (c) 1999-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_IntegerArrayRetrievalDriver.ixx>
-#include <PDataStd_IntegerArray.hxx>
-#include <TDataStd_IntegerArray.hxx>
-#include <MDataStd.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : MDataStd_IntegerArrayRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-MDataStd_IntegerArrayRetrievalDriver::MDataStd_IntegerArrayRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{}
-
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataStd_IntegerArrayRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataStd_IntegerArrayRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PDataStd_IntegerArray);
-  return sourceType;
-}
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MDataStd_IntegerArrayRetrievalDriver::NewEmpty () const {
-
-  return new TDataStd_IntegerArray ();
-}
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataStd_IntegerArrayRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
-      const Handle(TDF_Attribute)& Target,
-//      const Handle(MDF_RRelocationTable)& RelocTable) const
-      const Handle(MDF_RRelocationTable)& ) const
-{
-  Handle(PDataStd_IntegerArray) S = Handle(PDataStd_IntegerArray)::DownCast (Source);
-  Handle(TDataStd_IntegerArray) T = Handle(TDataStd_IntegerArray)::DownCast (Target);
-
-  Standard_Integer i, lower = S->Lower() , upper = S->Upper();
-  T->Init(lower, upper);
-  
-  for(i = lower; i<=upper; i++) T->SetValue( i, S->Value(i) );
-}
-
diff --git a/src/MDataStd/MDataStd_IntegerArrayRetrievalDriver_1.cdl b/src/MDataStd/MDataStd_IntegerArrayRetrievalDriver_1.cdl
deleted file mode 100644 (file)
index 2f981e3..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
--- Created on: 2008-03-27
--- Created by: Sergey ZARITCHNY
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class IntegerArrayRetrievalDriver_1 from MDataStd inherits ARDriver from MDF
-
-       ---Purpose: Retrieval  driver of IntegerArray attribute supporting 
-       --          delta mechanism by default
-
-uses
-    RRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM) 
-    returns IntegerArrayRetrievalDriver_1 from MDataStd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 1.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: IntegerArray from PDataStd.
-
-    NewEmpty (me) returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-
-
-end IntegerArrayRetrievalDriver_1;
-
-
diff --git a/src/MDataStd/MDataStd_IntegerArrayRetrievalDriver_1.cxx b/src/MDataStd/MDataStd_IntegerArrayRetrievalDriver_1.cxx
deleted file mode 100644 (file)
index e7e7d37..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-// Created on: 2008-03-27
-// Created by: Sergey ZARITCHNY
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_IntegerArrayRetrievalDriver_1.ixx>
-#include <PDataStd_IntegerArray.hxx>
-#include <PDataStd_IntegerArray_1.hxx>
-#include <TDataStd_IntegerArray.hxx>
-#include <MDataStd.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : MDataStd_IntegerArrayRetrievalDriver_1
-//purpose  : 
-//=======================================================================
-
-MDataStd_IntegerArrayRetrievalDriver_1::MDataStd_IntegerArrayRetrievalDriver_1(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{}
-
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataStd_IntegerArrayRetrievalDriver_1::VersionNumber() const
-{ return 1; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataStd_IntegerArrayRetrievalDriver_1::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PDataStd_IntegerArray_1);
-  return sourceType;
-}
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MDataStd_IntegerArrayRetrievalDriver_1::NewEmpty () const {
-
-  return new TDataStd_IntegerArray ();
-}
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataStd_IntegerArrayRetrievalDriver_1::Paste(const Handle(PDF_Attribute)& Source,
-      const Handle(TDF_Attribute)& Target,
-      const Handle(MDF_RRelocationTable)& ) const
-{
-  Handle(PDataStd_IntegerArray_1) S = Handle(PDataStd_IntegerArray_1)::DownCast (Source);
-  Handle(TDataStd_IntegerArray) T = Handle(TDataStd_IntegerArray)::DownCast (Target);
-
-  Standard_Integer i, lower = S->Lower() , upper = S->Upper();
-  T->Init(lower, upper);
-  
-  for(i = lower; i<=upper; i++) T->SetValue( i, S->Value(i) );
-  T->SetDelta(S->GetDelta());
-}
-
diff --git a/src/MDataStd/MDataStd_IntegerArrayStorageDriver.cdl b/src/MDataStd/MDataStd_IntegerArrayStorageDriver.cdl
deleted file mode 100644 (file)
index 3d7dcfc..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
--- Created on: 1999-06-15
--- Created by: Sergey RUIN
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class IntegerArrayStorageDriver from MDataStd inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
-    returns IntegerArrayStorageDriver from MDataStd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: IntegerArray from TDataStd.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end IntegerArrayStorageDriver;
-
diff --git a/src/MDataStd/MDataStd_IntegerArrayStorageDriver.cxx b/src/MDataStd/MDataStd_IntegerArrayStorageDriver.cxx
deleted file mode 100644 (file)
index a60264e..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-// Created on: 1999-06-11
-// Created by: Sergey RUIN
-// Copyright (c) 1999-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_IntegerArrayStorageDriver.ixx>
-#include <PDataStd_IntegerArray.hxx>
-#include <PDataStd_IntegerArray_1.hxx>
-#include <TDataStd_IntegerArray.hxx>
-#include <MDataStd.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : MDataStd_IntegerArrayStorageDriver
-//purpose  : 
-//=======================================================================
-
-MDataStd_IntegerArrayStorageDriver::MDataStd_IntegerArrayStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{}
-
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataStd_IntegerArrayStorageDriver::VersionNumber() const
-{ return 0; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataStd_IntegerArrayStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(TDataStd_IntegerArray);
-  return sourceType;
-}
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(PDF_Attribute) MDataStd_IntegerArrayStorageDriver::NewEmpty () const {
-
-  return new PDataStd_IntegerArray_1 ();
-}
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataStd_IntegerArrayStorageDriver::Paste (
-  const Handle(TDF_Attribute)&  Source,
-  const Handle(PDF_Attribute)&        Target,
-  const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
-{
-  Handle(TDataStd_IntegerArray) S = Handle(TDataStd_IntegerArray)::DownCast (Source);
-  Handle(PDataStd_IntegerArray_1) T = Handle(PDataStd_IntegerArray_1)::DownCast (Target);
-  
-  Standard_Integer i, lower =S->Lower() ,upper = S->Upper() ;
-  T->Init(lower, upper);
-  
-  for(i = lower; i<=upper; i++) T->SetValue( i, S->Value(i) );  
-  T->SetDelta(S->GetDelta());
-}
-
diff --git a/src/MDataStd/MDataStd_IntegerListRetrievalDriver.cdl b/src/MDataStd/MDataStd_IntegerListRetrievalDriver.cdl
deleted file mode 100644 (file)
index 5cc67f5..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class IntegerListRetrievalDriver from MDataStd inherits ARDriver from MDF
-
-uses 
-
-    RRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF, 
-    MessageDriver    from CDM
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
-    returns IntegerListRetrievalDriver from MDataStd;
-
-    VersionNumber(me) returns Integer from Standard;
-
-    SourceType(me) returns Type from Standard;
-
-    NewEmpty (me) returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-end IntegerListRetrievalDriver;
-
diff --git a/src/MDataStd/MDataStd_IntegerListRetrievalDriver.cxx b/src/MDataStd/MDataStd_IntegerListRetrievalDriver.cxx
deleted file mode 100644 (file)
index d9b50b7..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_IntegerListRetrievalDriver.ixx>
-#include <PDataStd_IntegerList.hxx>
-#include <TDataStd_IntegerList.hxx>
-#include <MDataStd.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : MDataStd_IntegerListRetrievalDriver
-//purpose  : 
-//=======================================================================
-MDataStd_IntegerListRetrievalDriver::MDataStd_IntegerListRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MDataStd_IntegerListRetrievalDriver::VersionNumber() const
-{ 
-  return 0; 
-}
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MDataStd_IntegerListRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PDataStd_IntegerList);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(TDF_Attribute) MDataStd_IntegerListRetrievalDriver::NewEmpty () const 
-{
-  return new TDataStd_IntegerList();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MDataStd_IntegerListRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
-                                               const Handle(TDF_Attribute)& Target,
-                                               const Handle(MDF_RRelocationTable)& ) const
-{
-  const Handle(PDataStd_IntegerList) S = Handle(PDataStd_IntegerList)::DownCast (Source);
-  const Handle(TDataStd_IntegerList) T = Handle(TDataStd_IntegerList)::DownCast (Target);
-
-  Standard_Integer i, lower = S->Lower(), upper = S->Upper();
-  if(upper > 0)
-    for (i = lower; i <= upper; i++) {
-      T->Append(S->Value(i));
-    }
-}
diff --git a/src/MDataStd/MDataStd_IntegerListStorageDriver.cdl b/src/MDataStd/MDataStd_IntegerListStorageDriver.cdl
deleted file mode 100644 (file)
index b94a6b2..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class IntegerListStorageDriver from MDataStd inherits ASDriver from MDF
-
-uses 
-
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF, 
-    MessageDriver    from CDM
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)
-    returns IntegerListStorageDriver from MDataStd;
-
-    VersionNumber(me) 
-    returns Integer from Standard;
-
-    SourceType(me) 
-    returns Type from Standard;
-
-    NewEmpty (me) 
-    returns Attribute from PDF;
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-end IntegerListStorageDriver;
diff --git a/src/MDataStd/MDataStd_IntegerListStorageDriver.cxx b/src/MDataStd/MDataStd_IntegerListStorageDriver.cxx
deleted file mode 100644 (file)
index 578f5d3..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_IntegerListStorageDriver.ixx>
-#include <PDataStd_IntegerList.hxx>
-#include <TDataStd_IntegerList.hxx>
-#include <MDataStd.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <TColStd_ListIteratorOfListOfInteger.hxx>
-
-//=======================================================================
-//function : MDataStd_IntegerListStorageDriver
-//purpose  : 
-//=======================================================================
-MDataStd_IntegerListStorageDriver::MDataStd_IntegerListStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MDataStd_IntegerListStorageDriver::VersionNumber() const
-{ 
-  return 0;
-}
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MDataStd_IntegerListStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(TDataStd_IntegerList);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(PDF_Attribute) MDataStd_IntegerListStorageDriver::NewEmpty() const 
-{
-  return new PDataStd_IntegerList();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MDataStd_IntegerListStorageDriver::Paste(const Handle(TDF_Attribute)&  Source,
-                                             const Handle(PDF_Attribute)&        Target,
-                                             const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
-{
-  const Handle(TDataStd_IntegerList) S = Handle(TDataStd_IntegerList)::DownCast (Source);
-  const Handle(PDataStd_IntegerList) T = Handle(PDataStd_IntegerList)::DownCast (Target);
-  
-  Standard_Integer lower(1), upper = S->Extent(), i = lower;
-  if(upper == 0) {
-    lower = 0;
-    T->Init(lower, upper);
-  }
-  else if (upper >= lower)
-  {
-    T->Init(lower, upper);
-    TColStd_ListIteratorOfListOfInteger itr(S->List());
-    for (; itr.More(); itr.Next(), i++) {
-      T->SetValue(i, itr.Value());
-    }
-  }
-}
diff --git a/src/MDataStd/MDataStd_IntegerRetrievalDriver.cdl b/src/MDataStd/MDataStd_IntegerRetrievalDriver.cdl
deleted file mode 100644 (file)
index 92b1499..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
--- Created on: 1997-04-09
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class IntegerRetrievalDriver from MDataStd inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses
-    RRelocationTable from MDF,
-    Attribute        from PDF,
-    Attribute        from TDF, 
-    MessageDriver    from CDM
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM) -- Version 0
-    returns IntegerRetrievalDriver from MDataStd;
-    
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Integer from PDataStd.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-end IntegerRetrievalDriver;
-
diff --git a/src/MDataStd/MDataStd_IntegerRetrievalDriver.cxx b/src/MDataStd/MDataStd_IntegerRetrievalDriver.cxx
deleted file mode 100644 (file)
index 66ea93d..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-// Created on: 1997-04-10
-// Created by: VAUTHIER Jean-Claude
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_IntegerRetrievalDriver.ixx>
-#include <TDataStd_Integer.hxx>
-#include <PDataStd_Integer.hxx>
-#include <TDF_Label.hxx>
-#include <PCollection_HAsciiString.hxx>
-#include <CDM_MessageDriver.hxx>
-
-
-
-//=======================================================================
-//function : MDataStd_IntegerRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-MDataStd_IntegerRetrievalDriver::MDataStd_IntegerRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{}
-
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataStd_IntegerRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataStd_IntegerRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PDataStd_Integer);
-  return sourceType;
-}
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MDataStd_IntegerRetrievalDriver::NewEmpty () const {
-
-  return new TDataStd_Integer ();
-}
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataStd_IntegerRetrievalDriver::Paste (
-  const Handle(PDF_Attribute)&        Source,
-  const Handle(TDF_Attribute)&        Target,
-//  const Handle(MDF_RRelocationTable)&       RelocTable) const
-  const Handle(MDF_RRelocationTable)&       ) const
-{
-  Handle(PDataStd_Integer) S = Handle(PDataStd_Integer)::DownCast (Source);
-  Handle(TDataStd_Integer) T = Handle(TDataStd_Integer)::DownCast (Target);
-  T->Set (S->Get ());
-}
-
diff --git a/src/MDataStd/MDataStd_IntegerStorageDriver.cdl b/src/MDataStd/MDataStd_IntegerStorageDriver.cdl
deleted file mode 100644 (file)
index db516d7..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
--- Created on: 1997-04-09
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class IntegerStorageDriver from MDataStd inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-
-is
-
-
-    Create (theMessageDriver : MessageDriver from CDM) -- Version 0
-    returns IntegerStorageDriver from MDataStd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Integer from TDataStd.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end IntegerStorageDriver;
diff --git a/src/MDataStd/MDataStd_IntegerStorageDriver.cxx b/src/MDataStd/MDataStd_IntegerStorageDriver.cxx
deleted file mode 100644 (file)
index 9dfcfe3..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-// Created on: 1997-04-10
-// Created by: VAUTHIER Jean-Claude
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_IntegerStorageDriver.ixx>
-#include <TDataStd_Integer.hxx>
-#include <PDataStd_Integer.hxx>
-#include <CDM_MessageDriver.hxx>
-
-
-
-//=======================================================================
-//function : MDataStd_IntegerStorageDriver
-//purpose  : 
-//=======================================================================
-
-MDataStd_IntegerStorageDriver::MDataStd_IntegerStorageDriver (const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{}
-
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataStd_IntegerStorageDriver::VersionNumber() const
-{ return 0; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataStd_IntegerStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(TDataStd_Integer);
-  return sourceType;
-}
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(PDF_Attribute) MDataStd_IntegerStorageDriver::NewEmpty () const {
-
-  return new PDataStd_Integer ();
-}
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataStd_IntegerStorageDriver::Paste (
-  const Handle(TDF_Attribute)&  Source,
-  const Handle(PDF_Attribute)&  Target,
-//  const Handle(MDF_SRelocationTable)& RelocTable) const
-  const Handle(MDF_SRelocationTable)& ) const
-{
-  Handle(TDataStd_Integer) S = Handle(TDataStd_Integer)::DownCast (Source);
-  Handle(PDataStd_Integer) T = Handle(PDataStd_Integer)::DownCast (Target);
-  T->Set (S->Get ());
-}
-
-
-
-
diff --git a/src/MDataStd/MDataStd_NameRetrievalDriver.cdl b/src/MDataStd/MDataStd_NameRetrievalDriver.cdl
deleted file mode 100644 (file)
index e97acc6..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
--- Created on: 1997-08-07
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class NameRetrievalDriver from MDataStd  inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF, 
-     MessageDriver    from CDM
-is
-
-
-    Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
-    returns NameRetrievalDriver from MDataStd;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Name from PDataStd.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-end NameRetrievalDriver;
diff --git a/src/MDataStd/MDataStd_NameRetrievalDriver.cxx b/src/MDataStd/MDataStd_NameRetrievalDriver.cxx
deleted file mode 100644 (file)
index fee59d4..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_NameRetrievalDriver.ixx>
-#include <PDataStd_Name.hxx>
-#include <TDataStd_Name.hxx>
-#include <TCollection_ExtendedString.hxx>
-#include <PCollection_HExtendedString.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <CDM_MessageDriver.hxx>
-
-MDataStd_NameRetrievalDriver::MDataStd_NameRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-}
-
-Standard_Integer MDataStd_NameRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-Handle(Standard_Type) MDataStd_NameRetrievalDriver::SourceType() const
-{ return STANDARD_TYPE(PDataStd_Name); }
-
-Handle(TDF_Attribute) MDataStd_NameRetrievalDriver::NewEmpty() const
-{ return new TDataStd_Name (); }
-
-
-#include <TCollection_AsciiString.hxx>
-#include <TDF_Tool.hxx>
-#include <TDF_Label.hxx>
-
-void MDataStd_NameRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,const Handle(TDF_Attribute)& Target,const Handle(MDF_RRelocationTable)& ) const
-{
-  Handle(PDataStd_Name) S = Handle(PDataStd_Name)::DownCast (Source);
-  Handle(TDataStd_Name) T = Handle(TDataStd_Name)::DownCast (Target);
-  if(!S->Get().IsNull()) {
-    TCollection_ExtendedString Name = (S->Get())->Convert ();
-    T->Set (Name);
-  }
-}
-
diff --git a/src/MDataStd/MDataStd_NameStorageDriver.cdl b/src/MDataStd/MDataStd_NameStorageDriver.cdl
deleted file mode 100644 (file)
index d191bb2..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
--- Created on: 1997-08-07
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class NameStorageDriver from MDataStd inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-
-
-is
-
-    Create (theMessageDriver : MessageDriver from CDM)
-    returns NameStorageDriver from MDataStd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Integer from TDataStd.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end NameStorageDriver;
-
diff --git a/src/MDataStd/MDataStd_NameStorageDriver.cxx b/src/MDataStd/MDataStd_NameStorageDriver.cxx
deleted file mode 100644 (file)
index 546a4a4..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_NameStorageDriver.ixx>
-#include <PDataStd_Name.hxx>
-#include <TDataStd_Name.hxx>
-#include <TCollection_ExtendedString.hxx>
-#include <PCollection_HExtendedString.hxx>
-#include <CDM_MessageDriver.hxx>
-
-MDataStd_NameStorageDriver::MDataStd_NameStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-}
-
-Standard_Integer MDataStd_NameStorageDriver::VersionNumber() const
-{ return 0; }
-
-Handle(Standard_Type) MDataStd_NameStorageDriver::SourceType() const
-{ return STANDARD_TYPE(TDataStd_Name);}
-
-Handle(PDF_Attribute) MDataStd_NameStorageDriver::NewEmpty() const
-{ return new PDataStd_Name; }
-
-void MDataStd_NameStorageDriver::Paste(const Handle(TDF_Attribute)& Source,const Handle(PDF_Attribute)& Target,const Handle(MDF_SRelocationTable)& ) const
-{
-  Handle(TDataStd_Name) S = Handle(TDataStd_Name)::DownCast (Source);
-  Handle(PDataStd_Name) T = Handle(PDataStd_Name)::DownCast (Target);
-  if(S->Get().Length() != 0) {
-    Handle(PCollection_HExtendedString) Name = new PCollection_HExtendedString (S->Get());
-    T->Set (Name);
-  }
-}
-
diff --git a/src/MDataStd/MDataStd_NamedDataRetrievalDriver.cdl b/src/MDataStd/MDataStd_NamedDataRetrievalDriver.cdl
deleted file mode 100644 (file)
index 2197f4d..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
--- Created on: 2007-06-27
--- Created by: Sergey ZARITCHNY
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class NamedDataRetrievalDriver from MDataStd inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses
-    RRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF, 
-    MessageDriver    from CDM
-
-is
-    Create(theMessageDriver : MessageDriver from CDM)
-    returns NamedDataRetrievalDriver from MDataStd;
-
-    VersionNumber(me) returns Integer from Standard;
-
-    SourceType(me) returns Type from Standard;
-
-    NewEmpty (me) returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-end NamedDataRetrievalDriver;
diff --git a/src/MDataStd/MDataStd_NamedDataRetrievalDriver.cxx b/src/MDataStd/MDataStd_NamedDataRetrievalDriver.cxx
deleted file mode 100644 (file)
index 5e9df3f..0000000
+++ /dev/null
@@ -1,161 +0,0 @@
-// Created on: 2007-06-27
-// Created by: Sergey ZARITCHNY
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_NamedDataRetrievalDriver.ixx>
-#include <PDataStd_NamedData.hxx>
-#include <TDataStd_NamedData.hxx>
-#include <MDataStd.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <PCollection_HExtendedString.hxx>
-#include <TColStd_DataMapOfStringInteger.hxx>
-#include <TDataStd_DataMapOfStringReal.hxx>
-#include <TDataStd_DataMapOfStringByte.hxx>
-#include <TDataStd_DataMapOfStringString.hxx>
-#include <TDataStd_DataMapOfStringHArray1OfInteger.hxx>
-#include <TDataStd_DataMapOfStringHArray1OfReal.hxx>
-#include <TColStd_HArray1OfInteger.hxx>
-#include <TColStd_HArray1OfReal.hxx>
-#include <PColStd_HArray1OfInteger.hxx>
-#include <PColStd_HArray1OfReal.hxx>
-
-//=======================================================================
-//function : MDataStd_NamedDataRetrievalDriver
-//purpose  : 
-//=======================================================================
-MDataStd_NamedDataRetrievalDriver::MDataStd_NamedDataRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MDataStd_NamedDataRetrievalDriver::VersionNumber() const
-{ 
-  return 0; 
-}
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MDataStd_NamedDataRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PDataStd_NamedData);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(TDF_Attribute) MDataStd_NamedDataRetrievalDriver::NewEmpty () const 
-{
-  return new TDataStd_NamedData();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MDataStd_NamedDataRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
-                                                  const Handle(TDF_Attribute)& Target,
-                                                  const Handle(MDF_RRelocationTable)& ) const
-{
-  Handle(PDataStd_NamedData) S = Handle(PDataStd_NamedData)::DownCast (Source);
-  Handle(TDataStd_NamedData) T = Handle(TDataStd_NamedData)::DownCast (Target);
-  if(S.IsNull() || T.IsNull()) return;
-  Standard_Integer i;
-#ifdef OCCT_DEBUG
-  cout << "Start: " <<S->LowerI() << " " <<S->UpperI()<<"\t"<<S->LowerR() << " " <<S->UpperR();
-  cout << "\t"<<S->LowerS() << " " <<S->UpperS()<< "\t"<<S->LowerB() << " " <<S->UpperB();
-  cout << "\t"<<S->LowerAI() << " " <<S->UpperAI()<<"\t"<<S->LowerAR() << " " <<S->UpperAR()<<endl;
-#endif
-  if(S->HasIntegers()) {
-    TColStd_DataMapOfStringInteger aMap;
-    for(i=S->LowerI();i<=S->UpperI();i++) {
-      Handle(PCollection_HExtendedString) aPKey;
-      Standard_Integer aValue = S->IntDataItemValue(i, aPKey);
-      const TCollection_ExtendedString& aKey = aPKey->Convert();
-      aMap.Bind(aKey, aValue);
-    }
-    T->ChangeIntegers(aMap);
-    }
-
-  if(S->HasReals()) {
-    TDataStd_DataMapOfStringReal aMap;
-    for(i=S->LowerR();i<=S->UpperR();i++) {
-      Handle(PCollection_HExtendedString) aPKey;
-      Standard_Real aValue = S->RealDataItemValue(i, aPKey);
-      const TCollection_ExtendedString& aKey = aPKey->Convert();
-      aMap.Bind(aKey, aValue);
-    }
-    T->ChangeReals(aMap);
-  }
-  if(S->HasStrings()) {
-    TDataStd_DataMapOfStringString aMap;
-    for(i=S->LowerS();i<=S->UpperS();i++) {
-      Handle(PCollection_HExtendedString) aPKey;
-      const Handle(PCollection_HExtendedString)& aPValue = S->StrDataItemValue(i, aPKey);
-      const TCollection_ExtendedString& aKey = aPKey->Convert();
-      const TCollection_ExtendedString& aValue = aPValue->Convert();
-      aMap.Bind(aKey, aValue);
-    }
-    T->ChangeStrings(aMap);
-  }
-  if(S->HasBytes()) {
-    TDataStd_DataMapOfStringByte aMap;
-    for(i=S->LowerB();i<=S->UpperB();i++) {
-      Handle(PCollection_HExtendedString) aPKey;
-      Standard_Byte aValue = S->ByteDataItemValue(i, aPKey);
-      const TCollection_ExtendedString& aKey = aPKey->Convert();
-      aMap.Bind(aKey, aValue);
-    }
-    T->ChangeBytes(aMap);
-  }
-  if(S->HasArraysOfIntegers()) {
-    TDataStd_DataMapOfStringHArray1OfInteger aMap;
-    for(i=S->LowerAI();i<=S->UpperAI();i++) {
-      Handle(PCollection_HExtendedString) aPKey;
-      Handle(PColStd_HArray1OfInteger) aPValue = S->ArrIntDataItemValue(i, aPKey);
-      const TCollection_ExtendedString& aKey = aPKey->Convert();
-      Handle(TColStd_HArray1OfInteger) anAr;
-      if (aPValue.IsNull()) continue;
-      Standard_Integer lower = aPValue->Lower(), upper = aPValue->Upper();
-      anAr = new TColStd_HArray1OfInteger(lower, upper);
-      for (Standard_Integer j = lower; j <= upper; j++)
-       anAr->SetValue(j, aPValue->Value(j));
-      aMap.Bind(aKey, anAr);
-    }
-    T->ChangeArraysOfIntegers(aMap);
-  }
-  if(S->HasArraysOfReals()) {
-    TDataStd_DataMapOfStringHArray1OfReal aMap;
-    for(i=S->LowerAR();i<=S->UpperAR();i++) {
-      Handle(PCollection_HExtendedString) aPKey;
-      Handle(PColStd_HArray1OfReal) aPValue = S->ArrRealDataItemValue(i, aPKey);
-      const TCollection_ExtendedString& aKey = aPKey->Convert();
-      Handle(TColStd_HArray1OfReal) anAr;
-      if (aPValue.IsNull()) continue;
-      Standard_Integer lower = aPValue->Lower(), upper = aPValue->Upper();
-      anAr = new TColStd_HArray1OfReal(lower, upper);
-      for (Standard_Integer j = lower; j <= upper; j++)
-       anAr->SetValue(j, aPValue->Value(j));
-      aMap.Bind(aKey, anAr);
-    }
-    T->ChangeArraysOfReals(aMap);
-  }
-}
diff --git a/src/MDataStd/MDataStd_NamedDataStorageDriver.cdl b/src/MDataStd/MDataStd_NamedDataStorageDriver.cdl
deleted file mode 100644 (file)
index 06a5aee..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
--- Created on: 2007-06-27
--- Created by: Sergey ZARITCHNY
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class NamedDataStorageDriver from MDataStd inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF, 
-    MessageDriver    from CDM
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)
-    returns NamedDataStorageDriver from MDataStd;
-
-    VersionNumber(me) 
-    returns Integer from Standard;
-
-    SourceType(me) 
-    returns Type from Standard;
-
-    NewEmpty (me) 
-    returns Attribute from PDF;
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-end NamedDataStorageDriver;
diff --git a/src/MDataStd/MDataStd_NamedDataStorageDriver.cxx b/src/MDataStd/MDataStd_NamedDataStorageDriver.cxx
deleted file mode 100644 (file)
index 881fff8..0000000
+++ /dev/null
@@ -1,180 +0,0 @@
-// Created on: 2007-06-27
-// Created by: Sergey ZARITCHNY
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_NamedDataStorageDriver.ixx>
-#include <CDM_MessageDriver.hxx>
-#include <PCollection_HExtendedString.hxx>
-#include <TColStd_HArray2OfInteger.hxx>
-#include <TColStd_HArray1OfReal.hxx>
-#include <TColStd_HArray1OfInteger.hxx>
-#include <PColStd_HArray1OfReal.hxx>
-#include <PColStd_HArray1OfInteger.hxx>
-#include <PDataStd_NamedData.hxx>
-#include <TDataStd_NamedData.hxx>
-#include <TColStd_DataMapOfStringInteger.hxx>
-#include <TDataStd_DataMapOfStringReal.hxx>
-#include <TDataStd_DataMapOfStringString.hxx>
-#include <TDataStd_DataMapOfStringByte.hxx>
-#include <TDataStd_DataMapOfStringHArray1OfInteger.hxx>
-#include <TDataStd_DataMapOfStringHArray1OfReal.hxx>
-#include <TColStd_DataMapIteratorOfDataMapOfStringInteger.hxx>
-#include <TDataStd_DataMapIteratorOfDataMapOfStringReal.hxx>
-#include <TDataStd_DataMapIteratorOfDataMapOfStringString.hxx>
-#include <TDataStd_DataMapIteratorOfDataMapOfStringByte.hxx>
-#include <TDataStd_DataMapIteratorOfDataMapOfStringHArray1OfInteger.hxx>
-#include <TDataStd_DataMapIteratorOfDataMapOfStringHArray1OfReal.hxx>
-
-#define ROW_NUMBER 6
-
-//=======================================================================
-//function : MDataStd_NamedDataStorageDriver
-//purpose  : 
-//=======================================================================
-MDataStd_NamedDataStorageDriver::MDataStd_NamedDataStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MDataStd_NamedDataStorageDriver::VersionNumber() const
-{ 
-  return 0;
-}
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MDataStd_NamedDataStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(TDataStd_NamedData);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(PDF_Attribute) MDataStd_NamedDataStorageDriver::NewEmpty() const 
-{
-  return new PDataStd_NamedData();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MDataStd_NamedDataStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
-                                           const Handle(PDF_Attribute)& Target,
-                                           const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
-{
-  Handle(TDataStd_NamedData) S = Handle(TDataStd_NamedData)::DownCast (Source);
-  Handle(PDataStd_NamedData) T = Handle(PDataStd_NamedData)::DownCast (Target);
-  
-  if(S.IsNull() || T.IsNull()) return;
-  Standard_Integer i=1;
-  Handle(TColStd_HArray2OfInteger) aDim = new TColStd_HArray2OfInteger(1,ROW_NUMBER, 1, 2, 0);
-  if(S->HasIntegers() && !S->GetIntegersContainer().IsEmpty()) {
-    aDim->SetValue (i,1,1);
-    aDim->SetValue (i,2,S->GetIntegersContainer().Extent());    
-  }
-  i++;
-  if(S->HasReals() && !S->GetRealsContainer().IsEmpty()) {
-    aDim->SetValue (i,1,1);
-    aDim->SetValue (i,2,S->GetRealsContainer().Extent());
-  }
-  i++;
-  if(S->HasStrings() && !S->GetStringsContainer().IsEmpty()) {
-    aDim->SetValue (i,1,1);
-    aDim->SetValue (i,2,S->GetStringsContainer().Extent());    
-  }
-  i++;
-  if(S->HasBytes() && !S->GetBytesContainer().IsEmpty()) {
-    aDim->SetValue (i,1,1);
-    aDim->SetValue (i,2,S->GetBytesContainer().Extent());    
-  }
-  i++;
-  if(S->HasArraysOfIntegers() && !S->GetArraysOfIntegersContainer().IsEmpty()) {
-    aDim->SetValue (i,1,1);
-    aDim->SetValue (i,2,S->GetArraysOfIntegersContainer().Extent());    
-  }
-  i++;
-  if(S->HasArraysOfReals() && !S->GetArraysOfRealsContainer().IsEmpty()) {
-    aDim->SetValue (i,1,1);
-    aDim->SetValue (i,2,S->GetArraysOfRealsContainer().Extent());
-  }
-
-  T->Init(aDim);
-
-  if(S->HasIntegers() && !S->GetIntegersContainer().IsEmpty()) {
-    TColStd_DataMapIteratorOfDataMapOfStringInteger itr(S->GetIntegersContainer());
-    for (i=1; itr.More(); itr.Next(),i++) {
-      Handle(PCollection_HExtendedString) aKey = new PCollection_HExtendedString(itr.Key());
-      T->SetIntDataItem (i, aKey, itr.Value());
-    }
-  }
-  if(S->HasReals() && !S->GetRealsContainer().IsEmpty()) {
-    TDataStd_DataMapIteratorOfDataMapOfStringReal itr(S->GetRealsContainer());
-    for (i=1; itr.More(); itr.Next(),i++) {
-      Handle(PCollection_HExtendedString) aKey = new PCollection_HExtendedString(itr.Key());
-      T->SetRealDataItem (i, aKey, itr.Value());
-    }
-  }
-  if(S->HasStrings() && !S->GetStringsContainer().IsEmpty()) {
-    TDataStd_DataMapIteratorOfDataMapOfStringString itr(S->GetStringsContainer());
-    for (i=1; itr.More(); itr.Next(),i++) {
-      Handle(PCollection_HExtendedString) aKey   = new PCollection_HExtendedString(itr.Key());
-      Handle(PCollection_HExtendedString) aValue = new PCollection_HExtendedString(itr.Value());
-      T->SetStrDataItem (i, aKey, aValue);
-    }
-  }
-  if(S->HasBytes() && !S->GetBytesContainer().IsEmpty()) {
-    TDataStd_DataMapIteratorOfDataMapOfStringByte itr(S->GetBytesContainer());
-    for (i=1; itr.More(); itr.Next(),i++) {
-      Handle(PCollection_HExtendedString) aKey = new PCollection_HExtendedString(itr.Key());
-      T->SetByteDataItem (i, aKey, itr.Value());
-    }
-  }
-  if(S->HasArraysOfIntegers() && !S->GetArraysOfIntegersContainer().IsEmpty()) {
-    TDataStd_DataMapIteratorOfDataMapOfStringHArray1OfInteger itr(S->GetArraysOfIntegersContainer());
-    for (i=1; itr.More(); itr.Next(),i++) {
-      Handle(PCollection_HExtendedString) aKey = new PCollection_HExtendedString(itr.Key());
-      const Handle(TColStd_HArray1OfInteger)& anArr1 = itr.Value();
-      Handle(PColStd_HArray1OfInteger) anArr2 = 
-       new PColStd_HArray1OfInteger(anArr1->Lower(), anArr1->Upper());
-      for(Standard_Integer j= anArr1->Lower(); j<=anArr1->Upper();j++) {
-       anArr2->SetValue(j, anArr1->Value(j));
-      }
-      T->SetArrIntDataItem (i, aKey, anArr2);
-    }
-  }
-  if(S->HasArraysOfReals() && !S->GetArraysOfRealsContainer().IsEmpty()) {
-    TDataStd_DataMapIteratorOfDataMapOfStringHArray1OfReal itr(S->GetArraysOfRealsContainer());
-    for (i=1; itr.More(); itr.Next(),i++) {
-      Handle(PCollection_HExtendedString) aKey = new PCollection_HExtendedString(itr.Key());
-      const Handle(TColStd_HArray1OfReal)& anArr1 = itr.Value();
-      Handle(PColStd_HArray1OfReal) anArr2 = 
-       new PColStd_HArray1OfReal(anArr1->Lower(), anArr1->Upper());
-      for(Standard_Integer j= anArr1->Lower(); j<=anArr1->Upper();j++) {
-       anArr2->SetValue(j, anArr1->Value(j));
-      }
-      T->SetArrRealDataItem (i, aKey, anArr2);
-    }
-  }
-}
-
diff --git a/src/MDataStd/MDataStd_NoteBookRetrievalDriver.cdl b/src/MDataStd/MDataStd_NoteBookRetrievalDriver.cdl
deleted file mode 100644 (file)
index c3bcd37..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
--- Created on: 1997-08-07
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class NoteBookRetrievalDriver from MDataStd  inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF, 
-     MessageDriver    from CDM
-
-is
-
-
-    Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
-    returns NoteBookRetrievalDriver from MDataStd;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: NoteBook from PDataStd.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-end NoteBookRetrievalDriver;
diff --git a/src/MDataStd/MDataStd_NoteBookRetrievalDriver.cxx b/src/MDataStd/MDataStd_NoteBookRetrievalDriver.cxx
deleted file mode 100644 (file)
index 93f7c60..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_NoteBookRetrievalDriver.ixx>
-#include <PDataStd_NoteBook.hxx>
-#include <TDataStd_NoteBook.hxx>
-#include <CDM_MessageDriver.hxx>
-
-MDataStd_NoteBookRetrievalDriver::MDataStd_NoteBookRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-}
-
-Standard_Integer MDataStd_NoteBookRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-Handle(Standard_Type) MDataStd_NoteBookRetrievalDriver::SourceType() const
-{ return STANDARD_TYPE(PDataStd_NoteBook); }
-
-Handle(TDF_Attribute) MDataStd_NoteBookRetrievalDriver::NewEmpty() const
-{ return new TDataStd_NoteBook; }
-
-//void MDataStd_NoteBookRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,const Handle(TDF_Attribute)& Target,const Handle(MDF_RRelocationTable)& RelocTable) const
-void MDataStd_NoteBookRetrievalDriver::Paste(const Handle(PDF_Attribute)& ,const Handle(TDF_Attribute)& ,const Handle(MDF_RRelocationTable)& ) const
-{
-}
-
diff --git a/src/MDataStd/MDataStd_NoteBookStorageDriver.cdl b/src/MDataStd/MDataStd_NoteBookStorageDriver.cdl
deleted file mode 100644 (file)
index 2f08a99..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
--- Created on: 1997-08-07
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class NoteBookStorageDriver from MDataStd inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-
-
-is
-
-    Create (theMessageDriver : MessageDriver from CDM) 
-    returns NoteBookStorageDriver from MDataStd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Integer from TDataStd.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end NoteBookStorageDriver;
-
diff --git a/src/MDataStd/MDataStd_NoteBookStorageDriver.cxx b/src/MDataStd/MDataStd_NoteBookStorageDriver.cxx
deleted file mode 100644 (file)
index 5f9f77b..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_NoteBookStorageDriver.ixx>
-#include <PDataStd_NoteBook.hxx>
-#include <TDataStd_NoteBook.hxx>
-#include <CDM_MessageDriver.hxx>
-
-MDataStd_NoteBookStorageDriver::MDataStd_NoteBookStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-}
-
-Standard_Integer MDataStd_NoteBookStorageDriver::VersionNumber() const
-{ return 0; }
-
-Handle(Standard_Type) MDataStd_NoteBookStorageDriver::SourceType() const
-{ return STANDARD_TYPE (TDataStd_NoteBook); }
-
-Handle(PDF_Attribute) MDataStd_NoteBookStorageDriver::NewEmpty() const
-{ return new PDataStd_NoteBook(); }
-
-//void MDataStd_NoteBookStorageDriver::Paste(const Handle(TDF_Attribute)& Source,const Handle(PDF_Attribute)& Target,const Handle(MDF_SRelocationTable)& RelocTable) const
-void MDataStd_NoteBookStorageDriver::Paste(const Handle(TDF_Attribute)& ,const Handle(PDF_Attribute)& ,const Handle(MDF_SRelocationTable)& ) const
-{
-}
-
diff --git a/src/MDataStd/MDataStd_RealArrayRetrievalDriver.cdl b/src/MDataStd/MDataStd_RealArrayRetrievalDriver.cdl
deleted file mode 100644 (file)
index a0e5c46..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
--- Created on: 1999-06-15
--- Created by: Sergey RUIN
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class RealArrayRetrievalDriver from MDataStd inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses RRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
-    returns RealArrayRetrievalDriver from MDataStd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: RealArray from PDataStd.
-
-    NewEmpty (me) returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-
-end RealArrayRetrievalDriver;
-
diff --git a/src/MDataStd/MDataStd_RealArrayRetrievalDriver.cxx b/src/MDataStd/MDataStd_RealArrayRetrievalDriver.cxx
deleted file mode 100644 (file)
index c103e00..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-// Created on: 1999-06-15
-// Created by: Sergey RUIN
-// Copyright (c) 1999-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_RealArrayRetrievalDriver.ixx>
-#include <PDataStd_RealArray.hxx>
-#include <TDataStd_RealArray.hxx>
-#include <MDataStd.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : MDataStd_RealArrayRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-MDataStd_RealArrayRetrievalDriver::MDataStd_RealArrayRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{}
-
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataStd_RealArrayRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataStd_RealArrayRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PDataStd_RealArray);
-  return sourceType;
-}
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MDataStd_RealArrayRetrievalDriver::NewEmpty () const {
-
-  return new TDataStd_RealArray ();
-}
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataStd_RealArrayRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
-      const Handle(TDF_Attribute)& Target,
-//      const Handle(MDF_RRelocationTable)& RelocTable) const
-      const Handle(MDF_RRelocationTable)& ) const
-{
-  Handle(PDataStd_RealArray) S = Handle(PDataStd_RealArray)::DownCast (Source);
-  Handle(TDataStd_RealArray) T = Handle(TDataStd_RealArray)::DownCast (Target);
-
-  Standard_Integer i, lower = S->Lower() , upper = S->Upper();
-  T->Init(lower, upper);
-  
-  for(i = lower; i<=upper; i++) T->SetValue( i, S->Value(i) );
-}
-
diff --git a/src/MDataStd/MDataStd_RealArrayRetrievalDriver_1.cdl b/src/MDataStd/MDataStd_RealArrayRetrievalDriver_1.cdl
deleted file mode 100644 (file)
index 2a56b11..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
--- Created on: 2008-03-28
--- Created by: Sergey ZARITCHNY
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class RealArrayRetrievalDriver_1 from MDataStd inherits ARDriver from MDF
-
-       ---Purpose: Retrieval  driver of RealArray attribute supporting 
-       --          delta mechanism by default
-
-uses
-    RRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)  
-    returns RealArrayRetrievalDriver_1 from MDataStd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 1.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: RealArray from PDataStd.
-
-    NewEmpty (me) returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-
-end RealArrayRetrievalDriver_1;
-
-
diff --git a/src/MDataStd/MDataStd_RealArrayRetrievalDriver_1.cxx b/src/MDataStd/MDataStd_RealArrayRetrievalDriver_1.cxx
deleted file mode 100644 (file)
index 9bfbd08..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-// Created on: 2008-03-28
-// Created by: Sergey ZARITCHNY
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_RealArrayRetrievalDriver_1.ixx>
-
-#include <PDataStd_RealArray.hxx>
-#include <PDataStd_RealArray_1.hxx>
-#include <TDataStd_RealArray.hxx>
-#include <MDataStd.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : MDataStd_RealArrayRetrievalDriver_1
-//purpose  : 
-//=======================================================================
-
-MDataStd_RealArrayRetrievalDriver_1::MDataStd_RealArrayRetrievalDriver_1
-  (const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{}
-
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataStd_RealArrayRetrievalDriver_1::VersionNumber() const
-{ return 1; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataStd_RealArrayRetrievalDriver_1::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PDataStd_RealArray_1);
-  return sourceType;
-}
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MDataStd_RealArrayRetrievalDriver_1::NewEmpty () const {
-
-  return new TDataStd_RealArray ();
-}
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataStd_RealArrayRetrievalDriver_1::Paste(const Handle(PDF_Attribute)& Source,
-      const Handle(TDF_Attribute)& Target,
-      const Handle(MDF_RRelocationTable)& ) const
-{
-  Handle(PDataStd_RealArray_1) S = Handle(PDataStd_RealArray_1)::DownCast (Source);
-  Handle(TDataStd_RealArray)   T = Handle(TDataStd_RealArray)::DownCast (Target);
-
-  Standard_Integer i, lower = S->Lower() , upper = S->Upper();
-  T->Init(lower, upper);
-  
-  for(i = lower; i<=upper; i++) T->SetValue( i, S->Value(i) );
-  T->SetDelta(S->GetDelta());
-}
-
diff --git a/src/MDataStd/MDataStd_RealArrayStorageDriver.cdl b/src/MDataStd/MDataStd_RealArrayStorageDriver.cdl
deleted file mode 100644 (file)
index b2f0a2a..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
--- Created on: 1999-06-15
--- Created by: Sergey RUIN
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class RealArrayStorageDriver from MDataStd inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
-    returns RealArrayStorageDriver from MDataStd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: RealArray from TDataStd.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end RealArrayStorageDriver;
-
diff --git a/src/MDataStd/MDataStd_RealArrayStorageDriver.cxx b/src/MDataStd/MDataStd_RealArrayStorageDriver.cxx
deleted file mode 100644 (file)
index bb7f322..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-// Created on: 1999-06-11
-// Created by: Sergey RUIN
-// Copyright (c) 1999-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_RealArrayStorageDriver.ixx>
-#include <PDataStd_RealArray.hxx>
-#include <PDataStd_RealArray_1.hxx>
-#include <TDataStd_RealArray.hxx>
-#include <MDataStd.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : MDataStd_RealArrayStorageDriver
-//purpose  : 
-//=======================================================================
-
-MDataStd_RealArrayStorageDriver::MDataStd_RealArrayStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{}
-
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataStd_RealArrayStorageDriver::VersionNumber() const
-{ return 0; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataStd_RealArrayStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(TDataStd_RealArray);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(PDF_Attribute) MDataStd_RealArrayStorageDriver::NewEmpty () const {
-
-  return new PDataStd_RealArray_1 ();
-}
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataStd_RealArrayStorageDriver::Paste (
-                           const Handle(TDF_Attribute)&  Source,
-                           const Handle(PDF_Attribute)&  Target,
-                           const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
-{
-  Handle(TDataStd_RealArray) S   = Handle(TDataStd_RealArray)::DownCast (Source);
-  Handle(PDataStd_RealArray_1) T = Handle(PDataStd_RealArray_1)::DownCast (Target);
-  
-  Standard_Integer i, lower = S->Lower(), upper = S->Upper() ;
-  T->Init(lower, upper);
-  
-  for(i = lower; i<=upper; i++) T->SetValue( i, S->Value(i) );  
-  T->SetDelta(S->GetDelta());
-}
-
diff --git a/src/MDataStd/MDataStd_RealListRetrievalDriver.cdl b/src/MDataStd/MDataStd_RealListRetrievalDriver.cdl
deleted file mode 100644 (file)
index 60d34b6..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class RealListRetrievalDriver from MDataStd inherits ARDriver from MDF
-
-uses 
-
-    RRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF, 
-    MessageDriver    from CDM
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)
-    returns RealListRetrievalDriver from MDataStd;
-
-    VersionNumber(me) returns Integer from Standard;
-
-    SourceType(me) returns Type from Standard;
-
-    NewEmpty (me) returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-end RealListRetrievalDriver;
-
diff --git a/src/MDataStd/MDataStd_RealListRetrievalDriver.cxx b/src/MDataStd/MDataStd_RealListRetrievalDriver.cxx
deleted file mode 100644 (file)
index e222cb0..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_RealListRetrievalDriver.ixx>
-#include <PDataStd_RealList.hxx>
-#include <TDataStd_RealList.hxx>
-#include <MDataStd.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : MDataStd_RealListRetrievalDriver
-//purpose  : 
-//=======================================================================
-MDataStd_RealListRetrievalDriver::MDataStd_RealListRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MDataStd_RealListRetrievalDriver::VersionNumber() const
-{ 
-  return 0; 
-}
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MDataStd_RealListRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PDataStd_RealList);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(TDF_Attribute) MDataStd_RealListRetrievalDriver::NewEmpty () const 
-{
-  return new TDataStd_RealList();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MDataStd_RealListRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
-                                            const Handle(TDF_Attribute)& Target,
-                                            const Handle(MDF_RRelocationTable)& ) const
-{
-  const Handle(PDataStd_RealList) S = Handle(PDataStd_RealList)::DownCast (Source);
-  const Handle(TDataStd_RealList) T = Handle(TDataStd_RealList)::DownCast (Target);
-  if(!S.IsNull()) {
-    Standard_Integer i, lower = S->Lower(), upper = S->Upper();
-    if(upper > 0)
-      for (i = lower; i <= upper; i++) {
-        T->Append(S->Value(i));
-      }
-  }
-}
diff --git a/src/MDataStd/MDataStd_RealListStorageDriver.cdl b/src/MDataStd/MDataStd_RealListStorageDriver.cdl
deleted file mode 100644 (file)
index 883642f..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class RealListStorageDriver from MDataStd inherits ASDriver from MDF
-
-uses 
-
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF, 
-    MessageDriver    from CDM
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)
-    returns RealListStorageDriver from MDataStd;
-
-    VersionNumber(me) 
-    returns Integer from Standard;
-
-    SourceType(me) 
-    returns Type from Standard;
-
-    NewEmpty (me) 
-    returns Attribute from PDF;
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-end RealListStorageDriver;
diff --git a/src/MDataStd/MDataStd_RealListStorageDriver.cxx b/src/MDataStd/MDataStd_RealListStorageDriver.cxx
deleted file mode 100644 (file)
index 0dc94bf..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_RealListStorageDriver.ixx>
-#include <PDataStd_RealList.hxx>
-#include <TDataStd_RealList.hxx>
-#include <MDataStd.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <TColStd_ListIteratorOfListOfReal.hxx>
-
-//=======================================================================
-//function : MDataStd_RealListStorageDriver
-//purpose  : 
-//=======================================================================
-MDataStd_RealListStorageDriver::MDataStd_RealListStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MDataStd_RealListStorageDriver::VersionNumber() const
-{ 
-  return 0;
-}
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MDataStd_RealListStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(TDataStd_RealList);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(PDF_Attribute) MDataStd_RealListStorageDriver::NewEmpty() const 
-{
-  return new PDataStd_RealList();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MDataStd_RealListStorageDriver::Paste(const Handle(TDF_Attribute)&  Source,
-                                          const Handle(PDF_Attribute)&        Target,
-                                          const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
-{
-  const Handle(TDataStd_RealList) S = Handle(TDataStd_RealList)::DownCast (Source);
-  const Handle(PDataStd_RealList) T = Handle(PDataStd_RealList)::DownCast (Target);
-  
-  Standard_Integer lower(1), upper = S->Extent();
-  if(upper == 0) {
-    lower = 0;
-    T->Init(lower, upper);
-  }
-  else if (upper >= lower)
-  {
-    T->Init(lower, upper);
-    TColStd_ListIteratorOfListOfReal itr(S->List());
-    for (Standard_Integer i = lower; itr.More(); itr.Next(), i++) {
-      T->SetValue(i, itr.Value());
-    }
-  }
-}
diff --git a/src/MDataStd/MDataStd_RealRetrievalDriver.cdl b/src/MDataStd/MDataStd_RealRetrievalDriver.cdl
deleted file mode 100644 (file)
index 832ddf7..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
--- Created on: 1997-04-09
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class RealRetrievalDriver from MDataStd  inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF, 
-     MessageDriver    from CDM
-
-is
-
-
-    Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
-    returns RealRetrievalDriver from MDataStd;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Real from PDataStd.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-end RealRetrievalDriver;
diff --git a/src/MDataStd/MDataStd_RealRetrievalDriver.cxx b/src/MDataStd/MDataStd_RealRetrievalDriver.cxx
deleted file mode 100644 (file)
index e237cd0..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-// Created on: 1997-04-10
-// Created by: VAUTHIER Jean-Claude
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_RealRetrievalDriver.ixx>
-#include <TDataStd_Real.hxx>
-#include <PDataStd_Real.hxx>
-#include <MDataStd.hxx>
-#include <TDataStd_RealEnum.hxx>
-#include <CDM_MessageDriver.hxx>
-
-
-//=======================================================================
-//function : MDataStd_RealRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-MDataStd_RealRetrievalDriver::MDataStd_RealRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{}
-
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataStd_RealRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataStd_RealRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PDataStd_Real);
-  return sourceType;
-}
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MDataStd_RealRetrievalDriver::NewEmpty () const {
-
-  return new TDataStd_Real ();
-}
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataStd_RealRetrievalDriver::Paste 
-(const Handle(PDF_Attribute)&  Source,
- const Handle(TDF_Attribute)&  Target,
-// const Handle(MDF_RRelocationTable)& RelocTable) const
- const Handle(MDF_RRelocationTable)& ) const
-{
-  Handle(PDataStd_Real) S = Handle(PDataStd_Real)::DownCast (Source);
-  Handle(TDataStd_Real) T = Handle(TDataStd_Real)::DownCast (Target);
-  T->Set (S->Get ());
-  T->SetDimension(MDataStd::IntegerToRealDimension(S->GetDimension()));
-}
-
diff --git a/src/MDataStd/MDataStd_RealStorageDriver.cdl b/src/MDataStd/MDataStd_RealStorageDriver.cdl
deleted file mode 100644 (file)
index 2ef1fdb..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
--- Created on: 1997-04-09
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class RealStorageDriver from MDataStd inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-is
-
-    Create(theMessageDriver : MessageDriver from CDM) -- Version 0
-    returns RealStorageDriver from MDataStd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Real from TDataStd.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end RealStorageDriver;
-
diff --git a/src/MDataStd/MDataStd_RealStorageDriver.cxx b/src/MDataStd/MDataStd_RealStorageDriver.cxx
deleted file mode 100644 (file)
index e81c618..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-// Created on: 1997-04-10
-// Created by: VAUTHIER Jean-Claude
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_RealStorageDriver.ixx>
-#include <PDataStd_Real.hxx>
-#include <TDataStd_Real.hxx>
-#include <MDataStd.hxx>
-#include <TDataStd_RealEnum.hxx>
-#include <CDM_MessageDriver.hxx>
-
-
-//=======================================================================
-//function : MDataStd_RealStorageDriver
-//purpose  : 
-//=======================================================================
-
-MDataStd_RealStorageDriver::MDataStd_RealStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{}
-
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataStd_RealStorageDriver::VersionNumber() const
-{ return 0; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataStd_RealStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(TDataStd_Real);
-  return sourceType;
-}
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(PDF_Attribute) MDataStd_RealStorageDriver::NewEmpty () const {
-
-  return new PDataStd_Real ();
-}
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataStd_RealStorageDriver::Paste (
-  const Handle(TDF_Attribute)&  Source,
-  const Handle(PDF_Attribute)&        Target,
-//  const Handle(MDF_SRelocationTable)& RelocTable) const
-  const Handle(MDF_SRelocationTable)& ) const
-{
-  Handle(TDataStd_Real) S = Handle(TDataStd_Real)::DownCast (Source);
-  Handle(PDataStd_Real) T = Handle(PDataStd_Real)::DownCast (Target);
-  T->Set (S->Get ());  
-  T->SetDimension (MDataStd::RealDimensionToInteger(S->GetDimension()));
-}
-
diff --git a/src/MDataStd/MDataStd_ReferenceArrayRetrievalDriver.cdl b/src/MDataStd/MDataStd_ReferenceArrayRetrievalDriver.cdl
deleted file mode 100644 (file)
index 04f55e0..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ReferenceArrayRetrievalDriver from MDataStd inherits ARDriver from MDF
-
-uses 
-
-    RRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF, 
-    MessageDriver    from CDM
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)
-    returns ReferenceArrayRetrievalDriver from MDataStd;
-
-    VersionNumber(me) returns Integer from Standard;
-
-    SourceType(me) returns Type from Standard;
-
-    NewEmpty (me) returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-end ReferenceArrayRetrievalDriver;
-
diff --git a/src/MDataStd/MDataStd_ReferenceArrayRetrievalDriver.cxx b/src/MDataStd/MDataStd_ReferenceArrayRetrievalDriver.cxx
deleted file mode 100644 (file)
index 8bf4f70..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_ReferenceArrayRetrievalDriver.ixx>
-#include <PDataStd_ReferenceArray.hxx>
-#include <TDataStd_ReferenceArray.hxx>
-#include <MDataStd.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <PCollection_HExtendedString.hxx>
-#include <TDF_Label.hxx>
-#include <TCollection_AsciiString.hxx>
-#include <TDF_Tool.hxx>
-
-//=======================================================================
-//function : MDataStd_ReferenceArrayRetrievalDriver
-//purpose  : 
-//=======================================================================
-MDataStd_ReferenceArrayRetrievalDriver::MDataStd_ReferenceArrayRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MDataStd_ReferenceArrayRetrievalDriver::VersionNumber() const
-{ 
-  return 0; 
-}
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MDataStd_ReferenceArrayRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PDataStd_ReferenceArray);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(TDF_Attribute) MDataStd_ReferenceArrayRetrievalDriver::NewEmpty () const 
-{
-  return new TDataStd_ReferenceArray();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MDataStd_ReferenceArrayRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
-                                                  const Handle(TDF_Attribute)& Target,
-                                                  const Handle(MDF_RRelocationTable)& ) const
-{
-  Handle(PDataStd_ReferenceArray) S = Handle(PDataStd_ReferenceArray)::DownCast (Source);
-  Handle(TDataStd_ReferenceArray) T = Handle(TDataStd_ReferenceArray)::DownCast (Target);
-
-  Standard_Integer i, lower = S->Lower(), upper = S->Upper();
-  T->Init(lower, upper);
-  for (i = lower; i <= upper; i++)
-  {
-    const Handle(PCollection_HExtendedString)& pvalue = S->Value(i);
-    if (!pvalue.IsNull()) 
-    {
-      TDF_Label L;
-      TCollection_AsciiString tvalue = pvalue->Convert();
-      TDF_Tool::Label(T->Label().Data(), tvalue, L, Standard_True);
-      if (!L.IsNull())
-      {
-       T->SetValue(i, L);
-      }
-    }
-  }
-}
diff --git a/src/MDataStd/MDataStd_ReferenceArrayStorageDriver.cdl b/src/MDataStd/MDataStd_ReferenceArrayStorageDriver.cdl
deleted file mode 100644 (file)
index 6e33167..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ReferenceArrayStorageDriver from MDataStd inherits ASDriver from MDF
-
-uses 
-
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF, 
-    MessageDriver    from CDM
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)
-    returns ReferenceArrayStorageDriver from MDataStd;
-
-    VersionNumber(me) 
-    returns Integer from Standard;
-
-    SourceType(me) 
-    returns Type from Standard;
-
-    NewEmpty (me) 
-    returns Attribute from PDF;
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-end ReferenceArrayStorageDriver;
diff --git a/src/MDataStd/MDataStd_ReferenceArrayStorageDriver.cxx b/src/MDataStd/MDataStd_ReferenceArrayStorageDriver.cxx
deleted file mode 100644 (file)
index eabc275..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_ReferenceArrayStorageDriver.ixx>
-#include <PDataStd_ReferenceArray.hxx>
-#include <TDataStd_ReferenceArray.hxx>
-#include <MDataStd.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <TDF_Tool.hxx>
-#include <TDF_Label.hxx>
-#include <PCollection_HExtendedString.hxx>
-
-//=======================================================================
-//function : MDataStd_ReferenceArrayStorageDriver
-//purpose  : 
-//=======================================================================
-MDataStd_ReferenceArrayStorageDriver::MDataStd_ReferenceArrayStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MDataStd_ReferenceArrayStorageDriver::VersionNumber() const
-{ 
-  return 0;
-}
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MDataStd_ReferenceArrayStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(TDataStd_ReferenceArray);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(PDF_Attribute) MDataStd_ReferenceArrayStorageDriver::NewEmpty() const 
-{
-  return new PDataStd_ReferenceArray();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MDataStd_ReferenceArrayStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
-                                                const Handle(PDF_Attribute)& Target,
-                                                const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
-{
-  Handle(TDataStd_ReferenceArray) S = Handle(TDataStd_ReferenceArray)::DownCast (Source);
-  Handle(PDataStd_ReferenceArray) T = Handle(PDataStd_ReferenceArray)::DownCast (Target);
-  
-  Standard_Integer lower = S->Lower(), upper = S->Upper(), i = lower;
-  if (upper >= lower)
-  {
-    T->Init(lower, upper);
-    for (; i <= upper; i++) 
-    {
-      TDF_Label L = S->Value(i);
-      if (!L.IsNull())
-      {
-       TCollection_AsciiString tvalue;
-       TDF_Tool::Entry(L, tvalue);
-       Handle(PCollection_HExtendedString) pvalue = new PCollection_HExtendedString(tvalue);
-       T->SetValue(i, pvalue);
-      }
-    }
-  }
-}
diff --git a/src/MDataStd/MDataStd_ReferenceListRetrievalDriver.cdl b/src/MDataStd/MDataStd_ReferenceListRetrievalDriver.cdl
deleted file mode 100644 (file)
index d5fcae8..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ReferenceListRetrievalDriver from MDataStd inherits ARDriver from MDF
-
-uses 
-
-    RRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF, 
-    MessageDriver    from CDM
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)
-    returns ReferenceListRetrievalDriver from MDataStd;
-
-    VersionNumber(me) returns Integer from Standard;
-
-    SourceType(me) returns Type from Standard;
-
-    NewEmpty (me) returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-end ReferenceListRetrievalDriver;
-
diff --git a/src/MDataStd/MDataStd_ReferenceListRetrievalDriver.cxx b/src/MDataStd/MDataStd_ReferenceListRetrievalDriver.cxx
deleted file mode 100644 (file)
index da4b1ef..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_ReferenceListRetrievalDriver.ixx>
-#include <PDataStd_ReferenceList.hxx>
-#include <TDataStd_ReferenceList.hxx>
-#include <MDataStd.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <PCollection_HExtendedString.hxx>
-#include <TDF_Label.hxx>
-#include <TCollection_AsciiString.hxx>
-#include <TDF_Tool.hxx>
-
-//=======================================================================
-//function : MDataStd_ReferenceListRetrievalDriver
-//purpose  : 
-//=======================================================================
-MDataStd_ReferenceListRetrievalDriver::MDataStd_ReferenceListRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MDataStd_ReferenceListRetrievalDriver::VersionNumber() const
-{ 
-  return 0; 
-}
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MDataStd_ReferenceListRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PDataStd_ReferenceList);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(TDF_Attribute) MDataStd_ReferenceListRetrievalDriver::NewEmpty () const 
-{
-  return new TDataStd_ReferenceList();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MDataStd_ReferenceListRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
-                                                 const Handle(TDF_Attribute)& Target,
-                                                 const Handle(MDF_RRelocationTable)& ) const
-{
-  const Handle(PDataStd_ReferenceList) S = Handle(PDataStd_ReferenceList)::DownCast (Source);
-  const Handle(TDataStd_ReferenceList) T = Handle(TDataStd_ReferenceList)::DownCast (Target);
-  if(S.IsNull()) return;
-  Standard_Integer i, lower = S->Lower(), upper = S->Upper();
-  if(upper > 0)
-    for (i = lower; i <= upper; i++)
-    {
-      const Handle(PCollection_HExtendedString)& pvalue = S->Value(i);
-      if (!pvalue.IsNull()) 
-      {
-        TDF_Label L;
-        const TCollection_AsciiString& tvalue = pvalue->Convert();
-        TDF_Tool::Label(T->Label().Data(), tvalue, L, Standard_True);
-        if (!L.IsNull()) 
-          T->Append(L);
-      }
-    }
-}
diff --git a/src/MDataStd/MDataStd_ReferenceListStorageDriver.cdl b/src/MDataStd/MDataStd_ReferenceListStorageDriver.cdl
deleted file mode 100644 (file)
index de27bdb..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ReferenceListStorageDriver from MDataStd inherits ASDriver from MDF
-
-uses 
-
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF, 
-    MessageDriver    from CDM
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)
-    returns ReferenceListStorageDriver from MDataStd;
-
-    VersionNumber(me) 
-    returns Integer from Standard;
-
-    SourceType(me) 
-    returns Type from Standard;
-
-    NewEmpty (me) 
-    returns Attribute from PDF;
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-end ReferenceListStorageDriver;
diff --git a/src/MDataStd/MDataStd_ReferenceListStorageDriver.cxx b/src/MDataStd/MDataStd_ReferenceListStorageDriver.cxx
deleted file mode 100644 (file)
index c0cd6f6..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_ReferenceListStorageDriver.ixx>
-#include <PDataStd_ReferenceList.hxx>
-#include <TDataStd_ReferenceList.hxx>
-#include <MDataStd.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <TDF_ListIteratorOfLabelList.hxx>
-#include <TDF_Tool.hxx>
-#include <TDF_Label.hxx>
-#include <PCollection_HExtendedString.hxx>
-
-//=======================================================================
-//function : MDataStd_ReferenceListStorageDriver
-//purpose  : 
-//=======================================================================
-MDataStd_ReferenceListStorageDriver::MDataStd_ReferenceListStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MDataStd_ReferenceListStorageDriver::VersionNumber() const
-{ 
-  return 0;
-}
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MDataStd_ReferenceListStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(TDataStd_ReferenceList);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(PDF_Attribute) MDataStd_ReferenceListStorageDriver::NewEmpty() const 
-{
-  return new PDataStd_ReferenceList();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MDataStd_ReferenceListStorageDriver::Paste(const Handle(TDF_Attribute)&  Source,
-                                               const Handle(PDF_Attribute)&        Target,
-                                               const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
-{
-  const Handle(TDataStd_ReferenceList) S = Handle(TDataStd_ReferenceList)::DownCast (Source);
-  const Handle(PDataStd_ReferenceList) T = Handle(PDataStd_ReferenceList)::DownCast (Target);
-  if(S.IsNull()) return;
-  Standard_Integer lower(1), upper = S->Extent();
-  if(upper == 0) {
-    lower = 0;
-    T->Init(lower, upper);
-  }
-  else if (upper >= lower)
-  {
-    T->Init(lower, upper);
-    TDF_ListIteratorOfLabelList itr(S->List());
-    for (Standard_Integer i = lower; itr.More(); itr.Next(), i++) 
-    {
-      TDF_Label L = itr.Value();
-      if (!L.IsNull())
-      {
-        TCollection_AsciiString tvalue;
-        TDF_Tool::Entry(L, tvalue);
-        const Handle(PCollection_HExtendedString)& pvalue = new PCollection_HExtendedString(tvalue);
-        T->SetValue(i, pvalue);
-      }
-    }
-  }
-}
diff --git a/src/MDataStd/MDataStd_RelationRetrievalDriver.cdl b/src/MDataStd/MDataStd_RelationRetrievalDriver.cdl
deleted file mode 100644 (file)
index b7b9201..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
--- Created on: 1997-08-07
--- Created by: PASCAL Denis
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class RelationRetrievalDriver from MDataStd  inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF, 
-     MessageDriver    from CDM
-
-is
-
-
-    Create(theMessageDriver : MessageDriver from CDM)   -- Version 0
-    returns RelationRetrievalDriver from MDataStd;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Relation from PDataStd.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me; Source     :         Attribute from PDF;
-             Target     : Attribute from TDF;
-             RelocTable : RRelocationTable  from MDF);
-
-end RelationRetrievalDriver;
diff --git a/src/MDataStd/MDataStd_RelationRetrievalDriver.cxx b/src/MDataStd/MDataStd_RelationRetrievalDriver.cxx
deleted file mode 100644 (file)
index bd0401e..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_RelationRetrievalDriver.ixx>
-#include <PDataStd_Relation.hxx>
-#include <TDataStd_Relation.hxx>
-#include <TCollection_ExtendedString.hxx>
-#include <PCollection_HExtendedString.hxx>
-#include <TDF_ListIteratorOfAttributeList.hxx> 
-#include <PDF_HAttributeArray1.hxx> 
-#include <Standard_NoSuchObject.hxx>
-#include <CDM_MessageDriver.hxx>
-
-
-//=======================================================================
-//function : MDataStd_RelationRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-MDataStd_RelationRetrievalDriver::MDataStd_RelationRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataStd_RelationRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataStd_RelationRetrievalDriver::SourceType() const
-{
-  return STANDARD_TYPE(PDataStd_Relation); 
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MDataStd_RelationRetrievalDriver::NewEmpty() const
-{
-  return new TDataStd_Relation (); 
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataStd_RelationRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
-                                            const Handle(TDF_Attribute)& Target,
-                                            const Handle(MDF_RRelocationTable)& RelocTable) const
-{
-  Handle(PDataStd_Relation) S = Handle(PDataStd_Relation)::DownCast (Source);
-  Handle(TDataStd_Relation) T = Handle(TDataStd_Relation)::DownCast (Target);
-  TCollection_ExtendedString Relation = (S->GetName())->Convert ();
-  T->SetRelation (Relation);
-  
-  Handle(PDF_Attribute) PV; 
-  Handle(TDF_Attribute) TV;
-
-  Handle(PDF_HAttributeArray1) PVARS = S->GetVariables ();
-  if (PVARS.IsNull()) return;
-  for (Standard_Integer i = 1; i <= PVARS->Length (); i++) {
-    PV = PVARS->Value (i);
-    if (!PV.IsNull ()) {
-      if (!RelocTable->HasRelocation (PV, TV)) {
-       Standard_NoSuchObject::Raise("MDataStd_ConstraintRetrievalDriver::Paste");
-      }
-      T->GetVariables().Append(TV);
-    }
-  }
-}
-
diff --git a/src/MDataStd/MDataStd_RelationStorageDriver.cdl b/src/MDataStd/MDataStd_RelationStorageDriver.cdl
deleted file mode 100644 (file)
index 9378f35..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
--- Created on: 1997-08-07
--- Created by: PASCAL Denis
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class RelationStorageDriver from MDataStd inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-
-
-is
-
-    Create (theMessageDriver : MessageDriver from CDM) 
-    returns RelationStorageDriver from MDataStd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Integer from TDataStd.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me; Source     :         Attribute from TDF;
-             Target     : Attribute from PDF;
-             RelocTable : SRelocationTable from MDF);
-
-end RelationStorageDriver;
-
diff --git a/src/MDataStd/MDataStd_RelationStorageDriver.cxx b/src/MDataStd/MDataStd_RelationStorageDriver.cxx
deleted file mode 100644 (file)
index ba2b615..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_RelationStorageDriver.ixx>
-#include <PDataStd_Relation.hxx>
-#include <TDataStd_Relation.hxx>
-#include <TCollection_ExtendedString.hxx>
-#include <PCollection_HExtendedString.hxx>
-#include <TDF_ListIteratorOfAttributeList.hxx> 
-#include <PDF_HAttributeArray1.hxx> 
-#include <Standard_NoSuchObject.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : MDataStd_RelationStorageDriver
-//purpose  : 
-//=======================================================================
-
-MDataStd_RelationStorageDriver::MDataStd_RelationStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataStd_RelationStorageDriver::VersionNumber() const
-{ return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataStd_RelationStorageDriver::SourceType() const
-{ return STANDARD_TYPE(TDataStd_Relation);}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(PDF_Attribute) MDataStd_RelationStorageDriver::NewEmpty() const
-{ return new PDataStd_Relation; }
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataStd_RelationStorageDriver::Paste(const Handle(TDF_Attribute)& Source,const Handle(PDF_Attribute)& Target,const Handle(MDF_SRelocationTable)& RelocTable) const
-{
-  Handle(TDataStd_Relation) S = Handle(TDataStd_Relation)::DownCast (Source);
-  Handle(PDataStd_Relation) T = Handle(PDataStd_Relation)::DownCast (Target);
-  Handle(PCollection_HExtendedString) Relation = new PCollection_HExtendedString (S->Name());
-  T->SetName (Relation);
-  Handle(TDF_Attribute) TV;   
-  Handle(PDF_Attribute) PV;
-
-  Standard_Integer nbvar = S->GetVariables().Extent();
-  if (nbvar <= 0) return;
-  Handle(PDF_HAttributeArray1) PVARS = new PDF_HAttributeArray1 (1, nbvar);
-  TDF_ListIteratorOfAttributeList it;
-  Standard_Integer index = 0;
-  for (it.Initialize(S->GetVariables());it.More();it.Next()) {
-    index++;
-    TV = it.Value(); 
-    if(!RelocTable->HasRelocation (TV, PV)) {
-      Standard_NoSuchObject::Raise("MDataStd_ExpressionStorageDriver::Paste");
-    }
-    PVARS->SetValue (index,PV);
-  }
-  T->SetVariables (PVARS);
-}
-
diff --git a/src/MDataStd/MDataStd_TickRetrievalDriver.cdl b/src/MDataStd/MDataStd_TickRetrievalDriver.cdl
deleted file mode 100644 (file)
index 84b1bc9..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TickRetrievalDriver from MDataStd inherits ARDriver from MDF
-
-uses 
-
-    RRelocationTable from MDF,
-    Attribute        from PDF,
-    Attribute        from TDF, 
-    MessageDriver    from CDM
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)
-    returns TickRetrievalDriver from MDataStd;
-
-    VersionNumber(me) 
-    returns Integer from Standard;
-
-    SourceType(me) 
-    returns Type from Standard;
-    ---Purpose: Returns the type Tick from PDataStd.
-
-    NewEmpty(me) 
-    returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-end TickRetrievalDriver;
diff --git a/src/MDataStd/MDataStd_TickRetrievalDriver.cxx b/src/MDataStd/MDataStd_TickRetrievalDriver.cxx
deleted file mode 100644 (file)
index 4d528e8..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_TickRetrievalDriver.ixx>
-#include <PDataStd_Tick.hxx>
-#include <TDataStd_Tick.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : MDataStd_TickRetrievalDriver
-//purpose  : 
-//=======================================================================
-MDataStd_TickRetrievalDriver::MDataStd_TickRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MDataStd_TickRetrievalDriver::VersionNumber() const
-{ 
-  return 0; 
-}
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MDataStd_TickRetrievalDriver::SourceType() const
-{ 
-  return STANDARD_TYPE(PDataStd_Tick);
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(TDF_Attribute) MDataStd_TickRetrievalDriver::NewEmpty() const
-{ 
-  return new TDataStd_Tick; 
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MDataStd_TickRetrievalDriver::Paste (const Handle(PDF_Attribute)& ,
-                                         const Handle(TDF_Attribute)& ,
-                                         const Handle(MDF_RRelocationTable)& ) const
-{
-}
diff --git a/src/MDataStd/MDataStd_TickStorageDriver.cdl b/src/MDataStd/MDataStd_TickStorageDriver.cdl
deleted file mode 100644 (file)
index ca1a9eb..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TickStorageDriver from MDataStd inherits ASDriver from MDF
-
-uses 
-
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF, 
-    MessageDriver    from CDM
-
-is
-
-    Create (theMessageDriver : MessageDriver from CDM) 
-    returns TickStorageDriver from MDataStd;
-
-    VersionNumber(me) 
-    returns Integer from Standard;
-
-    SourceType(me) 
-    returns Type from Standard;
-    ---Purpose: Returns the type Tick from TDataStd.
-
-    NewEmpty(me) 
-    returns Attribute from PDF;
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-end TickStorageDriver;
-
diff --git a/src/MDataStd/MDataStd_TickStorageDriver.cxx b/src/MDataStd/MDataStd_TickStorageDriver.cxx
deleted file mode 100644 (file)
index d40bc73..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_TickStorageDriver.ixx>
-#include <PDataStd_Tick.hxx>
-#include <TDataStd_Tick.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : MDataStd_TickStorageDriver
-//purpose  : 
-//=======================================================================
-MDataStd_TickStorageDriver::MDataStd_TickStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MDataStd_TickStorageDriver::VersionNumber() const
-{ 
-  return 0; 
-}
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MDataStd_TickStorageDriver::SourceType() const
-{ 
-  return STANDARD_TYPE(TDataStd_Tick); 
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(PDF_Attribute) MDataStd_TickStorageDriver::NewEmpty() const
-{ 
-  return new PDataStd_Tick; 
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MDataStd_TickStorageDriver::Paste (const Handle(TDF_Attribute)& ,
-                                       const Handle(PDF_Attribute)& ,
-                                       const Handle(MDF_SRelocationTable)& ) const
-{
-}
diff --git a/src/MDataStd/MDataStd_TreeNodeRetrievalDriver.cdl b/src/MDataStd/MDataStd_TreeNodeRetrievalDriver.cdl
deleted file mode 100644 (file)
index a223f9b..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
--- Created on: 1999-06-17
--- Created by: Vladislav ROMASHKO
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TreeNodeRetrievalDriver from MDataStd inherits ARDriver from MDF
-
-
-uses 
-     
-     RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF, 
-     MessageDriver    from CDM
-
-is
-    Create (theMessageDriver : MessageDriver from CDM) 
-     returns TreeNodeRetrievalDriver from MDataStd;
-    
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-end TreeNodeRetrievalDriver;
diff --git a/src/MDataStd/MDataStd_TreeNodeRetrievalDriver.cxx b/src/MDataStd/MDataStd_TreeNodeRetrievalDriver.cxx
deleted file mode 100644 (file)
index 8cbe298..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-// Created on: 1999-06-17
-// Created by: Vladislav ROMASHKO
-// Copyright (c) 1999-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_TreeNodeRetrievalDriver.ixx>
-#include <PDataStd_TreeNode.hxx>
-#include <TDataStd_TreeNode.hxx>
-#include <Standard_NoSuchObject.hxx>
-#include <TDF_Label.hxx>
-#include <CDM_MessageDriver.hxx>
-
-MDataStd_TreeNodeRetrievalDriver::MDataStd_TreeNodeRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{}
-
-Standard_Integer MDataStd_TreeNodeRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-Handle(Standard_Type) MDataStd_TreeNodeRetrievalDriver::SourceType() const
-{ return STANDARD_TYPE(PDataStd_TreeNode);  }
-
-Handle(TDF_Attribute) MDataStd_TreeNodeRetrievalDriver::NewEmpty() const
-{ return new TDataStd_TreeNode(); }
-
-void MDataStd_TreeNodeRetrievalDriver::Paste (const Handle(PDF_Attribute)&        Source,
-                                             const Handle(TDF_Attribute)&        Target,
-                                             const Handle(MDF_RRelocationTable)& RelocTable) const
-{
-  Handle(PDataStd_TreeNode) S = Handle(PDataStd_TreeNode)::DownCast(Source);
-  Handle(TDataStd_TreeNode) T = Handle(TDataStd_TreeNode)::DownCast(Target);
-  T->SetTreeID(S->GetTreeID());
-
-   Handle(TDataStd_TreeNode) TFirst;
-   Handle(PDataStd_TreeNode) PFirst = S->First(); 
-   if (!PFirst.IsNull ()) {
-     if (!RelocTable->HasRelocation(PFirst, TFirst)) { 
-       Standard_NoSuchObject::Raise("MDataStd_TreeNodeRetrievalDriver::Paste");
-     }
-     if (!TFirst.IsNull()) {
-       TFirst->SetTreeID(S->GetTreeID());
-       T->Append(TFirst);
-       Handle(PDataStd_TreeNode) PNext = PFirst; 
-       Handle(TDataStd_TreeNode) TNext;
-       while (!(PNext->Next()).IsNull() ) {
-        PNext = PNext->Next(); 
-        if (!RelocTable->HasRelocation(PNext, TNext)) { 
-          Standard_NoSuchObject::Raise("MDataStd_TreeNodeRetrievalDriver::Paste");
-        }
-        if (!TNext.IsNull()) {
-          TNext->SetTreeID(S->GetTreeID());
-          T->Append(TNext);
-        }
-       }
-     }
-   }
-}
diff --git a/src/MDataStd/MDataStd_TreeNodeStorageDriver.cdl b/src/MDataStd/MDataStd_TreeNodeStorageDriver.cdl
deleted file mode 100644 (file)
index 3db2db4..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
--- Created on: 1999-06-17
--- Created by: Vladislav ROMASHKO
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TreeNodeStorageDriver from MDataStd inherits ASDriver from MDF
-
-uses 
-     SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-
-is 
-
-    Create (theMessageDriver : MessageDriver from CDM) 
-    returns TreeNodeStorageDriver from MDataStd;
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-
-    NewEmpty (me) returns Attribute from PDF;
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-end TreeNodeStorageDriver;
diff --git a/src/MDataStd/MDataStd_TreeNodeStorageDriver.cxx b/src/MDataStd/MDataStd_TreeNodeStorageDriver.cxx
deleted file mode 100644 (file)
index 942f737..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-// Created on: 1999-06-17
-// Created by: Vladislav ROMASHKO
-// Copyright (c) 1999-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_TreeNodeStorageDriver.ixx>
-
-#include <TDataStd_TreeNode.hxx>
-#include <PDataStd_TreeNode.hxx>
-#include <Standard_NoSuchObject.hxx>
-#include <CDM_MessageDriver.hxx>
-
-MDataStd_TreeNodeStorageDriver::MDataStd_TreeNodeStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{}
-
-Standard_Integer MDataStd_TreeNodeStorageDriver::VersionNumber() const
-{ return 0; }
-
-Handle(Standard_Type) MDataStd_TreeNodeStorageDriver::SourceType() const
-{ return STANDARD_TYPE(TDataStd_TreeNode); }
-
-Handle(PDF_Attribute) MDataStd_TreeNodeStorageDriver::NewEmpty() const
-{ return new PDataStd_TreeNode(); }
-
-void MDataStd_TreeNodeStorageDriver::Paste(const Handle(TDF_Attribute)&        Source,
-                                           const Handle(PDF_Attribute)&        Target,
-                                           const Handle(MDF_SRelocationTable)& RelocTable) const
-{
-  Handle(TDataStd_TreeNode) S = Handle(TDataStd_TreeNode)::DownCast (Source);
-  Handle(PDataStd_TreeNode) T = Handle(PDataStd_TreeNode)::DownCast (Target);
-
-  Handle (PDataStd_TreeNode) TF;
-  // Only stores myFirst , myNext
-  // When retrieving the function 
-  // myFirst is appended to me and the next of myFirst and subsequently the next of the next
-  // are appended to me.
-
-  Handle (TDataStd_TreeNode) F  = S->First();
-  if (!F.IsNull ()) {
-    if (!RelocTable->HasRelocation(F, TF)) {
-      Standard_NoSuchObject::Raise("MDataStd_TreeNodeStorageDriver::Paste");
-    }
-    T->SetFirst(TF);
-  }
-
-  F  = S->Next();
-  if (!F.IsNull ()) {
-    if (!RelocTable->HasRelocation(F, TF)) {
-      Standard_NoSuchObject::Raise("MDataStd_TreeNodeStorageDriver::Paste");
-    }
-    T->SetNext(TF);
-  }
-  T->SetTreeID(S->ID());
-}
diff --git a/src/MDataStd/MDataStd_UAttributeRetrievalDriver.cdl b/src/MDataStd/MDataStd_UAttributeRetrievalDriver.cdl
deleted file mode 100644 (file)
index 77fbb3b..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
--- Created on: 1999-06-15
--- Created by: Sergey RUIN
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class UAttributeRetrievalDriver from MDataStd inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses RRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-is
-
-    Create(theMessageDriver : MessageDriver from CDM) -- Version 0
-    returns UAttributeRetrievalDriver from MDataStd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: UAttribute from PDataStd.
-
-    NewEmpty (me) returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-
-end UAttributeRetrievalDriver;
-
diff --git a/src/MDataStd/MDataStd_UAttributeRetrievalDriver.cxx b/src/MDataStd/MDataStd_UAttributeRetrievalDriver.cxx
deleted file mode 100644 (file)
index ed263c2..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-// Created on: 1999-06-15
-// Created by: Sergey RUIN
-// Copyright (c) 1999-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_UAttributeRetrievalDriver.ixx>
-#include <PDataStd_UAttribute.hxx>
-#include <TDataStd_UAttribute.hxx>
-#include <MDataStd.hxx>
-#include <TCollection_ExtendedString.hxx>
-#include <PCollection_HExtendedString.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : MDataStd_UAttributeRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-MDataStd_UAttributeRetrievalDriver::MDataStd_UAttributeRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{}
-
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataStd_UAttributeRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataStd_UAttributeRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PDataStd_UAttribute);
-  return sourceType;
-}
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MDataStd_UAttributeRetrievalDriver::NewEmpty () const {
-
-  return new TDataStd_UAttribute ();
-}
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataStd_UAttributeRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
-      const Handle(TDF_Attribute)& Target,
-      const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
-{
-  Handle(PDataStd_UAttribute) S = Handle(PDataStd_UAttribute)::DownCast (Source);
-  Handle(TDataStd_UAttribute) T = Handle(TDataStd_UAttribute)::DownCast (Target);
-
-  TCollection_ExtendedString extstr = (S->GetID())->Convert();
-  Standard_GUID guid( extstr.ToExtString() ); 
-
-  T->SetID( guid );  
-}
-
diff --git a/src/MDataStd/MDataStd_UAttributeStorageDriver.cdl b/src/MDataStd/MDataStd_UAttributeStorageDriver.cdl
deleted file mode 100644 (file)
index 31dbe66..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
--- Created on: 1999-06-15
--- Created by: Sergey RUIN
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class UAttributeStorageDriver from MDataStd inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
-    returns UAttributeStorageDriver from MDataStd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: UAttribute from TDataStd.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end UAttributeStorageDriver;
-
diff --git a/src/MDataStd/MDataStd_UAttributeStorageDriver.cxx b/src/MDataStd/MDataStd_UAttributeStorageDriver.cxx
deleted file mode 100644 (file)
index 1774410..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-// Created on: 1999-06-11
-// Created by: Sergey RUIN
-// Copyright (c) 1999-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_UAttributeStorageDriver.ixx>
-#include <PDataStd_UAttribute.hxx>
-#include <TDataStd_UAttribute.hxx>
-#include <MDataStd.hxx>
-#include <TCollection_ExtendedString.hxx>
-#include <PCollection_HExtendedString.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : MDataStd_UAttributeStorageDriver
-//purpose  : 
-//=======================================================================
-
-MDataStd_UAttributeStorageDriver::MDataStd_UAttributeStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{}
-
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataStd_UAttributeStorageDriver::VersionNumber() const
-{ return 0; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataStd_UAttributeStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(TDataStd_UAttribute);
-  return sourceType;
-}
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(PDF_Attribute) MDataStd_UAttributeStorageDriver::NewEmpty () const {
-
-  return new PDataStd_UAttribute ();
-}
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataStd_UAttributeStorageDriver::Paste (
-  const Handle(TDF_Attribute)&  Source,
-  const Handle(PDF_Attribute)&        Target,
-//  const Handle(MDF_SRelocationTable)& RelocTable) const
-  const Handle(MDF_SRelocationTable)& ) const
-{
-  Handle(TDataStd_UAttribute) S = Handle(TDataStd_UAttribute)::DownCast (Source);
-  Handle(PDataStd_UAttribute) T = Handle(PDataStd_UAttribute)::DownCast (Target);
-  TCollection_ExtendedString  extstr("00000000-0000-0000-0000-000000000000");  //covert GUID into ExtendedString
-  Standard_PExtCharacter pStr=(Standard_PExtCharacter)extstr.ToExtString();
-  S->ID().ToExtString( pStr );
-
-  Handle(PCollection_HExtendedString) guid = new PCollection_HExtendedString ( extstr );
-
-  T->SetID ( guid );  
-}
-
diff --git a/src/MDataStd/MDataStd_VariableRetrievalDriver.cdl b/src/MDataStd/MDataStd_VariableRetrievalDriver.cdl
deleted file mode 100644 (file)
index a9a54c0..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
--- Created on: 1997-04-09
--- Created by: PASCAL Denis
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class VariableRetrievalDriver from MDataStd  inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF, 
-     MessageDriver    from CDM
-
-is
-
-
-    Create(theMessageDriver : MessageDriver from CDM)   -- Version 0
-    returns VariableRetrievalDriver from MDataStd;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Variable from PDataStd.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me; Source     :         Attribute from PDF;
-             Target     : Attribute from TDF;
-             RelocTable : RRelocationTable  from MDF);
-
-end VariableRetrievalDriver;
diff --git a/src/MDataStd/MDataStd_VariableRetrievalDriver.cxx b/src/MDataStd/MDataStd_VariableRetrievalDriver.cxx
deleted file mode 100644 (file)
index 07f9a9a..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-// Created on: 1997-04-10
-// Created by: PASCAL Denis
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_VariableRetrievalDriver.ixx>
-#include <TDataStd_Variable.hxx>
-#include <PDataStd_Variable.hxx>
-#include <MDataStd.hxx>
-#include <PCollection_HAsciiString.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : MDataStd_VariableRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-MDataStd_VariableRetrievalDriver::MDataStd_VariableRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{}
-
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataStd_VariableRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataStd_VariableRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PDataStd_Variable);
-  return sourceType;
-}
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MDataStd_VariableRetrievalDriver::NewEmpty () const {
-
-  return new TDataStd_Variable ();
-}
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataStd_VariableRetrievalDriver::Paste 
-(const Handle(PDF_Attribute)&  Source,
- const Handle(TDF_Attribute)&  Target,
-// const Handle(MDF_RRelocationTable)& RelocTable) const
- const Handle(MDF_RRelocationTable)& ) const
-{
-  Handle(PDataStd_Variable) S = Handle(PDataStd_Variable)::DownCast (Source);
-  Handle(TDataStd_Variable) T = Handle(TDataStd_Variable)::DownCast (Target);
-  T->Constant (S->Constant());
-  T->Unit(S->Unit()->Convert());
-}
-
diff --git a/src/MDataStd/MDataStd_VariableStorageDriver.cdl b/src/MDataStd/MDataStd_VariableStorageDriver.cdl
deleted file mode 100644 (file)
index 7a1b83d..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
--- Created on: 1997-04-09
--- Created by: PASCAL Denis
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class VariableStorageDriver from MDataStd inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM) -- Version 0
-    returns VariableStorageDriver from MDataStd;
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Variable from TDataStd.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me; Source     :         Attribute from TDF;
-             Target     : Attribute from PDF;
-             RelocTable : SRelocationTable from MDF);
-
-
-end VariableStorageDriver;
-
diff --git a/src/MDataStd/MDataStd_VariableStorageDriver.cxx b/src/MDataStd/MDataStd_VariableStorageDriver.cxx
deleted file mode 100644 (file)
index 5a96fad..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-// Created on: 1997-04-10
-// Created by: PASCAL Denis
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataStd_VariableStorageDriver.ixx>
-#include <PDataStd_Variable.hxx>
-#include <TDataStd_Variable.hxx>
-#include <MDataStd.hxx>
-#include <PCollection_HAsciiString.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <CDM_MessageDriver.hxx>
-
-
-//=======================================================================
-//function : MDataStd_VariableStorageDriver
-//purpose  : 
-//=======================================================================
-
-MDataStd_VariableStorageDriver::MDataStd_VariableStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{}
-
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataStd_VariableStorageDriver::VersionNumber() const
-{ return 0; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataStd_VariableStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(TDataStd_Variable);
-  return sourceType;
-}
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(PDF_Attribute) MDataStd_VariableStorageDriver::NewEmpty () const {
-
-  return new PDataStd_Variable ();
-}
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataStd_VariableStorageDriver::Paste (
-  const Handle(TDF_Attribute)&  Source,
-  const Handle(PDF_Attribute)&        Target,
-//  const Handle(MDF_SRelocationTable)& RelocTable) const
-  const Handle(MDF_SRelocationTable)& ) const
-{
-  Handle(TDataStd_Variable) S = Handle(TDataStd_Variable)::DownCast (Source);
-  Handle(PDataStd_Variable) T = Handle(PDataStd_Variable)::DownCast (Target);
-  T->Constant (S->IsConstant ());  
-  T->Unit(new PCollection_HAsciiString(S->Unit()));
-}
-
diff --git a/src/MDataXtd/MDataXtd.cdl b/src/MDataXtd/MDataXtd.cdl
deleted file mode 100644 (file)
index 29e9d6c..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
--- Created on: 1997-08-07
--- Created by: VAUTHIER Jean-Claude 
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-
-
-package MDataXtd 
-
-       ---Purpose: Storage    and  Retrieval  drivers   for modelling
-       --          attributes.   Transient  attributes are defined in
-       --          package TDataStd and persistent one are defined in
-       --          package PDataStd
-
-uses TDF,
-     PDF,
-     MDF, 
-     CDM,
-     TDataStd, 
-     TDataXtd,
-     Geom,  -- a supprimer des que Translate est poussee dans MgtGeom
-     PGeom  -- a supprimer des que Translate est poussee dans MgtGeom
-
-is
-
-    ---Category: Storage drivers for TDataXtd attributes
-    --           =======================================
-
-        class ShapeStorageDriver;
-       
-       class PointStorageDriver;
-       
-       class AxisStorageDriver;
-       
-       class PlaneStorageDriver;
-
-       class GeometryStorageDriver;
-
-       class ConstraintStorageDriver;
-       
-       class PlacementStorageDriver;
-       
-       class PatternStdStorageDriver;
-
-    
-    ---Category: Retrieval drivers for PDataXtd attributes
-    --           =========================================
-
-       class ShapeRetrievalDriver;     
-       
-       class PointRetrievalDriver;
-       
-       class AxisRetrievalDriver;
-       
-       class PlaneRetrievalDriver;
-
-       class GeometryRetrievalDriver;
-
-       class ConstraintRetrievalDriver;
-       
-       class PlacementRetrievalDriver;
-       
-       class PatternStdRetrievalDriver;
-
-
-
-    AddStorageDrivers(aDriverSeq : ASDriverHSequence from MDF; theMessageDriver : MessageDriver from CDM);
-       ---Purpose: Adds the attribute storage drivers to <aDriverSeq>.
-
-
-    AddRetrievalDrivers(aDriverSeq : ARDriverHSequence from MDF; theMessageDriver : MessageDriver from CDM);
-       ---Purpose: Adds the attribute retrieval drivers to <aDriverSeq>.
-
-
-    Translate (Geometry : Geometry from Geom)
-       ---Purpose: Method to launch in MgtGeom
-       --           Delete MDataStd_1.cxx
-       --           Modify MDataStd_GeometryStorageDriver::Paste
-    returns Geometry from PGeom;
-
-
-    Translate (Geometry : Geometry from PGeom)
-       ---Purpose : Method to lasunch in MgtGeom
-       --           Delete MDataStd_1.cxx
-       --           Modify MDataStd_GeometryRetrievalDriver::Paste
-    returns Geometry from Geom;
-
-
-    ---Purpose: Translation of TDataXtd enumerations to integer
-    --          ===============================================
-    ConstraintTypeToInteger (e : ConstraintEnum from TDataXtd)
-    returns Integer from Standard;
-
-    IntegerToConstraintType (i : Integer from Standard)
-    returns ConstraintEnum from TDataXtd;     
-    
-    GeometryTypeToInteger (e : GeometryEnum from TDataXtd)
-    returns Integer from Standard;
-
-    IntegerToGeometryType (i : Integer from Standard)
-    returns GeometryEnum from TDataXtd;     
-    
-end MDataXtd;
diff --git a/src/MDataXtd/MDataXtd.cxx b/src/MDataXtd/MDataXtd.cxx
deleted file mode 100644 (file)
index b42ac20..0000000
+++ /dev/null
@@ -1,315 +0,0 @@
-// Created by: DAUTRY Philippe
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-//             ------------
-// modified     Sergey Zaritchny
-// Version:    0.0
-//Version      Date            Purpose
-//             0.0     Aug  4 1997     Creation
-
-
-
-#include <MDataXtd.ixx>
-#include <MDF_ASDriverTable.hxx>
-#include <MDF_ARDriverTable.hxx>
-#include <CDM_MessageDriver.hxx>
-// Storage
-#include <MDataXtd_ShapeStorageDriver.hxx>
-#include <MDataXtd_PointStorageDriver.hxx>
-#include <MDataXtd_AxisStorageDriver.hxx>
-#include <MDataXtd_PlaneStorageDriver.hxx>
-#include <MDataXtd_GeometryStorageDriver.hxx>
-#include <MDataXtd_ConstraintStorageDriver.hxx>
-#include <MDataXtd_PlacementStorageDriver.hxx>
-#include <MDataXtd_PatternStdStorageDriver.hxx>
-
-// Retrieval
-#include <MDataXtd_ShapeRetrievalDriver.hxx>
-#include <MDataXtd_PointRetrievalDriver.hxx>
-#include <MDataXtd_AxisRetrievalDriver.hxx>
-#include <MDataXtd_PlaneRetrievalDriver.hxx>
-#include <MDataXtd_GeometryRetrievalDriver.hxx>
-#include <MDataXtd_ConstraintRetrievalDriver.hxx>
-#include <MDataXtd_PlacementRetrievalDriver.hxx>
-#include <MDataXtd_PatternStdRetrievalDriver.hxx>
-
-// enums
-#include <TDataStd_RealEnum.hxx>
-#include <TDataXtd_ConstraintEnum.hxx>
-#include <TDataXtd_GeometryEnum.hxx>
-#include <Standard_DomainError.hxx>
-#include <MgtGeom.hxx>
-#include <Geom_Curve.hxx>
-#include <Geom_Surface.hxx>
-#include <Geom_Point.hxx>
-#include <Geom_Axis1Placement.hxx>
-#include <Geom_Axis2Placement.hxx>
-#include <Geom_Direction.hxx>
-#include <Geom_VectorWithMagnitude.hxx>
-#include <PGeom_Curve.hxx>
-#include <PGeom_Surface.hxx>
-#include <PGeom_Point.hxx>
-#include <PGeom_Axis1Placement.hxx>
-#include <PGeom_Axis2Placement.hxx>
-#include <PGeom_Direction.hxx>
-#include <PGeom_VectorWithMagnitude.hxx>
-#include <Standard_NullObject.hxx>
-
-//=======================================================================
-//function : AddStorageDriver
-//purpose  : 
-//=======================================================================
-
-void MDataXtd::AddStorageDrivers
-(const Handle(MDF_ASDriverHSequence)& aDriverSeq, const Handle(CDM_MessageDriver)& theMsgDriver)
-{
-  aDriverSeq->Append(new MDataXtd_ShapeStorageDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataXtd_PointStorageDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataXtd_AxisStorageDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataXtd_PlaneStorageDriver(theMsgDriver));   
-  aDriverSeq->Append(new MDataXtd_GeometryStorageDriver(theMsgDriver));  
-  aDriverSeq->Append(new MDataXtd_ConstraintStorageDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataXtd_PlacementStorageDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataXtd_PatternStdStorageDriver(theMsgDriver));
-}
-
-
-//=======================================================================
-//function : AddRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-void MDataXtd::AddRetrievalDrivers
-(const Handle(MDF_ARDriverHSequence)& aDriverSeq,const Handle(CDM_MessageDriver)& theMsgDriver)
-{
-  aDriverSeq->Append(new MDataXtd_ShapeRetrievalDriver(theMsgDriver)); 
-  aDriverSeq->Append(new MDataXtd_PointRetrievalDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataXtd_AxisRetrievalDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataXtd_PlaneRetrievalDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataXtd_GeometryRetrievalDriver(theMsgDriver)); 
-  aDriverSeq->Append(new MDataXtd_ConstraintRetrievalDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataXtd_PlacementRetrievalDriver(theMsgDriver));
-  aDriverSeq->Append(new MDataXtd_PatternStdRetrievalDriver(theMsgDriver));
-}
-
-//=======================================================================
-//function : ConstraintTypeToInteger
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataXtd::ConstraintTypeToInteger(const TDataXtd_ConstraintEnum e) 
-{
-  switch (e) {
-    // planar constraints
-  case TDataXtd_RADIUS         : return  0;
-  case TDataXtd_DIAMETER       : return  1;
-  case TDataXtd_MINOR_RADIUS   : return  2;
-  case TDataXtd_MAJOR_RADIUS   : return  3;
-  case TDataXtd_TANGENT        : return  4;
-  case TDataXtd_PARALLEL       : return  5;
-  case TDataXtd_PERPENDICULAR  : return  6;
-  case TDataXtd_CONCENTRIC     : return  7;
-  case TDataXtd_COINCIDENT     : return  8;
-  case TDataXtd_DISTANCE       : return  9;
-  case TDataXtd_ANGLE          : return  10;
-  case TDataXtd_EQUAL_RADIUS   : return  11;
-  case TDataXtd_SYMMETRY       : return  12;
-  case TDataXtd_MIDPOINT       : return  13;   
-  case TDataXtd_EQUAL_DISTANCE : return  14;
-  case TDataXtd_FIX            : return  15;
-  case TDataXtd_RIGID          : return  16;
-    // placement constraints
-  case TDataXtd_FROM           : return  17; 
-  case TDataXtd_AXIS           : return  18; 
-  case TDataXtd_MATE           : return  19;
-  case TDataXtd_ALIGN_FACES    : return  20;
-  case TDataXtd_ALIGN_AXES     : return  21;
-  case TDataXtd_AXES_ANGLE     : return  22;
-  case TDataXtd_FACES_ANGLE    : return  23;
-  case TDataXtd_ROUND          : return  24;
-  case TDataXtd_OFFSET         : return  25;
-  
-  default:
-    Standard_DomainError::Raise("TDataXtd_ConstraintEnum; enum term unknown");
-  }
-  return 0;
-}
-
-//=======================================================================
-//function : IntegerToConstraintType
-//purpose  : 
-//=======================================================================
-
-TDataXtd_ConstraintEnum MDataXtd::IntegerToConstraintType(const Standard_Integer i) 
-{
-  switch(i)
-    {
-      // planar constraints
-    case  0 : return TDataXtd_RADIUS;
-    case  1 : return TDataXtd_DIAMETER;
-    case  2 : return TDataXtd_MINOR_RADIUS; 
-    case  3 : return TDataXtd_MAJOR_RADIUS;
-    case  4 : return TDataXtd_TANGENT;
-    case  5 : return TDataXtd_PARALLEL;
-    case  6 : return TDataXtd_PERPENDICULAR;
-    case  7 : return TDataXtd_CONCENTRIC;
-    case  8 : return TDataXtd_COINCIDENT;
-    case  9 : return TDataXtd_DISTANCE;
-    case 10 : return TDataXtd_ANGLE; 
-    case 11 : return TDataXtd_EQUAL_RADIUS;
-    case 12 : return TDataXtd_SYMMETRY;
-    case 13 : return TDataXtd_MIDPOINT;       
-    case 14 : return TDataXtd_EQUAL_DISTANCE;
-    case 15 : return TDataXtd_FIX;   
-    case 16 : return TDataXtd_RIGID; 
-      // placement constraints
-    case 17 : return TDataXtd_FROM; 
-    case 18 : return TDataXtd_AXIS; 
-    case 19 : return TDataXtd_MATE;   
-    case 20 : return TDataXtd_ALIGN_FACES;
-    case 21 : return TDataXtd_ALIGN_AXES;
-    case 22 : return TDataXtd_AXES_ANGLE;
-    case 23 : return TDataXtd_FACES_ANGLE;
-    case 24 : return TDataXtd_ROUND;  
-    case 25 : return TDataXtd_OFFSET; 
-      default :
-       Standard_DomainError::Raise("TDataXtd_ConstraintEnum; enum term unknown ");
-    }
-  return TDataXtd_TANGENT;
-}
-
-//=======================================================================
-//function : GeometryTypeToInteger
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataXtd::GeometryTypeToInteger(const TDataXtd_GeometryEnum e) 
-{
-  switch (e) {
-  case TDataXtd_ANY_GEOM : return  0;
-  case TDataXtd_POINT    : return  1;
-  case TDataXtd_LINE     : return  2;
-  case TDataXtd_CIRCLE   : return  3;
-  case TDataXtd_ELLIPSE  : return  4;
-    
-  default:
-    Standard_DomainError::Raise("TDataXtd_GeometryEnum; enum term unknown");
-  }
-  return 0;
-}
-
-//=======================================================================
-//function : IntegerToGeometryType
-//purpose  : 
-//=======================================================================
-
-TDataXtd_GeometryEnum MDataXtd::IntegerToGeometryType(const Standard_Integer i) 
-{
-  switch(i)
-    {
-    case  0 : return TDataXtd_ANY_GEOM;
-    case  1 : return TDataXtd_POINT;
-    case  2 : return TDataXtd_LINE;
-    case  3 : return TDataXtd_CIRCLE;
-    case  4 : return TDataXtd_ELLIPSE;
-
-      default :
-       Standard_DomainError::Raise("TDataXtd_GeometryEnum; enum term unknown ");
-    }
-  return TDataXtd_ANY_GEOM;
-}
-
-Handle(Geom_Geometry) MDataXtd::Translate (const Handle(PGeom_Geometry)& Geometry) {
-  Handle(Standard_Type) GeometryType = Geometry->DynamicType ();
-
-  if (GeometryType == STANDARD_TYPE(PGeom_Surface)) {
-    Handle(PGeom_Surface)& Surface = (Handle(PGeom_Surface)&) Geometry;
-    return MgtGeom::Translate (Surface);
-  }
-  else if (GeometryType == STANDARD_TYPE(PGeom_Curve)) {
-    Handle(PGeom_Curve)& Curve = (Handle(PGeom_Curve)&) Geometry;
-    return MgtGeom::Translate (Curve);
-  }
-  else if (GeometryType == STANDARD_TYPE(PGeom_Point)) {
-    Handle(PGeom_Point)& Point = (Handle(PGeom_Point)&) Geometry;
-    return MgtGeom::Translate (Point);
-  }
-  else if (GeometryType == STANDARD_TYPE(PGeom_Axis1Placement)) {
-    Handle(PGeom_Axis1Placement)& Axis1 = (Handle(PGeom_Axis1Placement)&) Geometry;
-    return MgtGeom::Translate (Axis1);
-  }
-  else if (GeometryType == STANDARD_TYPE(Geom_Axis2Placement)) {
-    Handle(PGeom_Axis2Placement)& Axis2 = (Handle(PGeom_Axis2Placement)&) Geometry;
-    return MgtGeom::Translate (Axis2);
-  }
-  else if (GeometryType == STANDARD_TYPE(PGeom_Direction)) {
-    Handle(PGeom_Direction)& Dir = (Handle(PGeom_Direction)&) Geometry;
-    return MgtGeom::Translate (Dir);
-  }
-  else if (GeometryType == STANDARD_TYPE(PGeom_VectorWithMagnitude)) {
-    Handle(PGeom_VectorWithMagnitude)& Vec = (Handle(PGeom_VectorWithMagnitude)&) Geometry;
-    return MgtGeom::Translate (Vec);
-  }
-  else {
-    Standard_NullObject::Raise("No mapping for the current Persistent Geometry");
-  }
-
-  Handle(Geom_Surface) dummy;
-  return dummy;
-}
-
-
-Handle(PGeom_Geometry) MDataXtd::Translate (const Handle(Geom_Geometry)& Geometry) {
-
-  Handle(Standard_Type) GeometryType = Geometry->DynamicType ();
-
-  if (GeometryType == STANDARD_TYPE(Geom_Surface)) {
-    Handle(Geom_Surface)& Surface = (Handle(Geom_Surface)&) Geometry;
-    return MgtGeom::Translate (Surface);
-  }
-  else if (GeometryType == STANDARD_TYPE(Geom_Curve)) {
-    Handle(Geom_Curve)& Curve = (Handle(Geom_Curve)&) Geometry;
-    return MgtGeom::Translate (Curve);
-  }
-  else if (GeometryType == STANDARD_TYPE(Geom_Point)) {
-    Handle(Geom_Point)& Point = (Handle(Geom_Point)&) Geometry;
-    return MgtGeom::Translate (Point);
-  }
-  else if (GeometryType == STANDARD_TYPE(Geom_Axis1Placement)) {
-    Handle(Geom_Axis1Placement)& Axis1 = (Handle(Geom_Axis1Placement)&) Geometry;
-    return MgtGeom::Translate (Axis1);
-  }
-  else if (GeometryType == STANDARD_TYPE(Geom_Axis2Placement)) {
-    Handle(Geom_Axis2Placement)& Axis2 = (Handle(Geom_Axis2Placement)&) Geometry;
-    return MgtGeom::Translate (Axis2);
-  }
-  else if (GeometryType == STANDARD_TYPE(Geom_Direction)) {
-    Handle(Geom_Direction)& Dir = (Handle(Geom_Direction)&) Geometry;
-    return MgtGeom::Translate (Dir);
-  }
-  else if (GeometryType == STANDARD_TYPE(Geom_VectorWithMagnitude)) {
-    Handle(Geom_VectorWithMagnitude)& Vec = (Handle(Geom_VectorWithMagnitude)&) Geometry;
-    return MgtGeom::Translate (Vec);
-  }
-  else {
-    Standard_NullObject::Raise("No mapping for the current Transient Geometry");
-  }
-
-  Handle(PGeom_Surface) dummy;
-  return dummy;
-}
-
-
-
diff --git a/src/MDataXtd/MDataXtd_AxisRetrievalDriver.cdl b/src/MDataXtd/MDataXtd_AxisRetrievalDriver.cdl
deleted file mode 100644 (file)
index 39d66a2..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
--- Created on: 1997-08-07
--- Created by: VAUTHIER Jean-Claude 
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-
-
-class AxisRetrievalDriver from MDataXtd  inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF, 
-     MessageDriver    from CDM
-
-is
-
-
-    Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
-    returns AxisRetrievalDriver from MDataXtd;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Axis from PDataXtd.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-end AxisRetrievalDriver;
diff --git a/src/MDataXtd/MDataXtd_AxisRetrievalDriver.cxx b/src/MDataXtd/MDataXtd_AxisRetrievalDriver.cxx
deleted file mode 100644 (file)
index 53ac04c..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataXtd_AxisRetrievalDriver.ixx>
-#include <PDataXtd_Axis.hxx>
-#include <TDataXtd_Axis.hxx>
-#include <CDM_MessageDriver.hxx>
-
-MDataXtd_AxisRetrievalDriver::MDataXtd_AxisRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-}
-
-Standard_Integer MDataXtd_AxisRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-Handle(Standard_Type) MDataXtd_AxisRetrievalDriver::SourceType() const
-{ return STANDARD_TYPE(PDataXtd_Axis); }
-
-Handle(TDF_Attribute) MDataXtd_AxisRetrievalDriver::NewEmpty() const
-{ return new TDataXtd_Axis (); }
-
-//void MDataXtd_AxisRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,const Handle(TDF_Attribute)& Target,const Handle(MDF_RRelocationTable)& RelocTable) const
-void MDataXtd_AxisRetrievalDriver::Paste(const Handle(PDF_Attribute)& ,const Handle(TDF_Attribute)& ,const Handle(MDF_RRelocationTable)& ) const
-{
-}
-
diff --git a/src/MDataXtd/MDataXtd_AxisStorageDriver.cdl b/src/MDataXtd/MDataXtd_AxisStorageDriver.cdl
deleted file mode 100644 (file)
index bb48631..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
--- Created on: 1997-08-07
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-class AxisStorageDriver from MDataXtd inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-
-
-is
-
-    Create (theMessageDriver : MessageDriver from CDM)
-    returns AxisStorageDriver from MDataXtd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Integer from TDataStd.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end AxisStorageDriver;
-
diff --git a/src/MDataXtd/MDataXtd_AxisStorageDriver.cxx b/src/MDataXtd/MDataXtd_AxisStorageDriver.cxx
deleted file mode 100644 (file)
index e27fcb1..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataXtd_AxisStorageDriver.ixx>
-#include <PDataXtd_Axis.hxx>
-#include <TDataXtd_Axis.hxx>
-#include <CDM_MessageDriver.hxx>
-
-MDataXtd_AxisStorageDriver::MDataXtd_AxisStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-}
- Standard_Integer MDataXtd_AxisStorageDriver::VersionNumber() const
-{ return 0; }
-
-Handle(Standard_Type) MDataXtd_AxisStorageDriver::SourceType() const
-{ return STANDARD_TYPE(TDataXtd_Axis); }
-
-Handle(PDF_Attribute) MDataXtd_AxisStorageDriver::NewEmpty() const
-{ return new PDataXtd_Axis (); }
-
-//void MDataXtd_AxisStorageDriver::Paste(const Handle(TDF_Attribute)& Source,const Handle(PDF_Attribute)& Target,const Handle(MDF_SRelocationTable)& RelocTable) const
-void MDataXtd_AxisStorageDriver::Paste(const Handle(TDF_Attribute)& ,const Handle(PDF_Attribute)& ,const Handle(MDF_SRelocationTable)& ) const
-{
-}
-
diff --git a/src/MDataXtd/MDataXtd_ConstraintRetrievalDriver.cdl b/src/MDataXtd/MDataXtd_ConstraintRetrievalDriver.cdl
deleted file mode 100644 (file)
index b5feb9b..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
--- Created on: 1997-08-07
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-
-
-
-class ConstraintRetrievalDriver from MDataXtd  inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF, 
-     MessageDriver    from CDM
-
-is
-
-
-    Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
-    returns ConstraintRetrievalDriver from MDataXtd;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Constraint from PDataXtd.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-end ConstraintRetrievalDriver;
diff --git a/src/MDataXtd/MDataXtd_ConstraintRetrievalDriver.cxx b/src/MDataXtd/MDataXtd_ConstraintRetrievalDriver.cxx
deleted file mode 100644 (file)
index b7990e0..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataXtd_ConstraintRetrievalDriver.ixx>
-#include <MDataXtd.hxx>
-#include <PDataXtd_Constraint.hxx>
-#include <TDataXtd_Constraint.hxx>
-#include <TDataXtd_ConstraintEnum.hxx>
-#include <TNaming_NamedShape.hxx>
-#include <PNaming_NamedShape.hxx>
-#include <PDF_HAttributeArray1.hxx>
-#include <Standard_NoSuchObject.hxx>
-#include <Standard_DomainError.hxx>
-#include <CDM_MessageDriver.hxx>
-
-
-//=======================================================================
-//function : MDataXtd_ConstraintRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-MDataXtd_ConstraintRetrievalDriver::MDataXtd_ConstraintRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataXtd_ConstraintRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataXtd_ConstraintRetrievalDriver::SourceType() const
-{ return STANDARD_TYPE(PDataXtd_Constraint);  }
-
-
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MDataXtd_ConstraintRetrievalDriver::NewEmpty() const
-{ return new TDataXtd_Constraint (); }
-
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataXtd_ConstraintRetrievalDriver::Paste (
-  const Handle(PDF_Attribute)&        Source,
-  const Handle(TDF_Attribute)&        Target,
-  const Handle(MDF_RRelocationTable)& RelocTable) const
-{
-  Handle(PDataXtd_Constraint) S = 
-     Handle(PDataXtd_Constraint)::DownCast (Source);
-  Handle(TDataXtd_Constraint) T = 
-    Handle(TDataXtd_Constraint)::DownCast (Target);
-
-  Handle(TDataStd_Real) TValue;
-  Handle(PDataStd_Real) Value = S->GetValue ();
-  if (!Value.IsNull ()) {
-    if (!RelocTable->HasRelocation(Value, TValue )) {
-      Standard_NoSuchObject::Raise("MDataXtd_ConstraintRetrievalDriver::Paste");
-    }
-    T->SetValue(TValue);
-  }
-  
-  Handle(PDF_HAttributeArray1) PGeometries = S->GetGeometries ();
-  if (!PGeometries.IsNull()) {
-    for (Standard_Integer i = 1; i <= PGeometries->Length (); i++) {
-      Handle(PDF_Attribute) PG = PGeometries->Value (i);
-      if (!PG.IsNull ()) {
-       Handle(TNaming_NamedShape) G;
-       if (!RelocTable->HasRelocation (PG, G)) {
-         Standard_NoSuchObject::Raise("MDataXtd_ConstraintRetrievalDriver::Paste");
-       }
-       T->SetGeometry (i, G);
-      }
-    }
-  }
-
-
-  Handle(PNaming_NamedShape) PPlane = S->GetPlane();
-  Handle(TNaming_NamedShape) TPlane;
-  if (!PPlane.IsNull()) {
-    if (!RelocTable->HasRelocation (PPlane, TPlane )) {
-      Standard_NoSuchObject::Raise("MDataXtd_ConstraintStorageDriver::Paste");
-    }
-    T->SetPlane(TPlane);
-  }
-  T->SetType (MDataXtd::IntegerToConstraintType (S->GetType ()));
-  T->Verified(S->Verified());
-  T->Inverted(S->Inverted());
-  T->Reversed(S->Reversed());
-}
-
-
-
diff --git a/src/MDataXtd/MDataXtd_ConstraintStorageDriver.cdl b/src/MDataXtd/MDataXtd_ConstraintStorageDriver.cdl
deleted file mode 100644 (file)
index 496a8f9..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
--- Created on: 1997-08-07
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-class ConstraintStorageDriver from MDataXtd inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-
-
-is
-
-    Create (theMessageDriver : MessageDriver from CDM) 
-    returns ConstraintStorageDriver from MDataXtd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Integer from TDataStd.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end ConstraintStorageDriver;
-
diff --git a/src/MDataXtd/MDataXtd_ConstraintStorageDriver.cxx b/src/MDataXtd/MDataXtd_ConstraintStorageDriver.cxx
deleted file mode 100644 (file)
index 56bdd75..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataXtd_ConstraintStorageDriver.ixx>
-#include <PDataXtd_Constraint.hxx>
-#include <TDataXtd_Constraint.hxx>
-#include <TNaming_NamedShape.hxx>
-#include <PNaming_NamedShape.hxx>
-#include <PDF_HAttributeArray1.hxx>
-#include <Standard_NoSuchObject.hxx>
-#include <TDataXtd_ConstraintEnum.hxx>
-#include <Standard_NoSuchObject.hxx>
-#include <Standard_DomainError.hxx>
-#include <MDataXtd.hxx>
-#include <CDM_MessageDriver.hxx>
-
-
-
-//=======================================================================
-//function : MDataXtd_ConstraintStorageDriver
-//purpose  : 
-//=======================================================================
-
-MDataXtd_ConstraintStorageDriver::MDataXtd_ConstraintStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-}
-
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataXtd_ConstraintStorageDriver::VersionNumber() const
-{ return 0; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataXtd_ConstraintStorageDriver::SourceType() const
-{ return STANDARD_TYPE (TDataXtd_Constraint); }
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(PDF_Attribute) MDataXtd_ConstraintStorageDriver::NewEmpty() const
-{ return new PDataXtd_Constraint; }
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataXtd_ConstraintStorageDriver::Paste (
-  const Handle(TDF_Attribute)&        Source,
-  const Handle(PDF_Attribute)&        Target,
-  const Handle(MDF_SRelocationTable)& RelocTable) const
-{
-  Handle(TDataXtd_Constraint) S = 
-     Handle(TDataXtd_Constraint)::DownCast (Source);
-  Handle(PDataXtd_Constraint) T = 
-    Handle(PDataXtd_Constraint)::DownCast (Target);
-
-  Handle(PDataStd_Real) TValue;
-  Handle(TDataStd_Real) Value = S->GetValue ();
-  if (!Value.IsNull ()) {
-    if (!RelocTable->HasRelocation (Value, TValue )) {
-      Standard_NoSuchObject::Raise("MDataXtd_ConstraintStorageDriver::Paste");
-    }
-    T->Set (TValue);
-  }
-
-  Standard_Integer NbGeom = S->NbGeometries ();
-  if (NbGeom >= 1) {
-    Handle(PDF_HAttributeArray1) PGeometries = new PDF_HAttributeArray1 (1, NbGeom);
-    for (Standard_Integer i = 1; i <= NbGeom; i++) {
-      Handle(PDF_Attribute) PG;
-      if (!S->GetGeometry (i).IsNull()) {
-       if(!RelocTable->HasRelocation (S->GetGeometry (i), PG)) {
-         Standard_NoSuchObject::Raise("MDataXtd_ConstraintStorageDriver::Paste");
-       }
-      }
-      PGeometries->SetValue (i,PG);
-    }
-    T->SetGeometries (PGeometries);
-  }
-
-  Handle(TNaming_NamedShape) TPlane = S->GetPlane();
-  Handle(PNaming_NamedShape) PPlane;
-  if (!TPlane.IsNull()) {
-    if (!RelocTable->HasRelocation (TPlane, PPlane )) {
-      Standard_NoSuchObject::Raise("MDataXtd_ConstraintStorageDriver::Paste");
-    }
-    T->SetPlane(PPlane);
-  }
-  
-  T->SetType (MDataXtd::ConstraintTypeToInteger(S->GetType ()));
-  T->Verified(S->Verified());
-  T->Inverted(S->Inverted());
-  T->Reversed(S->Reversed());
-}
-
-
-
-
-
diff --git a/src/MDataXtd/MDataXtd_GeometryRetrievalDriver.cdl b/src/MDataXtd/MDataXtd_GeometryRetrievalDriver.cdl
deleted file mode 100644 (file)
index 2780cb1..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
--- Created on: 1997-11-19
--- Created by: Denis PASCAL
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-
-
-class GeometryRetrievalDriver from MDataXtd  inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF, 
-     MessageDriver    from CDM
-
-is
-
-
-    Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
-    returns GeometryRetrievalDriver from MDataXtd;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Geometry from PDataXtd.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-end GeometryRetrievalDriver;
diff --git a/src/MDataXtd/MDataXtd_GeometryRetrievalDriver.cxx b/src/MDataXtd/MDataXtd_GeometryRetrievalDriver.cxx
deleted file mode 100644 (file)
index f2e5ae4..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// Created on: 1997-11-19
-// Created by: Denis PASCAL
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataXtd_GeometryRetrievalDriver.ixx>
-#include <TDataXtd_GeometryEnum.hxx>
-#include <TDataXtd_Geometry.hxx>
-#include <PDataXtd_Geometry.hxx>
-#include <MDataXtd.hxx>
-#include <CDM_MessageDriver.hxx>
-
-
-
-//=======================================================================
-//function : MDataXtd_GeometryRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-MDataXtd_GeometryRetrievalDriver::MDataXtd_GeometryRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataXtd_GeometryRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataXtd_GeometryRetrievalDriver::SourceType() const
-{ return STANDARD_TYPE(PDataXtd_Geometry);  }
-
-
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MDataXtd_GeometryRetrievalDriver::NewEmpty() const
-{ return new TDataXtd_Geometry (); }
-
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataXtd_GeometryRetrievalDriver::Paste (
-  const Handle(PDF_Attribute)&        Source,
-  const Handle(TDF_Attribute)&        Target,
-//  const Handle(MDF_RRelocationTable)& RelocTable) const
-  const Handle(MDF_RRelocationTable)& ) const
-{
-  Handle(PDataXtd_Geometry) S = 
-     Handle(PDataXtd_Geometry)::DownCast (Source);
-  Handle(TDataXtd_Geometry) T = 
-    Handle(TDataXtd_Geometry)::DownCast (Target);
-
-  T->SetType (MDataXtd::IntegerToGeometryType (S->GetType ()));
-}
-
-
-
diff --git a/src/MDataXtd/MDataXtd_GeometryStorageDriver.cdl b/src/MDataXtd/MDataXtd_GeometryStorageDriver.cdl
deleted file mode 100644 (file)
index cc3c59d..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
--- Created on: 1997-11-19
--- Created by: Denis PASCAL
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-
-class GeometryStorageDriver from MDataXtd inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM) 
-    returns GeometryStorageDriver from MDataXtd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Integer from TDataStd.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end GeometryStorageDriver;
-
diff --git a/src/MDataXtd/MDataXtd_GeometryStorageDriver.cxx b/src/MDataXtd/MDataXtd_GeometryStorageDriver.cxx
deleted file mode 100644 (file)
index a0dfced..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// Created on: 1997-11-19
-// Created by: Denis PASCAL
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataXtd_GeometryStorageDriver.ixx> 
-#include <TDataXtd_GeometryEnum.hxx>
-#include <MDataXtd.hxx>
-#include <TDataXtd_Geometry.hxx>
-#include <PDataXtd_Geometry.hxx>
-#include <CDM_MessageDriver.hxx>
-
-
-//=======================================================================
-//function : MDataXtd_GeometryStorageDriver
-//purpose  : 
-//=======================================================================
-
-MDataXtd_GeometryStorageDriver::MDataXtd_GeometryStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-}
-
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataXtd_GeometryStorageDriver::VersionNumber() const
-{ return 0; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataXtd_GeometryStorageDriver::SourceType() const
-{ return STANDARD_TYPE (TDataXtd_Geometry); }
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(PDF_Attribute) MDataXtd_GeometryStorageDriver::NewEmpty() const
-{ return new PDataXtd_Geometry; }
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataXtd_GeometryStorageDriver::Paste (
-  const Handle(TDF_Attribute)&        Source,
-  const Handle(PDF_Attribute)&        Target,
-//  const Handle(MDF_SRelocationTable)& RelocTable) const
-  const Handle(MDF_SRelocationTable)& ) const
-{
-  Handle(TDataXtd_Geometry) S = 
-     Handle(TDataXtd_Geometry)::DownCast (Source);
-  Handle(PDataXtd_Geometry) T = 
-    Handle(PDataXtd_Geometry)::DownCast (Target);
-  
-  T->SetType (MDataXtd::GeometryTypeToInteger(S->GetType ()));
-
-}
-
-
-
-
-
diff --git a/src/MDataXtd/MDataXtd_PatternStdRetrievalDriver.cdl b/src/MDataXtd/MDataXtd_PatternStdRetrievalDriver.cdl
deleted file mode 100644 (file)
index c336fcc..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
--- Created on: 1998-02-16
--- Created by: Jing Cheng MEI
--- Copyright (c) 1998-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-class PatternStdRetrievalDriver from MDataXtd  inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF, 
-     MessageDriver    from CDM
-
-is
-
-
-    Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
-    returns PatternStdRetrievalDriver from MDataXtd;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: PatternStd from PDataXtd.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-end PatternStdRetrievalDriver;
-
diff --git a/src/MDataXtd/MDataXtd_PatternStdRetrievalDriver.cxx b/src/MDataXtd/MDataXtd_PatternStdRetrievalDriver.cxx
deleted file mode 100644 (file)
index 711045e..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
-// Created on: 1998-02-16
-// Created by: Jing Cheng MEI
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataXtd_PatternStdRetrievalDriver.ixx>
-#include <PDataXtd_PatternStd.hxx>
-#include <TDataXtd_PatternStd.hxx>
-#include <CDM_MessageDriver.hxx>
-
-
-//=======================================================================
-//function : MDataXtd_PatternStd
-//purpose  : 
-//=======================================================================
-
-MDataXtd_PatternStdRetrievalDriver::MDataXtd_PatternStdRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataXtd_PatternStdRetrievalDriver::VersionNumber() const
-{
-  return 0; 
-}
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataXtd_PatternStdRetrievalDriver::SourceType() const
-{
-  return STANDARD_TYPE(PDataXtd_PatternStd);  
-}
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MDataXtd_PatternStdRetrievalDriver::NewEmpty() const
-{
-  return new TDataXtd_PatternStd (); 
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataXtd_PatternStdRetrievalDriver::Paste (const Handle(PDF_Attribute)&        Source,
-                                               const Handle(TDF_Attribute)&        Target,
-                                               const Handle(MDF_RRelocationTable)& RRelocTable) const
-{
-  Handle(PDataXtd_PatternStd) S = Handle(PDataXtd_PatternStd)::DownCast (Source);
-  Handle(TDataXtd_PatternStd) T = Handle(TDataXtd_PatternStd)::DownCast (Target);
-  
-  T->Signature(S->Signature());
-  T->Axis1Reversed(S->Axis1Reversed());
-  T->Axis2Reversed(S->Axis2Reversed());
-  
-  Standard_Integer signature = S->Signature();
-  
-  Handle(PNaming_NamedShape) PNS; 
-  Handle(TNaming_NamedShape) TNS;
-  Handle(PDataStd_Real) PReal;
-  Handle(TDataStd_Real) TReal;
-  Handle(PDataStd_Integer) PInt;
-  Handle(TDataStd_Integer) TInt;
-  
-  if (signature < 5) {
-    PNS = S->Axis1();
-    RRelocTable->HasRelocation(PNS, TNS);
-    T->Axis1(TNS);
-    PReal = S->Value1();
-    RRelocTable->HasRelocation(PReal, TReal);
-    T->Value1(TReal);
-    PInt = S->NbInstances1();
-    RRelocTable->HasRelocation(PInt, TInt);
-    T->NbInstances1(TInt);
-    
-    if (signature > 2) {
-      PNS = S->Axis2();
-      RRelocTable->HasRelocation(PNS, TNS);
-      T->Axis2(TNS);
-      PReal = S->Value2();
-      RRelocTable->HasRelocation(PReal, TReal);
-      T->Value2(TReal);
-      PInt = S->NbInstances2();
-      RRelocTable->HasRelocation(PInt, TInt);
-      T->NbInstances2(TInt);
-    }
-  }
-  else {
-    PNS = S->Mirror();
-    RRelocTable->HasRelocation(PNS, TNS);
-    T->Mirror(TNS);
-  }
-}
diff --git a/src/MDataXtd/MDataXtd_PatternStdStorageDriver.cdl b/src/MDataXtd/MDataXtd_PatternStdStorageDriver.cdl
deleted file mode 100644 (file)
index d150e54..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
--- Created on: 1998-02-16
--- Created by: Jing Cheng MEI
--- Copyright (c) 1998-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-
-class PatternStdStorageDriver from MDataXtd inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-
-
-is
-
-    Create (theMessageDriver : MessageDriver from CDM)
-    returns PatternStdStorageDriver from MDataXtd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Integer from TDataStd.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end PatternStdStorageDriver;
-
-
-
diff --git a/src/MDataXtd/MDataXtd_PatternStdStorageDriver.cxx b/src/MDataXtd/MDataXtd_PatternStdStorageDriver.cxx
deleted file mode 100644 (file)
index ea89069..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-// Created on: 1998-02-16
-// Created by: Jing Cheng MEI
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataXtd_PatternStdStorageDriver.ixx>
-#include <PDataXtd_PatternStd.hxx>
-#include <TDataXtd_PatternStd.hxx>
-#include <CDM_MessageDriver.hxx>
-
-
-//=======================================================================
-//function : MDataXtd_PatternStdStorageDriver
-//purpose  : 
-//=======================================================================
-
-MDataXtd_PatternStdStorageDriver::MDataXtd_PatternStdStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataXtd_PatternStdStorageDriver::VersionNumber() const
-{
-  return 0; 
-}
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataXtd_PatternStdStorageDriver::SourceType() const
-{ 
-  return STANDARD_TYPE(TDataXtd_PatternStd);
-}
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(PDF_Attribute) MDataXtd_PatternStdStorageDriver::NewEmpty() const
-{
-  return new PDataXtd_PatternStd ();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataXtd_PatternStdStorageDriver::Paste (const Handle(TDF_Attribute)&        Source,
-                                             const Handle(PDF_Attribute)&        Target,
-                                             const Handle(MDF_SRelocationTable)& SRelocTable) const
-{
-  Handle(TDataXtd_PatternStd) S = Handle(TDataXtd_PatternStd)::DownCast (Source);
-  Handle(PDataXtd_PatternStd) T = Handle(PDataXtd_PatternStd)::DownCast (Target);
-  
-  T->Signature(S->Signature());
-  T->Axis1Reversed(S->Axis1Reversed());
-  T->Axis2Reversed(S->Axis2Reversed());
-  
-  Standard_Integer signature = S->Signature();
-  
-  Handle(TNaming_NamedShape) TNS;
-  Handle(PNaming_NamedShape) PNS; 
-  Handle(TDataStd_Real) TReal;
-  Handle(PDataStd_Real) PReal;
-  Handle(TDataStd_Integer) TInt;
-  Handle(PDataStd_Integer) PInt;
-  
-  if (signature < 5) {
-    TNS = S->Axis1();
-    SRelocTable->HasRelocation(TNS, PNS);
-    T->Axis1(PNS);
-    TReal = S->Value1();
-    SRelocTable->HasRelocation(TReal, PReal);
-    T->Value1(PReal);
-    TInt = S->NbInstances1();
-    SRelocTable->HasRelocation(TInt, PInt);
-    T->NbInstances1(PInt);
-    
-    if (signature > 2) {
-      TNS = S->Axis2();
-      SRelocTable->HasRelocation(TNS, PNS);
-      T->Axis2(PNS);
-      TReal = S->Value2();
-      SRelocTable->HasRelocation(TReal, PReal);
-      T->Value2(PReal);
-      TInt = S->NbInstances2();
-      SRelocTable->HasRelocation(TInt, PInt);
-      T->NbInstances2(PInt);
-    }
-  }
-  else {
-    TNS = S->Mirror();
-    SRelocTable->HasRelocation(TNS, PNS);
-    T->Mirror(PNS);
-  }
-}
-
-
-
diff --git a/src/MDataXtd/MDataXtd_PlacementRetrievalDriver.cdl b/src/MDataXtd/MDataXtd_PlacementRetrievalDriver.cdl
deleted file mode 100644 (file)
index 7687c41..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
--- Created on: 1997-08-07
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-
-class PlacementRetrievalDriver from MDataXtd  inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF, 
-     MessageDriver    from CDM
-
-is
-
-
-    Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
-    returns PlacementRetrievalDriver from MDataXtd;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Placement from PDataXtd.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-end PlacementRetrievalDriver;
diff --git a/src/MDataXtd/MDataXtd_PlacementRetrievalDriver.cxx b/src/MDataXtd/MDataXtd_PlacementRetrievalDriver.cxx
deleted file mode 100644 (file)
index cec7c19..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataXtd_PlacementRetrievalDriver.ixx>
-#include <PDataXtd_Placement.hxx>
-#include <TDataXtd_Placement.hxx>
-#include <CDM_MessageDriver.hxx>
-
-
-//=======================================================================
-//function : MDataXtd_PlacementRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-MDataXtd_PlacementRetrievalDriver::MDataXtd_PlacementRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-}
-
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataXtd_PlacementRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataXtd_PlacementRetrievalDriver::SourceType() const
-{ return STANDARD_TYPE(PDataXtd_Placement);
-}
-
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MDataXtd_PlacementRetrievalDriver::NewEmpty() const
-{ return new TDataXtd_Placement; }
-
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataXtd_PlacementRetrievalDriver::Paste (
-//  const Handle(PDF_Attribute)&        Source,
-  const Handle(PDF_Attribute)&        ,
-//  const Handle(TDF_Attribute)&        Target,
-  const Handle(TDF_Attribute)&        ,
-//  const Handle(MDF_RRelocationTable)& RelocTable) const
-  const Handle(MDF_RRelocationTable)& ) const
-{
-}
diff --git a/src/MDataXtd/MDataXtd_PlacementStorageDriver.cdl b/src/MDataXtd/MDataXtd_PlacementStorageDriver.cdl
deleted file mode 100644 (file)
index dc7510c..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
--- Created on: 1997-08-07
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-class PlacementStorageDriver from MDataXtd inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-
-is
-
-    Create (theMessageDriver : MessageDriver from CDM) 
-    returns PlacementStorageDriver from MDataXtd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Integer from TDataStd.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end PlacementStorageDriver;
-
diff --git a/src/MDataXtd/MDataXtd_PlacementStorageDriver.cxx b/src/MDataXtd/MDataXtd_PlacementStorageDriver.cxx
deleted file mode 100644 (file)
index ea378dd..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataXtd_PlacementStorageDriver.ixx>
-#include <PDataXtd_Placement.hxx>
-#include <TDataXtd_Placement.hxx>
-#include <CDM_MessageDriver.hxx>
-
-
-//=======================================================================
-//function : MDataXtd_PlacementStorageDriver
-//purpose  : 
-//=======================================================================
-
-MDataXtd_PlacementStorageDriver::MDataXtd_PlacementStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-}
-
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDataXtd_PlacementStorageDriver::VersionNumber() const
-{ return 0; }
-
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDataXtd_PlacementStorageDriver::SourceType() const
-{ return STANDARD_TYPE(TDataXtd_Placement); }
-
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(PDF_Attribute) MDataXtd_PlacementStorageDriver::NewEmpty() const
-{ return new PDataXtd_Placement; }
-
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDataXtd_PlacementStorageDriver::Paste (
-//  const Handle(TDF_Attribute)&        Source,
-  const Handle(TDF_Attribute)&        ,
-//  const Handle(PDF_Attribute)&        Target,
-  const Handle(PDF_Attribute)&        ,
-//  const Handle(MDF_SRelocationTable)& RelocTable) const
-  const Handle(MDF_SRelocationTable)& ) const
-{
-}
-
diff --git a/src/MDataXtd/MDataXtd_PlaneRetrievalDriver.cdl b/src/MDataXtd/MDataXtd_PlaneRetrievalDriver.cdl
deleted file mode 100644 (file)
index 10da829..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
--- Created on: 1997-08-07
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-
-class PlaneRetrievalDriver from MDataXtd  inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF, 
-     MessageDriver    from CDM
-is
-
-
-    Create (theMessageDriver : MessageDriver from CDM) -- Version 0
-    returns PlaneRetrievalDriver from MDataXtd;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Plane from PDataXtd.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-end PlaneRetrievalDriver;
diff --git a/src/MDataXtd/MDataXtd_PlaneRetrievalDriver.cxx b/src/MDataXtd/MDataXtd_PlaneRetrievalDriver.cxx
deleted file mode 100644 (file)
index c543e60..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataXtd_PlaneRetrievalDriver.ixx>
-#include <PDataXtd_Plane.hxx>
-#include <TDataXtd_Plane.hxx>
-#include <CDM_MessageDriver.hxx>
-
-MDataXtd_PlaneRetrievalDriver::MDataXtd_PlaneRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-}
-
-Standard_Integer MDataXtd_PlaneRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-Handle(Standard_Type) MDataXtd_PlaneRetrievalDriver::SourceType() const
-{ return STANDARD_TYPE (PDataXtd_Plane); }
-
-Handle(TDF_Attribute) MDataXtd_PlaneRetrievalDriver::NewEmpty() const
-{ return new TDataXtd_Plane; }
-
-//void MDataXtd_PlaneRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,const Handle(TDF_Attribute)& Target,const Handle(MDF_RRelocationTable)& RelocTable) const
-void MDataXtd_PlaneRetrievalDriver::Paste(const Handle(PDF_Attribute)& ,const Handle(TDF_Attribute)& ,const Handle(MDF_RRelocationTable)& ) const
-{
-}
-
diff --git a/src/MDataXtd/MDataXtd_PlaneStorageDriver.cdl b/src/MDataXtd/MDataXtd_PlaneStorageDriver.cdl
deleted file mode 100644 (file)
index 484d901..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
--- Created on: 1997-08-07
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-class PlaneStorageDriver from MDataXtd inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-
-
-is
-
-    Create (theMessageDriver : MessageDriver from CDM)
-    returns PlaneStorageDriver from MDataXtd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Integer from TDataStd.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end PlaneStorageDriver;
-
diff --git a/src/MDataXtd/MDataXtd_PlaneStorageDriver.cxx b/src/MDataXtd/MDataXtd_PlaneStorageDriver.cxx
deleted file mode 100644 (file)
index dcf90ee..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataXtd_PlaneStorageDriver.ixx>
-#include <PDataXtd_Plane.hxx>
-#include <TDataXtd_Plane.hxx>
-#include <CDM_MessageDriver.hxx>
-
-MDataXtd_PlaneStorageDriver::MDataXtd_PlaneStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-}
-
-Standard_Integer MDataXtd_PlaneStorageDriver::VersionNumber() const
-{ return 0; }
-
-Handle(Standard_Type) MDataXtd_PlaneStorageDriver::SourceType() const
-{ return STANDARD_TYPE(TDataXtd_Plane); }
-
-Handle(PDF_Attribute) MDataXtd_PlaneStorageDriver::NewEmpty() const
-{ return new PDataXtd_Plane (); }
-
-//void MDataXtd_PlaneStorageDriver::Paste(const Handle(TDF_Attribute)& Source,const Handle(PDF_Attribute)& Target,const Handle(MDF_SRelocationTable)& RelocTable) const
-void MDataXtd_PlaneStorageDriver::Paste(const Handle(TDF_Attribute)& ,const Handle(PDF_Attribute)& ,const Handle(MDF_SRelocationTable)& ) const
-{
-}
-
diff --git a/src/MDataXtd/MDataXtd_PointRetrievalDriver.cdl b/src/MDataXtd/MDataXtd_PointRetrievalDriver.cdl
deleted file mode 100644 (file)
index 623e500..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
--- Created on: 1997-08-07
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-
-class PointRetrievalDriver from MDataXtd  inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF, 
-     MessageDriver    from CDM
-
-is
-
-
-    Create (theMessageDriver : MessageDriver from CDM) -- Version 0
-    returns PointRetrievalDriver from MDataXtd;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Point from PDataXtd.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-end PointRetrievalDriver;
-
diff --git a/src/MDataXtd/MDataXtd_PointRetrievalDriver.cxx b/src/MDataXtd/MDataXtd_PointRetrievalDriver.cxx
deleted file mode 100644 (file)
index cad965d..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataXtd_PointRetrievalDriver.ixx>
-#include <PDataXtd_Point.hxx>
-#include <TDataXtd_Point.hxx>
-#include <CDM_MessageDriver.hxx>
-
-MDataXtd_PointRetrievalDriver::MDataXtd_PointRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-}
-
-Standard_Integer MDataXtd_PointRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-Handle(Standard_Type) MDataXtd_PointRetrievalDriver::SourceType() const
-{ return STANDARD_TYPE(PDataXtd_Point); }
-
-Handle(TDF_Attribute) MDataXtd_PointRetrievalDriver::NewEmpty() const
-{ return new TDataXtd_Point (); }
-
-//void MDataXtd_PointRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,const Handle(TDF_Attribute)& Target,const Handle(MDF_RRelocationTable)& RelocTable) const
-void MDataXtd_PointRetrievalDriver::Paste(const Handle(PDF_Attribute)& ,const Handle(TDF_Attribute)& ,const Handle(MDF_RRelocationTable)& ) const
-{
-}
-
diff --git a/src/MDataXtd/MDataXtd_PointStorageDriver.cdl b/src/MDataXtd/MDataXtd_PointStorageDriver.cdl
deleted file mode 100644 (file)
index 96ce49c..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
--- Created on: 1997-08-07
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-class PointStorageDriver from MDataXtd inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-
-
-is
-
-    Create (theMessageDriver : MessageDriver from CDM)
-    returns PointStorageDriver from MDataXtd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Integer from TDataStd.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end PointStorageDriver;
-
-
-
diff --git a/src/MDataXtd/MDataXtd_PointStorageDriver.cxx b/src/MDataXtd/MDataXtd_PointStorageDriver.cxx
deleted file mode 100644 (file)
index dfdf51a..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataXtd_PointStorageDriver.ixx>
-#include <PDataXtd_Point.hxx>
-#include <TDataXtd_Point.hxx>
-#include <CDM_MessageDriver.hxx>
-
-MDataXtd_PointStorageDriver::MDataXtd_PointStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver) {}
-
-Standard_Integer MDataXtd_PointStorageDriver::VersionNumber() const
-
-{ return 0; }
-
-Handle(Standard_Type) MDataXtd_PointStorageDriver::SourceType() const
-{ return STANDARD_TYPE(TDataXtd_Point);}
-
-Handle(PDF_Attribute) MDataXtd_PointStorageDriver::NewEmpty() const
-{ return new PDataXtd_Point (); }
-
-//void MDataXtd_PointStorageDriver::Paste(const Handle(TDF_Attribute)& Source,const Handle(PDF_Attribute)& Target,const Handle(MDF_SRelocationTable)& RelocTable) const
-void MDataXtd_PointStorageDriver::Paste(const Handle(TDF_Attribute)& ,const Handle(PDF_Attribute)& ,const Handle(MDF_SRelocationTable)& ) const
-{
-}
-
diff --git a/src/MDataXtd/MDataXtd_ShapeRetrievalDriver.cdl b/src/MDataXtd/MDataXtd_ShapeRetrievalDriver.cdl
deleted file mode 100644 (file)
index 0235248..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
--- Created on: 1999-07-01
--- Created by: Sergey RUIN
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-
-class ShapeRetrievalDriver from MDataXtd  inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF, 
-     MessageDriver    from CDM
-
-is
-
-
-    Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
-    returns ShapeRetrievalDriver from MDataXtd;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Shape from PDataXtd.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-end ShapeRetrievalDriver;
diff --git a/src/MDataXtd/MDataXtd_ShapeRetrievalDriver.cxx b/src/MDataXtd/MDataXtd_ShapeRetrievalDriver.cxx
deleted file mode 100644 (file)
index 78e53ec..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataXtd_ShapeRetrievalDriver.ixx>
-#include <PDataXtd_Shape.hxx>
-#include <TDataXtd_Shape.hxx>
-#include <CDM_MessageDriver.hxx>
-
-MDataXtd_ShapeRetrievalDriver::MDataXtd_ShapeRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{}
-
-Standard_Integer MDataXtd_ShapeRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-Handle(Standard_Type) MDataXtd_ShapeRetrievalDriver::SourceType() const
-{ return STANDARD_TYPE(PDataXtd_Shape); }
-
-Handle(TDF_Attribute) MDataXtd_ShapeRetrievalDriver::NewEmpty() const
-{ return new TDataXtd_Shape; }
-
-void MDataXtd_ShapeRetrievalDriver::Paste(const Handle(PDF_Attribute)& /*Source*/,
-                                          const Handle(TDF_Attribute)& /*Target*/,
-                                          const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
-{
-}
-
diff --git a/src/MDataXtd/MDataXtd_ShapeStorageDriver.cdl b/src/MDataXtd/MDataXtd_ShapeStorageDriver.cdl
deleted file mode 100644 (file)
index 62f4fe0..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
--- Created on: 1999-07-01
--- Created by: Sergey RUIN
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-class ShapeStorageDriver from MDataXtd inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-
-
-is
-
-    Create (theMessageDriver : MessageDriver from CDM) 
-    returns ShapeStorageDriver from MDataXtd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Integer from TDataStd.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end ShapeStorageDriver;
-
diff --git a/src/MDataXtd/MDataXtd_ShapeStorageDriver.cxx b/src/MDataXtd/MDataXtd_ShapeStorageDriver.cxx
deleted file mode 100644 (file)
index b2daee0..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDataXtd_ShapeStorageDriver.ixx>
-#include <PDataXtd_Shape.hxx>
-#include <TDataXtd_Shape.hxx>
-#include <CDM_MessageDriver.hxx>
-
-MDataXtd_ShapeStorageDriver::MDataXtd_ShapeStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-}
-
-Standard_Integer MDataXtd_ShapeStorageDriver::VersionNumber() const
-{ return 0; }
-
-Handle(Standard_Type) MDataXtd_ShapeStorageDriver::SourceType() const
-{ return STANDARD_TYPE(TDataXtd_Shape); }
-
-Handle(PDF_Attribute) MDataXtd_ShapeStorageDriver::NewEmpty() const
-{ return new PDataXtd_Shape; }
-
-//void MDataXtd_ShapeStorageDriver::Paste(const Handle(TDF_Attribute)& Source,const Handle(PDF_Attribute)& Target,const Handle(MDF_SRelocationTable)& RelocTable) const
-void MDataXtd_ShapeStorageDriver::Paste(const Handle(TDF_Attribute)& ,const Handle(PDF_Attribute)& ,const Handle(MDF_SRelocationTable)& ) const
-{
-}
-
diff --git a/src/MDocStd/MDocStd.cdl b/src/MDocStd/MDocStd.cdl
deleted file mode 100644 (file)
index 13144d3..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
--- Created on: 1999-04-15
--- Created by: Denis PASCAL
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package MDocStd 
-
-       ---Purpose: Drivers for TDocStd_Document
-
-uses TColStd, TCollection, PCollection, PTColStd,
-     CDM, PCDM,  
-     TDF, PDF, MDF,
-     TDocStd, PDocStd
-
-is
-
-    ---Category: Standard CAF Document drivers
-    --           =============================
-
-
-    class DocumentStorageDriver;
-     
-    class DocumentRetrievalDriver;
-    
-    
-    ---Category: External Reference Attribute  drivers
-    --           =====================================
-
-    class XLinkStorageDriver;
-    
-    class XLinkRetrievalDriver;
-    
---    class PersistentMap instantiates Map from TCollection( Persistent from Standard,
---                                                        MapPersistentHasher from PTColStd);
-
---    class DocEntryList instantiates List from TCollection (AsciiString from TCollection);
-    
-
-    AddStorageDrivers(aDriverSeq : ASDriverHSequence from MDF; theMessageDriver : MessageDriver from CDM);
-       ---Purpose: Adds the attribute storage driver(s) to <aDriverSeq>.
-
-    AddRetrievalDrivers(aDriverSeq : ARDriverHSequence from MDF; theMessageDriver : MessageDriver from CDM);
-       ---Purpose: Adds the attribute retrieval driver(s) to <aDriverSeq>.
-    
-    
---    WeightWatcher(aSource : Data from TDF;
---                  aReloc   : SRelocationTable from MDF;
---                  aEntry : DocEntryList from MDocStd);
---    ---Purpose: suppresses the geometries  of the shapes from the XLink
---    --          associated to  <aEntry>
-
-    ---Purpose: Factory method
-    --          ==============
-    
-    Factory(aGUID: GUID from Standard)
-    returns Transient from Standard;
-
-end MDocStd;
diff --git a/src/MDocStd/MDocStd.cxx b/src/MDocStd/MDocStd.cxx
deleted file mode 100644 (file)
index bbc1cc7..0000000
+++ /dev/null
@@ -1,198 +0,0 @@
-// Created on: 1997-11-12
-// Created by: Guest Design
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDocStd.ixx>
-#include <MDocStd_DocumentStorageDriver.hxx>
-#include <MDocStd_DocumentRetrievalDriver.hxx>
-#include <Standard_Failure.hxx>
-#include <MDocStd_XLinkStorageDriver.hxx>
-#include <MDocStd_XLinkRetrievalDriver.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <TDF_Tool.hxx>
-static Standard_GUID StandardStorageDriver ("ad696000-5b34-11d1-b5ba-00a0c9064368");
-static Standard_GUID StandardRetrievalDriver ("ad696001-5b34-11d1-b5ba-00a0c9064368");
-
-/* ======= not used functionality ======
-//#include <TDocStd_Document.hxx>
-//#include <MDocStd_PersistentMap.hxx>
-//#include <TDocStd_XLink.hxx>
-//#include <TDocStd_XLinkIterator.hxx>
-//#include <MDocStd_ListIteratorOfDocEntryList.hxx>
-//#include <TDF_Label.hxx>
-//#include <TDF_ChildIterator.hxx>
-//#include <TNaming_NamedShape.hxx>
-//#include <PNaming_NamedShape.hxx>
-//#include <PTopoDS_Shape1.hxx>
-//#include <TopoDS_Shape.hxx>
-//#include <PTopoDS_TShape1.hxx>
-//#include <PTopoDS_HArray1OfShape1.hxx>
-//#include <PBRep_TVertex1.hxx>
-//#include <PBRep_PointRepresentation.hxx>
-//#include <PBRep_TEdge1.hxx>
-//#include <PBRep_CurveRepresentation.hxx>
-//#include <PBRep_TFace1.hxx>
-//#include <PGeom_Surface.hxx>
-//#include <TColStd_ListOfAsciiString.hxx>
-//=======================================================================
-//function : WeightWatcher
-//purpose  : 
-//=======================================================================
-
-static void ShapeWeightWatcher (const PTopoDS_Shape1& PS,
-                               MDocStd_PersistentMap& aMap)
-{
-  if (aMap.Add(PS.TShape())) {
-    Handle(PTopoDS_TShape1) TS = PS.TShape();
-    Handle(PTopoDS_HArray1OfShape1) HS = TS->Shapes();
-    if (!HS.IsNull()) {
-      for (Standard_Integer i=1;i<=HS->Length();i++) {
-       const PTopoDS_Shape1& VAL = HS->Value(i);
-       if (!VAL.TShape().IsNull())ShapeWeightWatcher(VAL,aMap);
-      }
-      Handle(PBRep_TVertex1) TV = Handle(PBRep_TVertex1)::DownCast(TS);
-      if (!TV.IsNull()) {
-       Handle(PBRep_PointRepresentation) PR;
-       TV->Points(PR);
-       return;
-      }
-      Handle(PBRep_TEdge1) TE = Handle(PBRep_TEdge1)::DownCast(TS);
-      if (!TE.IsNull()) {
-       Handle(PBRep_CurveRepresentation) CR;
-       TE->Curves(CR);
-       return;
-      }
-      Handle(PBRep_TFace1) TF = Handle(PBRep_TFace1)::DownCast(TS);
-      if (!TF.IsNull()) {
-       Handle(PGeom_Surface) PGeomS;
-       TF->Surface(PGeomS);
-       return;
-      }
-    }
-  }
-}
-//=======================================================================
-//function : AttributeWeightWatcher
-//purpose  : 
-//=======================================================================
-
-static void  AttributeWeightWatcher(const TDF_Label& LabS,
-                                   const Handle(MDF_SRelocationTable)& aReloc,
-                                   MDocStd_PersistentMap& aMap)
-{
-  TCollection_AsciiString STR;
-  TDF_Tool::Entry(LabS,STR);
-#ifdef OCCT_DEBUG
-  cout << "Label to process: "<<STR<<endl;
-#endif
-  Handle(TNaming_NamedShape) NS;
-  Handle(PNaming_NamedShape) PNS;
-  if (LabS.FindAttribute(TNaming_NamedShape::GetID(),NS)) {
-    if (aReloc->HasRelocation(NS,PNS)) {
-      const Handle(PTopoDS_HArray1OfShape1)& HOldS = PNS->OldShapes();  
-      if (!HOldS.IsNull()) {
-       for (Standard_Integer i=1;i<=HOldS->Length();i++) {
-         const PTopoDS_Shape1& POS = HOldS->Value(i);
-         if (!POS.TShape().IsNull()) ShapeWeightWatcher(POS,aMap);
-       }
-      }
-      const Handle(PTopoDS_HArray1OfShape1)& HNewS = PNS->NewShapes();    
-      if (!HNewS.IsNull()) {
-       for (Standard_Integer j=1;j<=HNewS->Length();j++) {
-         const PTopoDS_Shape1& PTS = HNewS->Value(j);
-         if (!PTS.TShape().IsNull()) ShapeWeightWatcher(PTS,aMap);
-       }
-      }
-    }
-  }  
-
-//traiter les fils
-  for (TDF_ChildIterator itr(LabS) ; itr.More(); itr.Next()) {
-    AttributeWeightWatcher(itr.Value(),aReloc,aMap);
-  }
-}
-//=======================================================================
-//function : WeightWatcher
-//purpose  : 
-//=======================================================================
-
-void MDocStd::WeightWatcher(const Handle(TDF_Data)& aSource,
-                           const Handle(MDF_SRelocationTable)& aReloc,
-                           const TColStd_ListOfAsciiString& aEntry) 
-{
-  Handle(TDocStd_Document) D;
-  D = TDocStd_Document::Get(aSource->Root());
-  if (!D.IsNull()) {
-    TDocStd_XLink* xRefPtr;
-    MDocStd_PersistentMap aMap;
-    //for (TDocStd_XLinkIterator xItr(aSource); xItr.More(); xItr.Next()) {
-    for (TDocStd_XLinkIterator xItr(D); xItr.More(); xItr.Next()) {
-      xRefPtr = xItr.Value();
-      const TCollection_AsciiString & DocEntry=  xRefPtr->DocumentEntry();
-      TColStd_ListIteratorOfListOfAsciiString It(aEntry);
-      for (;It.More();It.Next()) {
-       if (It.Value()==DocEntry) AttributeWeightWatcher(xRefPtr->Label(),aReloc,aMap);
-      }
-    }
-  }
-}
-
-***** */
-//=======================================================================
-//function : AddStorageDrivers
-//purpose  : 
-//=======================================================================
-
-void MDocStd::AddStorageDrivers(const Handle(MDF_ASDriverHSequence)& aDriverSeq, 
-                               const Handle(CDM_MessageDriver)& theMsgDriver) 
-{ aDriverSeq->Append(new MDocStd_XLinkStorageDriver(theMsgDriver)); }
-
-
-//=======================================================================
-//function : AddRetrievalDrivers
-//purpose  : 
-//=======================================================================
-
-void MDocStd::AddRetrievalDrivers(const Handle(MDF_ARDriverHSequence)& aDriverSeq,
-                                 const Handle(CDM_MessageDriver)& theMsgDriver) 
-{ aDriverSeq->Append(new MDocStd_XLinkRetrievalDriver(theMsgDriver)); }
-
-//=======================================================================
-//function : Factory
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Transient) MDocStd::Factory(const Standard_GUID& aGUID) {
-
-  if(aGUID == StandardStorageDriver)  {
-#ifdef OCCT_DEBUG
-    cout << "MDocStd : Storage Plugin" << endl;
-#endif
-    static Handle(MDocStd_DocumentStorageDriver) standard_sd = new MDocStd_DocumentStorageDriver;
-    return standard_sd;
-  }
-  if(aGUID == StandardRetrievalDriver) {  
-#ifdef OCCT_DEBUG
-    cout << "MDocStd : Retrieval Plugin" << endl;
-#endif
-    static Handle (MDocStd_DocumentRetrievalDriver) standard_rd = new MDocStd_DocumentRetrievalDriver;
-    return standard_rd;
-  }
-
-  Standard_Failure::Raise("MDocStd : Factory: unknown GUID");
-  Handle(Standard_Transient) t;
-  return t;
-
-}
diff --git a/src/MDocStd/MDocStd_DocumentRetrievalDriver.cdl b/src/MDocStd/MDocStd_DocumentRetrievalDriver.cdl
deleted file mode 100644 (file)
index 5b1a59b..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
--- Created on: 1999-04-15
--- Created by: Denis PASCAL
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class DocumentRetrievalDriver from MDocStd inherits RetrievalDriver from PCDM
-
-       ---Purpose: retrieval driver of a standard document
-
-uses Document         from TDocStd,
-     Document         from PDocStd,  
-     RRelocationTable from MDF,
-     Document         from PCDM, 
-     Document         from CDM,  
-     MessageDriver    from CDM,
-     ExtendedString   from TCollection,
-     ARDriverTable    from MDF
-
-is
-
-
-    Create
-    returns DocumentRetrievalDriver from MDocStd;    
-
-    Paste (me : mutable; PDOC   : Document from PDocStd;
-                         TDOC   : Document from TDocStd;
-                        aReloc : RRelocationTable from MDF);
-    
-    ---Purpose: deferred methods of RetrievalDriver from PCDM
-    --          =============================================
-
-    Make (me : mutable; aPCDM: Document from PCDM; aCDM : Document from CDM); 
-
-    ---Purpose: virtual methods (may be redefined by specialized application)
-    --          =============================================================
-
-    SchemaName(me) returns ExtendedString from  TCollection
-    is virtual;
-
-    CreateDocument (me: mutable) returns Document from CDM  
-    ---Purpose: returns an empty TDocStd_Document. may be redefined;
-    is virtual;
-    
-    AttributeDrivers(me : mutable; theMessageDriver : MessageDriver from CDM) 
-    returns ARDriverTable from MDF
-    is virtual;
-    
-fields
-
-    myDrivers : ARDriverTable  from MDF;
-
-end DocumentRetrievalDriver;
diff --git a/src/MDocStd/MDocStd_DocumentRetrievalDriver.cxx b/src/MDocStd/MDocStd_DocumentRetrievalDriver.cxx
deleted file mode 100644 (file)
index a942724..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDocStd_DocumentRetrievalDriver.ixx>
-#include <CDM_MessageDriver.hxx>
-#include <TDocStd_Application.hxx>
-#include <TDocStd_Document.hxx>
-#include <MDF.hxx>
-#include <MDF_RRelocationTable.hxx>
-#include <PDocStd_Document.hxx>
-#include <TDF_Data.hxx> 
-#include <TDocStd_Owner.hxx>
-
-#include <TDF_Tool.hxx>
-#include <UTL.hxx>
-#include <Resource_Manager.hxx>
-#include <Plugin.hxx>
-
-#include <CDF_Application.hxx>
-#include <CDF_Session.hxx>
-
-
-//=======================================================================
-//function : MDocStd_DocumentRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-MDocStd_DocumentRetrievalDriver::MDocStd_DocumentRetrievalDriver () {}
-
-
-//=======================================================================
-//function : CreateDocument
-//purpose  : virtuelle
-// //=======================================================================
-
-Handle(CDM_Document) MDocStd_DocumentRetrievalDriver::CreateDocument() 
-{
-   return new TDocStd_Document (PCDM_RetrievalDriver::GetFormat());
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : paste Persistant Document in Transient Document
-//=======================================================================
-
-void MDocStd_DocumentRetrievalDriver::Paste (const Handle(PDocStd_Document)& PDOC,
-                                    const Handle(TDocStd_Document)& TDOC,
-                                    const Handle(MDF_RRelocationTable)& Reloc)
-{
-  Handle(PDF_Data) aPDF = PDOC->GetData(); 
-  Handle(TDF_Data) aTDF = new TDF_Data();  
-  Handle(CDM_MessageDriver) aMsgDriver;
-  if (CDF_Session::CurrentSession()->HasCurrentApplication()) 
-    aMsgDriver = CDF_Session::CurrentSession()->CurrentApplication()->MessageDriver();
-  if (myDrivers.IsNull()) myDrivers = AttributeDrivers(aMsgDriver);
-  MDF::FromTo (aPDF, aTDF, myDrivers, Reloc); 
-  TDOC->SetData(aTDF);  
-  TDocStd_Owner::SetDocument(aTDF,TDOC);
-}
-
-//=======================================================================
-//function : Make
-//purpose  : 
-//=======================================================================
-
-void MDocStd_DocumentRetrievalDriver::Make (const Handle(PCDM_Document)& aPDocument,
-                                   const Handle(CDM_Document)& aTDocument) 
-{ 
-  Handle(PDocStd_Document) PDOC = Handle(PDocStd_Document)::DownCast(aPDocument);
-  Handle(TDocStd_Document) TDOC = Handle(TDocStd_Document)::DownCast(aTDocument);
-  if (!PDOC.IsNull() && !TDOC.IsNull()) {
-    Handle(MDF_RRelocationTable) Reloc = new MDF_RRelocationTable();
-    Paste (PDOC,TDOC,Reloc);
-  }
-
-
-//   Handle(PDF_Data) aPDF =  Handle(PDocStd_Document)::DownCast(aPDocument)->GetData();
-//   Handle(MDF_RRelocationTable) aReloc = new  MDF_RRelocationTable();
-//   Handle(TDF_Data) aTDF = new TDF_Data();
-//   if (myDrivers.IsNull()) myDrivers = AttributeDrivers();
-//   MDF::FromTo (aPDF, aTDF, myDrivers, aReloc);
-//   Handle(TDocStd_Document)::DownCast(aTDocument)->SetData(aTDF);
-}
-
-
-//=======================================================================
-//function : SchemaName
-//purpose  : 
-//=======================================================================
-
-TCollection_ExtendedString MDocStd_DocumentRetrievalDriver::SchemaName() const 
-{  
-  TCollection_ExtendedString schemaname = PCDM_RetrievalDriver::GetFormat();
-  schemaname+="Schema";
-  return schemaname;
-}
-
-//=======================================================================
-//function : AttributeDrivers
-//purpose  : 
-//=======================================================================
-
-Handle(MDF_ARDriverTable) MDocStd_DocumentRetrievalDriver::AttributeDrivers(const Handle(CDM_MessageDriver)& theMsgDriver)
-{ 
-  Handle(MDF_ARDriverTable) drivers;
-  //
-  Handle(CDF_Application) TheApplication;  
-  if (CDF_Session::Exists()) {
-    Handle(CDF_Session) TheSession = CDF_Session::CurrentSession();   
-    if (TheSession->HasCurrentApplication()) {
-      TheApplication = TheSession->CurrentApplication();
-    } 
-  }
-  if (!TheApplication.IsNull()) {
-    Handle(Resource_Manager) resource = TheApplication->Resources();
-    TCollection_ExtendedString pluginNAME;
-    pluginNAME = PCDM_RetrievalDriver::GetFormat(); 
-    pluginNAME+=".";  
-    pluginNAME+="AttributeRetrievalPlugin";  
-    TCollection_ExtendedString pluginID;
-    Standard_Boolean found = UTL::Find(resource,pluginNAME);
-    if(found) { 
-      TCollection_ExtendedString value = UTL::Value (resource,pluginNAME);
-      Standard_GUID plugin (UTL::GUID(value));
-      drivers = Handle(MDF_ARDriverTable)::DownCast(Plugin::Load(plugin));
-    } else {
-      TCollection_ExtendedString aMsg("Resource not found: ");
-      aMsg = aMsg.Cat(pluginNAME).Cat("\0");
-      theMsgDriver->Write(aMsg.ToExtString());
-    }
-  }
-  if (drivers.IsNull()) {
-    TCollection_ExtendedString aMsg("AttributeDrivers not found ");
-    aMsg = aMsg.Cat("\0");
-    theMsgDriver->Write(aMsg.ToExtString());
-  }
-  return drivers;
-}
-
-
-
diff --git a/src/MDocStd/MDocStd_DocumentStorageDriver.cdl b/src/MDocStd/MDocStd_DocumentStorageDriver.cdl
deleted file mode 100644 (file)
index 4d558dd..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
--- Created on: 1999-04-15
--- Created by: Denis PASCAL
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class DocumentStorageDriver from MDocStd inherits StorageDriver from PCDM
-
-       ---Purpose: storage driver for  a standard document
-
-
-uses Document           from TDocStd,
-     Document           from PDocStd,
-     SRelocationTable   from MDF,
-     Document           from CDM, 
-     MessageDriver      from CDM,       
-     Document           from PCDM,
-     ExtendedString from  TCollection,
-     ASDriverTable from MDF
-
-
-is
-
-
-    Create
-    returns  DocumentStorageDriver from MDocStd;
-    
-    CreateDocument (me: mutable) returns Document from PCDM
-    ---Purpose: returns an empty PDocStd_Document. may be redefined;
-    is virtual;
-            
-    Paste (me : mutable; TDOC   : Document from TDocStd;
-                         PDOC   : Document from PDocStd;
-                        aReloc : SRelocationTable from MDF);
-  
-
-    ---Purpose: virtual  methods of StorageDriver from PCDM
-    --          ============================================
-    
-    Make (me: mutable; aDocument: Document from CDM)
-    returns Document from PCDM 
-    is redefined;
-    
-    ---Purpose: virtual methods (may be redefined by specialized application)
-    --          =============================================================
-    
-    SchemaName(me) 
-    returns   ExtendedString from  TCollection
-    is virtual;
-    
-    AttributeDrivers(me : mutable; theMessageDriver : MessageDriver from CDM)
-    returns ASDriverTable from MDF
-    is virtual;
-    
-fields
-
-    myDrivers : ASDriverTable from MDF;
-    
-end DocumentStorageDriver;
diff --git a/src/MDocStd/MDocStd_DocumentStorageDriver.cxx b/src/MDocStd/MDocStd_DocumentStorageDriver.cxx
deleted file mode 100644 (file)
index a5a1104..0000000
+++ /dev/null
@@ -1,141 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDocStd_DocumentStorageDriver.ixx>
-
-#include <CDM_MessageDriver.hxx>
-#include <TDocStd_Application.hxx>
-#include <TDocStd_Document.hxx>
-#include <MDF.hxx>
-#include <MDF_SRelocationTable.hxx>
-#include <MDF_TypeASDriverMap.hxx>
-#include <PDF_Data.hxx>
-#include <PDocStd_Document.hxx>
-
-#include <TDF_Tool.hxx>
-#include <UTL.hxx>
-#include <Resource_Manager.hxx>
-#include <Plugin.hxx>
-
-
-#include <CDF_Application.hxx>
-#include <CDF_Session.hxx>
-
-
-//=======================================================================
-//function : MDocStd_DocumentStorageDriver
-//purpose  : 
-//=======================================================================
-
-MDocStd_DocumentStorageDriver::MDocStd_DocumentStorageDriver () {}
-
-
-//=======================================================================
-//function : Paste
-//purpose  : paste Transient Document in Persistant Document
-//=======================================================================
-
-void MDocStd_DocumentStorageDriver::Paste (const Handle(TDocStd_Document)& TDOC,
-                                  const Handle(PDocStd_Document)& PDOC,
-                                  const Handle(MDF_SRelocationTable)& Reloc)
-{
-  Handle(TDF_Data) aTDF = TDOC->GetData(); 
-  Handle(PDF_Data) aPDF; //  = new PDF_Data(); fait par MDF
-  if (myDrivers.IsNull()) myDrivers = AttributeDrivers(TDOC->Application()->MessageDriver());
-  Standard_Integer DFSchemaVersion = 0;
-  MDF::FromTo(aTDF, aPDF, myDrivers, Reloc,DFSchemaVersion); 
-  PDOC->SetData(aPDF);
-}
-
-//=======================================================================
-//function : CreateDocument
-//purpose  : 
-//=======================================================================
-
-Handle(PCDM_Document) MDocStd_DocumentStorageDriver::CreateDocument() {
-  return new PDocStd_Document ();
-}
-
-//=======================================================================
-//function : Make
-//purpose  : 
-//=======================================================================
-
-Handle(PCDM_Document) MDocStd_DocumentStorageDriver::Make(const Handle(CDM_Document)& aDocument) 
-{  
-  Handle(TDocStd_Document) TDOC = Handle(TDocStd_Document)::DownCast(aDocument);  
-  Handle(PDocStd_Document) PDOC = Handle(PDocStd_Document)::DownCast(CreateDocument());
-  if (!TDOC.IsNull() && !PDOC.IsNull()) {
-    Handle(MDF_SRelocationTable) Reloc = new MDF_SRelocationTable();
-    Paste (TDOC,PDOC,Reloc);
-  }
-  return PDOC;
-}
-
-//=======================================================================
-//function : SchemaName
-//purpose  : 
-//=======================================================================
-
-TCollection_ExtendedString MDocStd_DocumentStorageDriver::SchemaName() const 
-{
-  TCollection_ExtendedString schemaname = PCDM_StorageDriver::GetFormat();
-  schemaname+="Schema";
-  return schemaname; 
-}
-
-//=======================================================================
-//function : AttributeDrivers
-//purpose  : 
-//=======================================================================
-
-Handle(MDF_ASDriverTable) MDocStd_DocumentStorageDriver::AttributeDrivers(const Handle(CDM_MessageDriver)& theMsgDriver)
-{   
-  Handle(MDF_ASDriverTable) drivers;
-  //
-  Handle(CDF_Application) TheApplication;  
-  if (CDF_Session::Exists()) {
-    Handle(CDF_Session) TheSession = CDF_Session::CurrentSession();   
-    if (TheSession->HasCurrentApplication()) {
-      TheApplication = TheSession->CurrentApplication();
-    } 
-  }
-  if (!TheApplication.IsNull()) {
-    Handle(Resource_Manager) resource = TheApplication->Resources();
-    TCollection_ExtendedString pluginNAME;
-    pluginNAME = PCDM_StorageDriver::GetFormat(); 
-    pluginNAME+=".";  
-    pluginNAME+="AttributeStoragePlugin";  
-    TCollection_ExtendedString pluginID;
-    Standard_Boolean found = UTL::Find(resource,pluginNAME);
-    if(found) { 
-      TCollection_ExtendedString value = UTL::Value (resource,pluginNAME);
-      Standard_GUID plugin (UTL::GUID(value));
-      drivers = Handle(MDF_ASDriverTable)::DownCast(Plugin::Load(plugin));
-    }else {
-      TCollection_ExtendedString aMsg("Resource not found: ");
-      aMsg = aMsg.Cat(pluginNAME).Cat("\0");
-      theMsgDriver->Write(aMsg.ToExtString());
-    }
-  }
-  if (drivers.IsNull()) {
-//    cout  << "MDocStd_DocumentStorageDriver::AttributeDrivers not found" << endl;
-    TCollection_ExtendedString aMsg("AttributeDrivers not found ");
-    aMsg = aMsg.Cat("\0");
-    theMsgDriver->Write(aMsg.ToExtString());
-  }
-  return drivers;
-}
-
-
-
diff --git a/src/MDocStd/MDocStd_XLinkRetrievalDriver.cdl b/src/MDocStd/MDocStd_XLinkRetrievalDriver.cdl
deleted file mode 100644 (file)
index 4a1d01d..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
--- Created by: DAUTRY Philippe
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
---             -----------------------------
-
----Version:    0.0
---Version      Date            Purpose
---             0.0     Sep 17 1997     Creation
-
-
-class XLinkRetrievalDriver from MDocStd
-    inherits ARDriver from MDF
-
-       ---Purpose: Tool used to translate a persistent XLink into a
-       --          transient one.
-
-uses
-
-    RRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF, 
-    MessageDriver    from CDM
-
-is
-
-    Create (theMessageDriver : MessageDriver from CDM) -- Version 0
-    returns XLinkRetrievalDriver from MDocStd;
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type XLink from PXref.
-
-    NewEmpty (me)
-    returns Attribute from TDF;
-
-
-    Paste(me;
-         aSource     :          Attribute        from PDF;
-         aTarget     :  Attribute        from TDF;
-         aRelocTable :          RRelocationTable from MDF);
-
-
-end XLinkRetrievalDriver from MDocStd;
diff --git a/src/MDocStd/MDocStd_XLinkRetrievalDriver.cxx b/src/MDocStd/MDocStd_XLinkRetrievalDriver.cxx
deleted file mode 100644 (file)
index 1c9ee84..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-// Created by: DAUTRY Philippe
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-//             -----------------------------
-
-// Version:    0.0
-//Version      Date            Purpose
-//             0.0     Sep 17 1997     Creation
-
-
-
-#include <MDocStd_XLinkRetrievalDriver.ixx>
-#include <TDocStd_XLink.hxx>
-#include <PDocStd_XLink.hxx>
-#include <TCollection_AsciiString.hxx>
-#include <PCollection_HAsciiString.hxx>
-#include <CDM_MessageDriver.hxx>
-
-#define DeclareAndSpeedCast(V,T,Vdown) Handle(T) Vdown = *((Handle(T)*)& V)
-#define DeclareConstAndSpeedCast(V,T,Vdown) const Handle(T)& Vdown = (Handle(T)&) V
-#define SpeedCast(V,T,Vdown) Vdown = *((Handle(T)*)& V)
-
-//=======================================================================
-//function : MDocStd_XLinkRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-MDocStd_XLinkRetrievalDriver::MDocStd_XLinkRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{}
-
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDocStd_XLinkRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDocStd_XLinkRetrievalDriver::SourceType() const
-{ return STANDARD_TYPE(PDocStd_XLink); }
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MDocStd_XLinkRetrievalDriver::NewEmpty() const
-{ return new TDocStd_XLink(); }
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDocStd_XLinkRetrievalDriver::Paste
-(const Handle(PDF_Attribute)& aSource,
- const Handle(TDF_Attribute)& aTarget,
-// const Handle(MDF_RRelocationTable)& aRelocTable) const
- const Handle(MDF_RRelocationTable)& ) const
-{
-  DeclareConstAndSpeedCast(aSource,PDocStd_XLink,pxref);
-  DeclareConstAndSpeedCast(aTarget,TDocStd_XLink,txref);
-  txref->DocumentEntry(pxref->DocumentEntry()->Convert());
-  txref->LabelEntry(pxref->LabelEntry()->Convert());
-}
-
diff --git a/src/MDocStd/MDocStd_XLinkStorageDriver.cdl b/src/MDocStd/MDocStd_XLinkStorageDriver.cdl
deleted file mode 100644 (file)
index 33139ad..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
--- Created by: DAUTRY Philippe
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
---             ---------------------------
-
----Version:    0.0
---Version      Date            Purpose
---             0.0     Sep 17 1997     Creation
-
-
-class XLinkStorageDriver from MDocStd
-    inherits ASDriver from MDF
-
-       ---Purpose: Tool used to translate a transient XLink into a
-       --          persistent one.
-
-uses
-
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF, 
-    MessageDriver    from CDM
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM) -- Version 0
-    returns XLinkStorageDriver from MDocStd;
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: XLink from TXLink.
-
-    NewEmpty (me)
-    returns Attribute from PDF;
-
-
-    Paste(me;
-         aSource     :         Attribute        from TDF;
-         aTarget     : Attribute        from PDF;
-         aRelocTable :         SRelocationTable from MDF);
-         
-         
-end XLinkStorageDriver;
diff --git a/src/MDocStd/MDocStd_XLinkStorageDriver.cxx b/src/MDocStd/MDocStd_XLinkStorageDriver.cxx
deleted file mode 100644 (file)
index b3b7d83..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-// Created by: DAUTRY Philippe
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-//             ---------------------------
-
-// Version:    0.0
-//Version      Date            Purpose
-//             0.0     Sep 17 1997     Creation
-
-
-
-#include <MDocStd_XLinkStorageDriver.ixx>
-
-#include <TDF_Label.hxx>
-#include <TDocStd_XLink.hxx>
-#include <PDocStd_XLink.hxx>
-#include <TCollection_AsciiString.hxx>
-#include <PCollection_HAsciiString.hxx>
-#include <CDM_MessageDriver.hxx>
-
-#define DeclareAndSpeedCast(V,T,Vdown) Handle(T) Vdown = *((Handle(T)*)& V)
-#define DeclareConstAndSpeedCast(V,T,Vdown) const Handle(T)& Vdown = (Handle(T)&) V
-#define SpeedCast(V,T,Vdown) Vdown = *((Handle(T)*)& V)
-
-//=======================================================================
-//function : MDocStd_XLinkStorageDriver
-//purpose  : 
-//=======================================================================
-
-MDocStd_XLinkStorageDriver::MDocStd_XLinkStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{}
-
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MDocStd_XLinkStorageDriver::VersionNumber() const
-{ return 0; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MDocStd_XLinkStorageDriver::SourceType() const
-{ return STANDARD_TYPE(TDocStd_XLink); }
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(PDF_Attribute) MDocStd_XLinkStorageDriver::NewEmpty() const
-{ return new PDocStd_XLink(); }
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MDocStd_XLinkStorageDriver::Paste
-(const Handle(TDF_Attribute)& aSource,
- const Handle(PDF_Attribute)& aTarget,
-// const Handle(MDF_SRelocationTable)& aRelocTable) const
- const Handle(MDF_SRelocationTable)& ) const
-{
-  DeclareConstAndSpeedCast(aSource,TDocStd_XLink,txref);
-  DeclareConstAndSpeedCast(aTarget,PDocStd_XLink,pxref);
-  pxref->DocumentEntry(new PCollection_HAsciiString(txref->DocumentEntry()));
-  pxref->LabelEntry(new PCollection_HAsciiString(txref->LabelEntry()));
-}
-
diff --git a/src/MFunction/MFunction.cdl b/src/MFunction/MFunction.cdl
deleted file mode 100644 (file)
index e702a25..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
--- Created on: 1999-06-17
--- Created by: Vladislav ROMASHKO
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package MFunction 
-
-uses 
-    PDF, 
-    CDM,
-    MDF,
-    TDF
-
-is 
-    class FunctionStorageDriver;
-    class FunctionRetrievalDriver; 
-
-    AddStorageDrivers(aDriverSeq : ASDriverHSequence from MDF;theMessageDriver : MessageDriver from CDM);
-       ---Purpose: Adds the function storage driver to <aDriverSeq>.
-
-    AddRetrievalDrivers(aDriverSeq : ARDriverHSequence from MDF;theMessageDriver : MessageDriver from CDM);
-       ---Purpose: Adds the function retrieval driver to <aDriverSeq>.
-    
-end MFunction;
-   
diff --git a/src/MFunction/MFunction.cxx b/src/MFunction/MFunction.cxx
deleted file mode 100644 (file)
index 76e7fc7..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-// Created on: 1999-06-24
-// Created by: Vladislav ROMASHKO
-// Copyright (c) 1999-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MFunction.ixx>
-
-#include <MDF_ARDriverHSequence.hxx>
-#include <MDF_ASDriverHSequence.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <MFunction_FunctionStorageDriver.hxx>
-#include <MFunction_FunctionRetrievalDriver.hxx>
-
-
-//=======================================================================
-//function : AddStorageDrivers
-//purpose  : 
-//=======================================================================
-
-void MFunction::AddStorageDrivers(const Handle(MDF_ASDriverHSequence)& aDriverSeq, const Handle(CDM_MessageDriver)& theMsgDriver)
-{ 
-  aDriverSeq->Append(new MFunction_FunctionStorageDriver(theMsgDriver));
-}
-
-//=======================================================================
-//function : AddRetrievalDrivers
-//purpose  : 
-//=======================================================================
-
-void MFunction::AddRetrievalDrivers(const Handle(MDF_ARDriverHSequence)& aDriverSeq,const Handle(CDM_MessageDriver)& theMsgDriver)
-{
-  aDriverSeq->Append(new MFunction_FunctionRetrievalDriver(theMsgDriver));
-}
diff --git a/src/MFunction/MFunction_FunctionRetrievalDriver.cdl b/src/MFunction/MFunction_FunctionRetrievalDriver.cdl
deleted file mode 100644 (file)
index da5cd15..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
--- Created on: 1999-06-17
--- Created by: Vladislav ROMASHKO
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class FunctionRetrievalDriver from MFunction inherits ARDriver from MDF
-
-
-uses 
-     
-     RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF, 
-     MessageDriver    from CDM
-
-is
-    Create(theMessageDriver : MessageDriver from CDM) 
-     returns FunctionRetrievalDriver from MFunction;
-    
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-end FunctionRetrievalDriver;
diff --git a/src/MFunction/MFunction_FunctionRetrievalDriver.cxx b/src/MFunction/MFunction_FunctionRetrievalDriver.cxx
deleted file mode 100644 (file)
index faaee99..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-// Created on: 1999-06-17
-// Created by: Vladislav ROMASHKO
-// Copyright (c) 1999-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MFunction_FunctionRetrievalDriver.ixx>
-
-#include <PFunction_Function.hxx>
-#include <TFunction_Function.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <Standard_NoSuchObject.hxx>
-
-MFunction_FunctionRetrievalDriver::MFunction_FunctionRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{}
-
-Standard_Integer MFunction_FunctionRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-Handle(Standard_Type) MFunction_FunctionRetrievalDriver::SourceType() const
-{ return STANDARD_TYPE(PFunction_Function);  }
-
-Handle(TDF_Attribute) MFunction_FunctionRetrievalDriver::NewEmpty() const
-{ return new TFunction_Function(); }
-
-void MFunction_FunctionRetrievalDriver::Paste (const Handle(PDF_Attribute)&        Source,
-                                              const Handle(TDF_Attribute)&        Target,
-//                                            const Handle(MDF_RRelocationTable)& RelocTable) const
-                                              const Handle(MDF_RRelocationTable)& ) const
-{
-  Handle(PFunction_Function) S = Handle(PFunction_Function)::DownCast(Source);
-  Handle(TFunction_Function) T = Handle(TFunction_Function)::DownCast(Target);
-  T->SetDriverGUID(S->GetDriverGUID());
-  T->SetFailure(S->GetFailure()); 
-}
diff --git a/src/MFunction/MFunction_FunctionStorageDriver.cdl b/src/MFunction/MFunction_FunctionStorageDriver.cdl
deleted file mode 100644 (file)
index 08f3785..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
--- Created on: 1999-06-17
--- Created by: Vladislav ROMASHKO
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class FunctionStorageDriver from MFunction inherits ASDriver from MDF
-
-uses 
-     SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-
-is 
-
-    Create(theMessageDriver : MessageDriver from CDM)  
-    returns FunctionStorageDriver from MFunction;
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-
-    NewEmpty (me) returns Attribute from PDF;
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-end FunctionStorageDriver;
diff --git a/src/MFunction/MFunction_FunctionStorageDriver.cxx b/src/MFunction/MFunction_FunctionStorageDriver.cxx
deleted file mode 100644 (file)
index b484cda..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-// Created on: 1999-06-17
-// Created by: Vladislav ROMASHKO
-// Copyright (c) 1999-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MFunction_FunctionStorageDriver.ixx>
-
-#include <TFunction_Function.hxx>
-#include <PFunction_Function.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <Standard_NoSuchObject.hxx>
-
-MFunction_FunctionStorageDriver::MFunction_FunctionStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{}
-
-Standard_Integer MFunction_FunctionStorageDriver::VersionNumber() const
-{ return 0; }
-
-Handle(Standard_Type) MFunction_FunctionStorageDriver::SourceType() const
-{ return STANDARD_TYPE(TFunction_Function); }
-
-Handle(PDF_Attribute) MFunction_FunctionStorageDriver::NewEmpty() const
-{ return new PFunction_Function(); }
-
-void MFunction_FunctionStorageDriver::Paste(const Handle(TDF_Attribute)&        Source,
-                                           const Handle(PDF_Attribute)&        Target,
-//                                         const Handle(MDF_SRelocationTable)& RelocTable) const
-                                           const Handle(MDF_SRelocationTable)& ) const
-{
-  Handle(TFunction_Function) S = Handle(TFunction_Function)::DownCast (Source);
-  Handle(PFunction_Function) T = Handle(PFunction_Function)::DownCast (Target);
-  T->SetDriverGUID(S->GetDriverGUID());
-  T->SetFailure(S->GetFailure());
-}
diff --git a/src/MNaming/MNaming.cdl b/src/MNaming/MNaming.cdl
deleted file mode 100644 (file)
index fa3352c..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
--- Created on: 1997-04-11
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package MNaming 
-
-       ---Purpose: 
-
-uses TDF,
-     PDF, 
-     CDM,
-     MDF
-
-is
-
-
-    class NamedShapeRetrievalDriver;    
-    
-    class NamingRetrievalDriver; 
-
-    class NamingRetrievalDriver_1;   
-    --  New fields added
-
-    class NamingRetrievalDriver_2;   
-    --  New fields added
-
-    class NamedShapeStorageDriver;   
-
-    class NamingStorageDriver;
-
-    AddStorageDrivers(aDriverSeq : ASDriverHSequence from MDF;theMessageDriver : MessageDriver from CDM);
-       ---Purpose: Adds the attribute storage drivers to <aDriverSeq>.
-
-    AddRetrievalDrivers(aDriverSeq : ARDriverHSequence from MDF;theMessageDriver : MessageDriver from CDM);
-       ---Purpose: Adds the attribute retrieval drivers to <aDriverSeq>.
-
-
-end MNaming;
diff --git a/src/MNaming/MNaming.cxx b/src/MNaming/MNaming.cxx
deleted file mode 100644 (file)
index 9e575a2..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-// Created by: DAUTRY Philippe
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-//             -----------
-
-// Version:    0.0
-//Version      Date            Purpose
-//             0.0     Aug  4 1997     Creation
-
-
-
-#include <MNaming.ixx>
-
-#include <MNaming_NamedShapeStorageDriver.hxx>
-#include <MNaming_NamedShapeRetrievalDriver.hxx>
-#include <MNaming_NamingStorageDriver.hxx>
-#include <MNaming_NamingRetrievalDriver.hxx>
-#include <MNaming_NamingRetrievalDriver_1.hxx>
-#include <MNaming_NamingRetrievalDriver_2.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : AddStorageDriver
-//purpose  : 
-//=======================================================================
-
-void MNaming::AddStorageDrivers
-(const Handle(MDF_ASDriverHSequence)& aDriverSeq,const Handle(CDM_MessageDriver)& theMsgDriver)
-{
-  aDriverSeq->Append(new MNaming_NamedShapeStorageDriver(theMsgDriver)); 
-  aDriverSeq->Append(new MNaming_NamingStorageDriver(theMsgDriver));
-}
-
-
-//=======================================================================
-//function : AddRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-void MNaming::AddRetrievalDrivers
-(const Handle(MDF_ARDriverHSequence)& aDriverSeq,const Handle(CDM_MessageDriver)& theMsgDriver)
-{
-  aDriverSeq->Append(new MNaming_NamedShapeRetrievalDriver(theMsgDriver)); 
-  aDriverSeq->Append(new MNaming_NamingRetrievalDriver(theMsgDriver));
-  aDriverSeq->Append(new MNaming_NamingRetrievalDriver_1(theMsgDriver));
-  aDriverSeq->Append(new MNaming_NamingRetrievalDriver_2(theMsgDriver));
-}
diff --git a/src/MNaming/MNaming_NamedShapeRetrievalDriver.cdl b/src/MNaming/MNaming_NamedShapeRetrievalDriver.cdl
deleted file mode 100644 (file)
index eb65adf..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
--- Created on: 1997-04-11
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class NamedShapeRetrievalDriver from MNaming inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses
-    RRelocationTable from MDF,
-    Attribute        from PDF,
-    Attribute        from TDF, 
-    MessageDriver    from CDM
-
-
-is
-
-
-    Create(theMessageDriver : MessageDriver from CDM) -- Version 0
-    returns NamedShapeRetrievalDriver from MNaming;
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type NamedShape from PNaming.
-
-    NewEmpty (me)
-    returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :          Attribute        from PDF;
-         Target     :  Attribute        from TDF;
-         RelocTable :          RRelocationTable from MDF);
-
-
-end NamedShapeRetrievalDriver;
diff --git a/src/MNaming/MNaming_NamedShapeRetrievalDriver.cxx b/src/MNaming/MNaming_NamedShapeRetrievalDriver.cxx
deleted file mode 100644 (file)
index 88285fe..0000000
+++ /dev/null
@@ -1,176 +0,0 @@
-// Created on: 1997-04-14
-// Created by: VAUTHIER Jean-Claude
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MNaming_NamedShapeRetrievalDriver.ixx>
-
-#include <MgtBRep.hxx>
-
-#include <PCollection_HAsciiString.hxx>
-
-#include <PColStd_HArray1OfInteger.hxx>
-
-#include <PNaming_NamedShape.hxx>
-
-#include <PTopoDS_HArray1OfShape1.hxx>
-#include <PTopoDS_Shape1.hxx>
-
-#include <TDF_Data.hxx>
-#include <TDF_Label.hxx>
-
-#include <TNaming_NamedShape.hxx>
-#include <TNaming_Evolution.hxx>
-#include <TNaming_Builder.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <TopoDS_Shape.hxx>
-
-static TNaming_Evolution EvolutionEnum(const Standard_Integer);
-
-
-//=======================================================================
-//function : MNaming_NamedShapeRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-MNaming_NamedShapeRetrievalDriver::MNaming_NamedShapeRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{}
-
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MNaming_NamedShapeRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MNaming_NamedShapeRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PNaming_NamedShape);
-  return sourceType;
-}
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MNaming_NamedShapeRetrievalDriver::NewEmpty() const
-
-{
-  return new TNaming_NamedShape ();
-}
-
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MNaming_NamedShapeRetrievalDriver::Paste (
-   const Handle(PDF_Attribute)&        Source,
-   const Handle(TDF_Attribute)&        Target,
-   const Handle(MDF_RRelocationTable)& RelocTable) const
-{
-  Handle(PNaming_NamedShape) S = Handle(PNaming_NamedShape)::DownCast (Source);
-  Handle(TNaming_NamedShape) T = Handle(TNaming_NamedShape)::DownCast (Target);
-  Standard_Integer NbShapes = S->NbShapes();
-
-  //Handle (TDF_Data) TDF = RelocTable->Target ();
-  TDF_Label         Label = Target->Label ();
-  //TDF_Insertor      TDFIns(Label);
-  TNaming_Builder   Bld   (Label);
-  if (NbShapes == 0) return;
-
-  TNaming_Evolution evol  = EvolutionEnum(S->ShapeStatus());
-  T->SetVersion(S->Version()); // apres creation Builder qui a mis la version a 1.
-
-  Handle(PTopoDS_HArray1OfShape1)  OldPShapes  = S->OldShapes();
-  Handle(PTopoDS_HArray1OfShape1)  NewPShapes  = S->NewShapes();
-
-  TopoDS_Shape OldShape;
-  TopoDS_Shape NewShape;
-
-  PTColStd_PersistentTransientMap& PTMap = RelocTable->OtherTable();
-
-  for (Standard_Integer i = 1; i <= NbShapes; i++) {
-    const PTopoDS_Shape1& NewPShape = NewPShapes->Value(i);
-    const PTopoDS_Shape1& OldPShape = OldPShapes->Value(i);
-
-    if ( evol != TNaming_PRIMITIVE ) {
-      MgtBRep::Translate1(OldPShape, PTMap, OldShape,
-                         MgtBRep_WithoutTriangle);
-    }
-
-    if (evol != TNaming_DELETE) {
-      MgtBRep::Translate1(NewPShape, PTMap, NewShape,
-                         MgtBRep_WithoutTriangle);
-    }
-
-    switch (evol) {
-    case TNaming_PRIMITIVE    : {
-      Bld.Generated(NewShape); break;
-    }
-    case TNaming_GENERATED    : {
-      Bld.Generated(OldShape,NewShape); break;
-    }
-    case TNaming_MODIFY       : {
-      Bld.Modify(OldShape,NewShape); break;
-    }
-    case TNaming_DELETE       : {
-      Bld.Delete (OldShape); break;
-    }
-    case TNaming_SELECTED     : {
-      Bld.Select(NewShape, OldShape); break;
-    }
-    case TNaming_REPLACE      : {
-      //Bld.Replace(OldShape,NewShape); break;
-      Bld.Modify(OldShape,NewShape); break;// for compatibility only
-    }  
-      default :
-       Standard_DomainError::Raise("TNaming_Evolution; enum term unknown");
-    }
-    OldShape.Nullify();
-    NewShape.Nullify();
-  }
-//  cout<<endl;  - vbu le 28/10/1998
-}
-
-
-
-TNaming_Evolution EvolutionEnum(const Standard_Integer i)
-{
-  switch(i)
-    {
-    case 0 : return TNaming_PRIMITIVE;
-    case 1 : return TNaming_GENERATED;
-    case 2 : return TNaming_MODIFY;
-    case 3 : return TNaming_DELETE;
-    case 4 : return TNaming_SELECTED;
-    case 5 : return TNaming_REPLACE;
-   default:
-      Standard_DomainError::Raise("TNaming_Evolution; integer value without enum term equivalence");
-    }
-  return TNaming_PRIMITIVE; // To avoid compilation error message.
-}
-
diff --git a/src/MNaming/MNaming_NamedShapeStorageDriver.cdl b/src/MNaming/MNaming_NamedShapeStorageDriver.cdl
deleted file mode 100644 (file)
index 2c23dd6..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
--- Created on: 1997-04-11
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class NamedShapeStorageDriver from MNaming inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses 
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF, 
-    MessageDriver    from CDM
-
-is
-
-
-    Create(theMessageDriver : MessageDriver from CDM) -- Version 0
-    returns NamedShapeStorageDriver from MNaming;
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: NamedShape from PNaming.
-
-    NewEmpty (me)
-    returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute        from TDF;
-         Target     : Attribute        from PDF;
-         RelocTable :         SRelocationTable from MDF);
-         
-         
-end NamedShapeStorageDriver;
-
diff --git a/src/MNaming/MNaming_NamedShapeStorageDriver.cxx b/src/MNaming/MNaming_NamedShapeStorageDriver.cxx
deleted file mode 100644 (file)
index 6c08ab1..0000000
+++ /dev/null
@@ -1,161 +0,0 @@
-// Created on: 1997-04-14
-// Created by: VAUTHIER Jean-Claude
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MNaming_NamedShapeStorageDriver.ixx>
-
-#include <MgtBRep.hxx>
-
-#include <PNaming_NamedShape.hxx>
-
-#include <PColStd_HArray1OfInteger.hxx>
-#include <PTColStd_TransientPersistentMap.hxx>
-
-#include <PTopoDS_HArray1OfShape1.hxx>
-
-#include <Standard_DomainError.hxx>
-
-#include <TNaming_NamedShape.hxx>
-#include <TNaming_Evolution.hxx>
-#include <TNaming_Iterator.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <TopoDS_Shape.hxx>
-
-static Standard_Integer EvolutionInt (const TNaming_Evolution);
-
-
-//=======================================================================
-//function : MNaming_NamedShapeStorageDriver
-//purpose  : 
-//=======================================================================
-
-MNaming_NamedShapeStorageDriver::MNaming_NamedShapeStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{}
-
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MNaming_NamedShapeStorageDriver::VersionNumber() const
-{ return 0; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MNaming_NamedShapeStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(TNaming_NamedShape);
-  return sourceType;
-}
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(PDF_Attribute) MNaming_NamedShapeStorageDriver::NewEmpty() const
-{
-  return new PNaming_NamedShape ();
-}
-
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MNaming_NamedShapeStorageDriver::Paste (
-   const Handle(TDF_Attribute)&        Source,
-   const Handle(PDF_Attribute)&        Target,
-   const Handle(MDF_SRelocationTable)& RelocTable) const
-
-{
-  Handle(TNaming_NamedShape) S =
-    Handle(TNaming_NamedShape)::DownCast (Source);
-  Handle(PNaming_NamedShape) PAttribute =
-    Handle(PNaming_NamedShape)::DownCast(Target);
-
-  PTColStd_TransientPersistentMap& TPMap = RelocTable->OtherTable();
-
-  TNaming_Evolution evol = S->Evolution();
-
-  //--------------------------------------------------------------
-  //Provisoire pour avoir le nombre de shapes et initialiser Target
-  Standard_Integer NbShapes = 0;
-  for (TNaming_Iterator SItr (S); SItr.More (); SItr.Next ()) NbShapes++;
-  //--------------------------------------------------------------
-
-  if (NbShapes == 0) return;
-
-  Handle(PTopoDS_HArray1OfShape1)  OldPShapes =
-    new PTopoDS_HArray1OfShape1(1,NbShapes);
-  Handle(PTopoDS_HArray1OfShape1)  NewPShapes =
-    new PTopoDS_HArray1OfShape1(1,NbShapes);
-
-  PTopoDS_Shape1 NewPShape;
-  PTopoDS_Shape1 OldPShape;
-  Standard_Integer i = 1;
-  
-  for (TNaming_Iterator SIterator(S) ;SIterator.More(); SIterator.Next()) {
-    const TopoDS_Shape& OldShape = SIterator.OldShape();
-    const TopoDS_Shape& NewShape = SIterator.NewShape();
-
-    if ( evol != TNaming_PRIMITIVE ) {
-      MgtBRep::Translate1(OldShape, TPMap, OldPShape,
-                         MgtBRep_WithoutTriangle);
-    }
-    else OldPShape.Nullify();
-    OldPShapes->SetValue(i,OldPShape);
-
-    if (evol != TNaming_DELETE) {
-      MgtBRep::Translate1(NewShape, TPMap, NewPShape,
-                         MgtBRep_WithoutTriangle);
-    }
-    else NewPShape.Nullify();
-    NewPShapes->SetValue(i,NewPShape);
-    i++;
-  }
-  PAttribute->OldShapes(OldPShapes);
-  PAttribute->NewShapes(NewPShapes);
-  PAttribute->ShapeStatus(EvolutionInt(evol));
-  PAttribute->Version    (S->Version());
-
-  NewPShape.Nullify();
-  OldPShape.Nullify();
-}
-
-
-Standard_Integer EvolutionInt(const TNaming_Evolution i)
-{
-  switch(i) {
-    case TNaming_PRIMITIVE    : return 0;
-    case TNaming_GENERATED    : return 1;
-    case TNaming_MODIFY       : return 2;
-    case TNaming_DELETE       : return 3;
-    case TNaming_SELECTED     : return 4;
-    case TNaming_REPLACE      : return 2; //case TNaming_REPLACE      : return 5; for compatibility
-  default:
-    Standard_DomainError::Raise("TNaming_Evolution; enum term unknown");
-  }
-  return 0; // To avoid compilation error message.
-}
-
diff --git a/src/MNaming/MNaming_NamingRetrievalDriver.cdl b/src/MNaming/MNaming_NamingRetrievalDriver.cdl
deleted file mode 100644 (file)
index 10a7b30..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
--- Created on: 1997-09-17
--- Created by: Isabelle GRIGNON
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class NamingRetrievalDriver from MNaming inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF, 
-     MessageDriver    from CDM
-
-is
-
-
-    Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
-    returns NamingRetrievalDriver from MNaming;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Constraint from PDataStd.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-
-end NamingRetrievalDriver;
diff --git a/src/MNaming/MNaming_NamingRetrievalDriver.cxx b/src/MNaming/MNaming_NamingRetrievalDriver.cxx
deleted file mode 100644 (file)
index 56aea64..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-// Created on: 1997-09-17
-// Created by: Isabelle GRIGNON
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MNaming_NamingRetrievalDriver.ixx>
-#include <PNaming_Naming.hxx>
-#include <PNaming_NamedShape.hxx>
-#include <PNaming_HArray1OfNamedShape.hxx>
-#include <PNaming_Name.hxx>
-#include <TNaming_NamedShape.hxx>
-#include <Standard_NoSuchObject.hxx>
-#include <TNaming_Naming.hxx>
-#include <TNaming_NameType.hxx>
-#include <TopAbs_ShapeEnum.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : IntegerToShapeEnum
-//purpose  : 
-//=======================================================================
-
-static TopAbs_ShapeEnum IntegerToShapeEnum (const Standard_Integer I)
-{
-  switch(I)
-    {
-    case  0 : return TopAbs_COMPOUND;
-    case  1 : return TopAbs_COMPSOLID;
-    case  2 : return TopAbs_SOLID;
-    case  3 : return TopAbs_SHELL;
-    case  4 : return TopAbs_FACE;
-    case  5 : return TopAbs_WIRE;
-    case  6 : return TopAbs_EDGE;
-    case  7 : return TopAbs_VERTEX;
-      default : 
-        return TopAbs_SHAPE;
-    }
-}
-
-//=======================================================================
-//function : IntegerToNameType
-//purpose  : 
-//=======================================================================
-
-static  TNaming_NameType IntegerToNameType (const Standard_Integer I) 
-{
-  switch(I)
-    {
-    case  0 : return TNaming_UNKNOWN;  
-    case  1 : return TNaming_IDENTITY;
-    case  2 : return TNaming_MODIFUNTIL;
-    case  3 : return TNaming_GENERATION;
-    case  4 : return TNaming_INTERSECTION;
-    case  5 : return TNaming_UNION;
-    case  6 : return TNaming_SUBSTRACTION;
-    case  7 : return TNaming_CONSTSHAPE; 
-    case  8 : return TNaming_FILTERBYNEIGHBOURGS;
-    case  9 : return TNaming_ORIENTATION;
-    case  10: return TNaming_WIREIN;
-    case  11: return TNaming_SHELLIN;
-      default :
-       Standard_DomainError::Raise("TNaming_NameType; enum term unknown ");
-    }
-  return TNaming_INTERSECTION;
-}
-
-//=======================================================================
-//function : MNaming_Naming
-//purpose  : 
-//=======================================================================
-
-MNaming_NamingRetrievalDriver::MNaming_NamingRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MNaming_NamingRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MNaming_NamingRetrievalDriver::SourceType() const
-{ return STANDARD_TYPE(PNaming_Naming);  }
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MNaming_NamingRetrievalDriver::NewEmpty() const
-{ return new TNaming_Naming (); }
-
-//=======================================================================
-//function : PNamingToTNaming
-//purpose  : 
-//=======================================================================
-
-static void PNamingToTNaming (const Handle(PNaming_Name)& PN,
-                             TNaming_Name&               TN,
-                             const Handle(MDF_RRelocationTable)& RelocTable)
-
-{
-  TN.Type     (IntegerToNameType (PN->Type     ()));
-  TN.ShapeType(IntegerToShapeEnum(PN->ShapeType()));
-  Handle(TNaming_NamedShape) NS;
-  
-  if (!PN->Arguments().IsNull()) {
-    Standard_Integer NbArgs = PN->Arguments()->Length();
-    for (Standard_Integer i = 1; i <= NbArgs; i++) {
-      RelocTable->HasRelocation(PN->Arguments()->Value(i),NS);
-      TN.Append(NS);
-    }
-  }
-
-  Handle(TNaming_NamedShape) StopNS;
-  if (!PN->StopNamedShape().IsNull()) 
-    RelocTable->HasRelocation(PN->StopNamedShape(),StopNS);
-  TN.StopNamedShape(StopNS);  
-  TN.Index(PN->Index());
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MNaming_NamingRetrievalDriver::Paste (
-  const Handle(PDF_Attribute)&        Source,
-  const Handle(TDF_Attribute)&        Target,
-  const Handle(MDF_RRelocationTable)& RelocTable) const
-{
-  //MDesign_FunctionRetrievalDriver::Paste (Source,Target,RelocTable);
-  Handle(PNaming_Naming) PF = Handle(PNaming_Naming)::DownCast(Source);
-  Handle(TNaming_Naming) F  = Handle(TNaming_Naming)::DownCast(Target);  
-  PNamingToTNaming (PF->GetName(),F->ChangeName(),RelocTable);
-}
-
-
-
diff --git a/src/MNaming/MNaming_NamingRetrievalDriver_1.cdl b/src/MNaming/MNaming_NamingRetrievalDriver_1.cdl
deleted file mode 100644 (file)
index 357330e..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
--- Created on: 2008-08-15
--- Created by: Sergey ZARITCHNY <szy@opencascade.com>
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class NamingRetrievalDriver_1 from MNaming inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF, 
-     MessageDriver    from CDM
-
-is
-
-
-    Create(theMessageDriver : MessageDriver from CDM)  
-    returns NamingRetrievalDriver_1 from MNaming;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Naming from PNaming.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-
-end NamingRetrievalDriver_1;
diff --git a/src/MNaming/MNaming_NamingRetrievalDriver_1.cxx b/src/MNaming/MNaming_NamingRetrievalDriver_1.cxx
deleted file mode 100644 (file)
index ba95fb8..0000000
+++ /dev/null
@@ -1,196 +0,0 @@
-// Created on: 2008-08-15
-// Created by: Sergey ZARITCHNY
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MNaming_NamingRetrievalDriver_1.ixx>
-#include <PNaming_Naming_1.hxx>
-#include <PNaming_NamedShape.hxx>
-#include <PNaming_HArray1OfNamedShape.hxx>
-#include <PNaming_Name_1.hxx>
-#include <PCollection_HAsciiString.hxx>
-#include <TCollection_AsciiString.hxx>
-#include <TDF_Tool.hxx>
-#include <TNaming_NamedShape.hxx>
-#include <Standard_NoSuchObject.hxx>
-#include <TNaming_Naming.hxx>
-#include <TNaming_NameType.hxx>
-#include <TNaming_Iterator.hxx>
-#include <TopAbs_ShapeEnum.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : IntegerToShapeEnum
-//purpose  : 
-//=======================================================================
-
-static TopAbs_ShapeEnum IntegerToShapeEnum (const Standard_Integer I)
-{
-  switch(I)
-    {
-    case  0 : return TopAbs_COMPOUND;
-    case  1 : return TopAbs_COMPSOLID;
-    case  2 : return TopAbs_SOLID;
-    case  3 : return TopAbs_SHELL;
-    case  4 : return TopAbs_FACE;
-    case  5 : return TopAbs_WIRE;
-    case  6 : return TopAbs_EDGE;
-    case  7 : return TopAbs_VERTEX;
-    default : return TopAbs_SHAPE;
-    }
-}
-
-//=======================================================================
-//function : IntegerToNameType
-//purpose  : 
-//=======================================================================
-
-static  TNaming_NameType IntegerToNameType (const Standard_Integer I) 
-{
-  switch(I)
-    {
-    case  0 : return TNaming_UNKNOWN;  
-    case  1 : return TNaming_IDENTITY;
-    case  2 : return TNaming_MODIFUNTIL;
-    case  3 : return TNaming_GENERATION;
-    case  4 : return TNaming_INTERSECTION;
-    case  5 : return TNaming_UNION;
-    case  6 : return TNaming_SUBSTRACTION;
-    case  7 : return TNaming_CONSTSHAPE; 
-    case  8 : return TNaming_FILTERBYNEIGHBOURGS;
-    case  9 : return TNaming_ORIENTATION;
-    case  10 : return TNaming_WIREIN;
-      default :
-       Standard_DomainError::Raise("TNaming_NameType; enum term unknown ");
-    }
-  return TNaming_INTERSECTION;
-}
-
-//=======================================================================
-//function : MNaming_Naming_1
-//purpose  : 
-//=======================================================================
-
-MNaming_NamingRetrievalDriver_1::MNaming_NamingRetrievalDriver_1(
- const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MNaming_NamingRetrievalDriver_1::VersionNumber() const
-{ return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MNaming_NamingRetrievalDriver_1::SourceType() const
-{ return STANDARD_TYPE(PNaming_Naming_1);  }
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MNaming_NamingRetrievalDriver_1::NewEmpty() const
-{ return new TNaming_Naming (); }
-
-//=======================================================================
-//function : PNamingToTNaming
-//purpose  : 
-//=======================================================================
-
-static void PNamingToTNaming (const Handle(PNaming_Name_1)& PN,
-                             TNaming_Name&                 TN,
-                             const Handle(MDF_RRelocationTable)& RelocTable)
-
-{
-  TN.Type     (IntegerToNameType (PN->Type     ()));
-  TN.ShapeType(IntegerToShapeEnum(PN->ShapeType()));
-  Handle(TNaming_NamedShape) NS;
-  Handle(TDF_Data) aData;
-  if (!PN->Arguments().IsNull()) {
-    Standard_Integer NbArgs = PN->Arguments()->Length();
-    for (Standard_Integer i = 1; i <= NbArgs; i++) {
-      RelocTable->HasRelocation(PN->Arguments()->Value(i),NS);
-      TN.Append(NS);
-      if(aData.IsNull() && !NS.IsNull())
-       aData = NS->Label().Data();
-    }
-  }
-
-  Handle(TNaming_NamedShape) StopNS;
-  if (!PN->StopNamedShape().IsNull()) 
-    RelocTable->HasRelocation(PN->StopNamedShape(),StopNS);
-  TN.StopNamedShape(StopNS);  
-  TN.Index(PN->Index());
-
-  TDF_Label tLab; // Null label.  
-  Handle(PCollection_HAsciiString) pEntry = PN->ContextLabel();
-  if (!pEntry.IsNull()) {
-    TCollection_AsciiString entry = pEntry->Convert();
-    if(!aData.IsNull())
-      TDF_Tool::Label(aData,entry,tLab);
-  }
-  TN.ContextLabel(tLab);
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-//#define DEB_ORIENT
-void MNaming_NamingRetrievalDriver_1::Paste (
-  const Handle(PDF_Attribute)&        Source,
-  const Handle(TDF_Attribute)&        Target,
-  const Handle(MDF_RRelocationTable)& RelocTable) const
-{
-  Handle(PNaming_Naming_1) PF = Handle(PNaming_Naming_1)::DownCast(Source);
-  Handle(TNaming_Naming) F  = Handle(TNaming_Naming)::DownCast(Target); 
-  PNamingToTNaming (PF->GetName(),F->ChangeName(),RelocTable);
-  // Orientation processing
-  Handle(TNaming_NamedShape) aNS;
-  if(F->Label().FindAttribute(TNaming_NamedShape::GetID(), aNS)) {
-#ifdef OCCT_DEBUG_ORIENT
-    const TDF_Label& aLab = aNS->Label();
-       TCollection_AsciiString entry;
-       TDF_Tool::Entry(aLab, entry);
-       cout << "Label = " << entry << " Evolution = " <<aNS->Evolution() << " IsEmpty = " << aNS->IsEmpty() <<endl;
-#endif
-       if(!aNS->IsEmpty()) {
-      TNaming_Iterator itL (aNS);
-      for (; itL.More(); itL.Next()) {
-        const TopoDS_Shape& S = itL.NewShape();
-        if (S.IsNull()) continue;
-        if(aNS->Evolution() == TNaming_SELECTED) {
-          if (itL.More() && itL.NewShape().ShapeType() != TopAbs_VERTEX &&
-               !itL.OldShape().IsNull() && itL.OldShape().ShapeType() == TopAbs_VERTEX ) {//OR-N
-            TopAbs_Orientation OrientationToApply = itL.OldShape().Orientation();
-#ifdef OCCT_DEBUG_ORIENT
-                       cout <<"Retrieved Orientation = " << OrientationToApply <<endl;
-#endif 
-            F->ChangeName().Orientation(OrientationToApply);
-          }
-        }
-      }
-       }
-  }
-  // 
-}
-
diff --git a/src/MNaming/MNaming_NamingRetrievalDriver_2.cdl b/src/MNaming/MNaming_NamingRetrievalDriver_2.cdl
deleted file mode 100644 (file)
index 02fcbce..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
--- Created on: 2008-08-15
--- Created by: Sergey ZARITCHNY <szy@opencascade.com>
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class NamingRetrievalDriver_2 from MNaming inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF, 
-     MessageDriver    from CDM
-
-is
-
-
-    Create(theMessageDriver : MessageDriver from CDM)  
-    returns NamingRetrievalDriver_2 from MNaming;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Naming from PNaming.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-
-end NamingRetrievalDriver_2;
diff --git a/src/MNaming/MNaming_NamingRetrievalDriver_2.cxx b/src/MNaming/MNaming_NamingRetrievalDriver_2.cxx
deleted file mode 100644 (file)
index 2b525ba..0000000
+++ /dev/null
@@ -1,184 +0,0 @@
-// Created on: 2008-08-15
-// Created by: Sergey ZARITCHNY
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MNaming_NamingRetrievalDriver_2.ixx>
-#include <PNaming_Naming_2.hxx>
-#include <PNaming_NamedShape.hxx>
-#include <PNaming_HArray1OfNamedShape.hxx>
-#include <PNaming_Name_2.hxx>
-#include <PCollection_HAsciiString.hxx>
-#include <TCollection_AsciiString.hxx>
-#include <TDF_Tool.hxx>
-#include <TNaming_NamedShape.hxx>
-#include <Standard_NoSuchObject.hxx>
-#include <TNaming_Naming.hxx>
-#include <TNaming_NameType.hxx>
-#include <TopAbs_ShapeEnum.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : IntegerToShapeEnum
-//purpose  : 
-//=======================================================================
-
-static TopAbs_ShapeEnum IntegerToShapeEnum (const Standard_Integer I)
-{
-  switch(I)
-    {
-    case  0 : return TopAbs_COMPOUND;
-    case  1 : return TopAbs_COMPSOLID;
-    case  2 : return TopAbs_SOLID;
-    case  3 : return TopAbs_SHELL;
-    case  4 : return TopAbs_FACE;
-    case  5 : return TopAbs_WIRE;
-    case  6 : return TopAbs_EDGE;
-    case  7 : return TopAbs_VERTEX;
-    default : return TopAbs_SHAPE;
-    }
-}
-
-//=======================================================================
-//function : IntegerToNameType
-//purpose  : 
-//=======================================================================
-
-static  TNaming_NameType IntegerToNameType (const Standard_Integer I) 
-{
-  switch(I)
-    {
-    case  0 : return TNaming_UNKNOWN;  
-    case  1 : return TNaming_IDENTITY;
-    case  2 : return TNaming_MODIFUNTIL;
-    case  3 : return TNaming_GENERATION;
-    case  4 : return TNaming_INTERSECTION;
-    case  5 : return TNaming_UNION;
-    case  6 : return TNaming_SUBSTRACTION;
-    case  7 : return TNaming_CONSTSHAPE; 
-    case  8 : return TNaming_FILTERBYNEIGHBOURGS;
-    case  9 : return TNaming_ORIENTATION;
-    case  10 : return TNaming_WIREIN;
-      default :
-       Standard_DomainError::Raise("TNaming_NameType; enum term unknown ");
-    }
-  return TNaming_UNKNOWN;
-}
-//=======================================================================
-//function : IntegerToOrientation
-//purpose  : 
-//=======================================================================
-static TopAbs_Orientation IntegerToOrientation (const Standard_Integer Or) 
-{
-  switch(Or)
-    {
-    case  0 : return TopAbs_FORWARD;  
-    case  1 : return TopAbs_REVERSED;
-    case  2 : return TopAbs_INTERNAL;
-    case  3 : return TopAbs_EXTERNAL;   
-      default :
-       Standard_DomainError::Raise("PNaming_Name::myOrientation; enum term unknown ");
-    }
-  return TopAbs_FORWARD;
-}
-//=======================================================================
-//function : MNaming_Naming_2
-//purpose  : 
-//=======================================================================
-
-MNaming_NamingRetrievalDriver_2::MNaming_NamingRetrievalDriver_2(
- const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MNaming_NamingRetrievalDriver_2::VersionNumber() const
-{ return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MNaming_NamingRetrievalDriver_2::SourceType() const
-{ return STANDARD_TYPE(PNaming_Naming_2);  }
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MNaming_NamingRetrievalDriver_2::NewEmpty() const
-{ return new TNaming_Naming (); }
-
-//=======================================================================
-//function : PNamingToTNaming
-//purpose  : 
-//=======================================================================
-
-static void PNamingToTNaming (const Handle(PNaming_Name_2)& PN,
-                             TNaming_Name&                 TN,
-                             const Handle(MDF_RRelocationTable)& RelocTable)
-
-{
-  TN.Type     (IntegerToNameType (PN->Type     ()));
-  TN.ShapeType(IntegerToShapeEnum(PN->ShapeType()));
-  Handle(TNaming_NamedShape) NS;
-  Handle(TDF_Data) aData;
-  if (!PN->Arguments().IsNull()) {
-    Standard_Integer NbArgs = PN->Arguments()->Length();
-    for (Standard_Integer i = 1; i <= NbArgs; i++) {
-      RelocTable->HasRelocation(PN->Arguments()->Value(i),NS);
-      TN.Append(NS);
-      if(aData.IsNull() && !NS.IsNull())
-       aData = NS->Label().Data();
-    }
-  }
-
-  Handle(TNaming_NamedShape) StopNS;
-  if (!PN->StopNamedShape().IsNull()) 
-    RelocTable->HasRelocation(PN->StopNamedShape(),StopNS);
-  TN.StopNamedShape(StopNS);  
-  TN.Index(PN->Index());
-
-  TDF_Label tLab; // Null label.  
-  Handle(PCollection_HAsciiString) pEntry = PN->ContextLabel();
-  if (!pEntry.IsNull()) {
-    TCollection_AsciiString entry = pEntry->Convert();
-    if(!aData.IsNull())
-      TDF_Tool::Label(aData,entry,tLab);
-  }
-  TN.ContextLabel(tLab);
-  TN.Orientation(IntegerToOrientation (PN->Orientation ()));
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MNaming_NamingRetrievalDriver_2::Paste (
-  const Handle(PDF_Attribute)&        Source,
-  const Handle(TDF_Attribute)&        Target,
-  const Handle(MDF_RRelocationTable)& RelocTable) const
-{
-  Handle(PNaming_Naming_2) PF = Handle(PNaming_Naming_2)::DownCast(Source);
-  Handle(TNaming_Naming) F  = Handle(TNaming_Naming)::DownCast(Target);  
-  PNamingToTNaming (PF->GetName(),F->ChangeName(),RelocTable);
-}
-
diff --git a/src/MNaming/MNaming_NamingStorageDriver.cdl b/src/MNaming/MNaming_NamingStorageDriver.cdl
deleted file mode 100644 (file)
index f9c1acb..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
--- Created on: 1997-09-17
--- Created by: Isabelle GRIGNON
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class NamingStorageDriver from MNaming inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-
-
-is
-   
-    Create(theMessageDriver : MessageDriver from CDM) 
-    returns NamingStorageDriver from MNaming;
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: Integer from TDataStd.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-
-end NamingStorageDriver;
diff --git a/src/MNaming/MNaming_NamingStorageDriver.cxx b/src/MNaming/MNaming_NamingStorageDriver.cxx
deleted file mode 100644 (file)
index 7f5fae9..0000000
+++ /dev/null
@@ -1,196 +0,0 @@
-// Created on: 1997-09-17
-// Created by: Isabelle GRIGNON
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MNaming_NamingStorageDriver.ixx>
-#include <PNaming_Naming_2.hxx>
-#include <PCollection_HAsciiString.hxx>
-#include <Standard_NoSuchObject.hxx>
-#include <TDF_Tool.hxx>
-#include <TNaming_Naming.hxx>
-#include <TCollection_AsciiString.hxx>
-#include <TNaming_Name.hxx>
-#include <PNaming_Name_2.hxx>
-#include <PNaming_NamedShape.hxx>
-#include <TNaming_NamedShape.hxx>
-#include <TNaming_ListOfNamedShape.hxx>
-#include <TNaming_ListIteratorOfListOfNamedShape.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <PNaming_HArray1OfNamedShape.hxx>
-#include <TopAbs_Orientation.hxx>
-
-//=======================================================================
-//function : ShapeEnumToInteger
-//purpose  : 
-//=======================================================================
-
-static Standard_Integer ShapeEnumToInteger (const TopAbs_ShapeEnum   I)
-{
-  switch(I)
-    {
-    case  TopAbs_COMPOUND  : return 0;
-    case  TopAbs_COMPSOLID : return 1;
-    case  TopAbs_SOLID     : return 2;
-    case  TopAbs_SHELL     : return 3;
-    case  TopAbs_FACE      : return 4;
-    case  TopAbs_WIRE      : return 5;
-    case  TopAbs_EDGE      : return 6;
-    case  TopAbs_VERTEX    : return 7;
-    case  TopAbs_SHAPE     : return 8;  
-    }
-  return 8;
-}
-
-//=======================================================================
-//function : NameTypeToInteger
-//purpose  : 
-//=======================================================================
-
-static  Standard_Integer NameTypeToInteger (const TNaming_NameType I) 
-{
-  switch(I)
-    { 
-    case  TNaming_UNKNOWN             : return 0;  
-    case  TNaming_IDENTITY            : return 1;
-    case  TNaming_MODIFUNTIL          : return 2;
-    case  TNaming_GENERATION          : return 3;
-    case  TNaming_INTERSECTION        : return 4;
-    case  TNaming_UNION               : return 5;
-    case  TNaming_SUBSTRACTION        : return 6;
-    case  TNaming_CONSTSHAPE          : return 7;
-    case  TNaming_FILTERBYNEIGHBOURGS : return 8;
-    case  TNaming_ORIENTATION         : return 9;
-    case  TNaming_WIREIN              : return 10;
-    case  TNaming_SHELLIN             : return 11;
-      default :
-       Standard_DomainError::Raise("TNaming_NameType; enum term unknown ");
-    }
-  return 0;
-}
-
-//=======================================================================
-//function : OrientationToInteger
-//purpose  : 
-//=======================================================================
-
-static  Standard_Integer OrientationToInteger (const TopAbs_Orientation Or) 
-{
-  switch(Or)
-    { 
-    case  TopAbs_FORWARD             : return 0;  
-    case  TopAbs_REVERSED            : return 1;
-    case  TopAbs_INTERNAL            : return 2;
-    case  TopAbs_EXTERNAL            : return 3;
-      default :
-       Standard_DomainError::Raise("TNaming_Name::myOrientation; enum term unknown ");
-    }
-  return 0;
-}
-//=======================================================================
-//function : MNaming_NamingStorageDriver
-//purpose  : 
-//=======================================================================
-
-MNaming_NamingStorageDriver::MNaming_NamingStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MNaming_NamingStorageDriver::VersionNumber() const
-{ return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MNaming_NamingStorageDriver::SourceType() const
-{ return STANDARD_TYPE(TNaming_Naming);  }
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(PDF_Attribute) MNaming_NamingStorageDriver::NewEmpty() const
-{ return new PNaming_Naming_2 (); }
-
-
-//=======================================================================
-//function : TNamingToPNaming
-//purpose  : 
-//=======================================================================
-
-static void  TNamingToPNaming  (const TNaming_Name&   TN,
-                               Handle(PNaming_Name_2)& PN,
-                               const Handle(MDF_SRelocationTable)& RelocTable)
-{
-  PN = new PNaming_Name_2();
-  PN->Type     (NameTypeToInteger (TN.Type     ()));
-  PN->ShapeType(ShapeEnumToInteger(TN.ShapeType()));
-  
-  Handle (PNaming_NamedShape) PNS;
-  Standard_Integer NbArgs = TN.Arguments().Extent();
-  
-  if (NbArgs > 0) {
-    Handle(PNaming_HArray1OfNamedShape) TabArgs = new PNaming_HArray1OfNamedShape(1,NbArgs);
-    PN->Arguments(TabArgs);
-    
-    Standard_Integer i = 1;
-    for (TNaming_ListIteratorOfListOfNamedShape it (TN.Arguments()); it.More(); it.Next()) {
-      RelocTable->HasRelocation(it.Value(),PNS);
-      TabArgs->SetValue(i++,PNS);
-    }
-  }
-
-  Handle (PNaming_NamedShape) StopPNS;
-  if (!TN.StopNamedShape().IsNull())
-    RelocTable->HasRelocation(TN.StopNamedShape(),StopPNS);
-  PN->StopNamedShape(StopPNS);
-
-  PN->Index(TN.Index());
-  Handle(PCollection_HAsciiString) pEntry; // Null handle.
-  if(!TN.ContextLabel().IsNull()) {
-     TCollection_AsciiString entry;
-     TDF_Tool::Entry(TN.ContextLabel(),entry);
-     pEntry = new PCollection_HAsciiString(entry);
-
-  }
-  PN->ContextLabel(pEntry);
-  PN->Orientation(OrientationToInteger(TN.Orientation()));
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MNaming_NamingStorageDriver::Paste (
-  const Handle(TDF_Attribute)&        Source,
-  const Handle(PDF_Attribute)&        Target,
-  const Handle(MDF_SRelocationTable)& RelocTable) const
-{
-  Handle(PNaming_Naming_2) PF = Handle(PNaming_Naming_2)::DownCast(Target);
-  Handle(TNaming_Naming) F  = Handle(TNaming_Naming)::DownCast(Source);  
-  Handle(PNaming_Name_2) PN ;
-  TNamingToPNaming (F->GetName(), PN ,RelocTable);
-  PF->SetName(PN);
-}
-
diff --git a/src/MPrsStd/MPrsStd.cdl b/src/MPrsStd/MPrsStd.cdl
deleted file mode 100644 (file)
index 0f7b8d0..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
--- Created on: 1997-08-26
--- Created by: SMO
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package MPrsStd 
-
-       ---Purpose: Storage    and  Retrieval  drivers   for graphic
-       --          attributes.   Transient  attributes are defined in
-       --          package TPrsStd and persistent one are defined in
-       --          package PPrsStd
-
-uses TDF,
-     PDF,
-     MDF, 
-     CDM
-
-is
-
-           ---Category: StorageDriver
-
-       class AISPresentationStorageDriver;
-       class PositionStorageDriver;
-
-
-        ---Category: RetrievalDriver
-
-        class AISPresentationRetrievalDriver;
-        class AISPresentationRetrievalDriver_1;        
-       class PositionRetrievalDriver;
-       
-    AddStorageDrivers(aDriverTable : ASDriverHSequence from MDF;theMessageDriver : MessageDriver from CDM);
-       ---Purpose: Adds the attribute storage drivers to <aDriverTable>.
-       ---Category: StorageDriversTable
-
-
-    AddRetrievalDrivers(aDriverTable : ARDriverHSequence from MDF;theMessageDriver : MessageDriver from CDM);
-       ---Purpose: Adds the attribute retrieval drivers to <aDriverTable>.
-       ---Category: RetrievalDriversTable
-
-
-end MPrsStd;
-
-
-
diff --git a/src/MPrsStd/MPrsStd.cxx b/src/MPrsStd/MPrsStd.cxx
deleted file mode 100644 (file)
index 4fe10b5..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-// Created on: 1997-08-26
-// Created by: Guest Design
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MPrsStd.ixx>
-#include <MDF_ASDriverHSequence.hxx>
-#include <MDF_ARDriverHSequence.hxx>
-#include <MPrsStd_AISPresentationStorageDriver.hxx>
-#include <MPrsStd_AISPresentationRetrievalDriver.hxx>
-#include <MPrsStd_AISPresentationRetrievalDriver_1.hxx>
-//#include <MPrsStd_AISViewerStorageDriver.hxx>
-//#include <MPrsStd_AISViewerRetrievalDriver.hxx> 
-#include <MPrsStd_PositionStorageDriver.hxx>
-#include <MPrsStd_PositionRetrievalDriver.hxx>
-
-//=======================================================================
-//function : AddStorageDriver
-//purpose  : 
-//=======================================================================
-
-void MPrsStd::AddStorageDrivers
-(const Handle(MDF_ASDriverHSequence)& aDriverSeq, const Handle(CDM_MessageDriver)& theMsgDriver)
-{
-  aDriverSeq->Append(new MPrsStd_AISPresentationStorageDriver(theMsgDriver));
-//  aDriverSeq->Append(new MPrsStd_AISViewerStorageDriver());
-  aDriverSeq->Append(new MPrsStd_PositionStorageDriver(theMsgDriver));
-}
-
-
-//=======================================================================
-//function : AddRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-void MPrsStd::AddRetrievalDrivers
-(const Handle(MDF_ARDriverHSequence)& aDriverSeq, const Handle(CDM_MessageDriver)& theMsgDriver)
-{
-  aDriverSeq->Append(new MPrsStd_AISPresentationRetrievalDriver(theMsgDriver));
-  aDriverSeq->Append(new MPrsStd_AISPresentationRetrievalDriver_1(theMsgDriver));
-//  aDriverSeq->Append(new MPrsStd_AISViewerRetrievalDriver());
-  aDriverSeq->Append(new MPrsStd_PositionRetrievalDriver(theMsgDriver));
-}
-
-
diff --git a/src/MPrsStd/MPrsStd_AISPresentationRetrievalDriver.cdl b/src/MPrsStd/MPrsStd_AISPresentationRetrievalDriver.cdl
deleted file mode 100644 (file)
index 77886fb..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
--- Created on: 1999-07-08
--- Created by: Sergey RUIN
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class AISPresentationRetrievalDriver from MPrsStd  inherits ARDriver from MDF
-
-           ---Purpose: Retrieval drivers for graphic attributes from
-           --          PPrsStd
-
-uses RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF, 
-     MessageDriver from CDM
-
-is
-
-
-    Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
-    returns AISPresentationRetrievalDriver from MPrsStd;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: AISPresentation from PPrsStd.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-end AISPresentationRetrievalDriver;
diff --git a/src/MPrsStd/MPrsStd_AISPresentationRetrievalDriver.cxx b/src/MPrsStd/MPrsStd_AISPresentationRetrievalDriver.cxx
deleted file mode 100644 (file)
index 00312ad..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-// Created on: 1999-07-08
-// Created by: Sergey RUIN
-// Copyright (c) 1999-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MPrsStd_AISPresentationRetrievalDriver.ixx>
-
-#include <PPrsStd_AISPresentation.hxx>
-#include <TPrsStd_AISPresentation.hxx>
-#include <TCollection_ExtendedString.hxx>
-#include <PCollection_HExtendedString.hxx>
-#include <Quantity_NameOfColor.hxx>
-#include <Graphic3d_NameOfMaterial.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : MPrsStd_AISPresentationRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-MPrsStd_AISPresentationRetrievalDriver::MPrsStd_AISPresentationRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{}
-
-Standard_Integer MPrsStd_AISPresentationRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-Handle(Standard_Type) MPrsStd_AISPresentationRetrievalDriver::SourceType() const
-{ return STANDARD_TYPE(PPrsStd_AISPresentation); }
-
-Handle(TDF_Attribute) MPrsStd_AISPresentationRetrievalDriver::NewEmpty() const
-{ return new TPrsStd_AISPresentation; }
-
-void MPrsStd_AISPresentationRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
-                                                   const Handle(TDF_Attribute)& Target,
-                                                   const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
-{
-  Handle(PPrsStd_AISPresentation) S = Handle(PPrsStd_AISPresentation)::DownCast (Source);
-  Handle(TPrsStd_AISPresentation) T = Handle(TPrsStd_AISPresentation)::DownCast (Target);
-
-  T->SetDisplayed( S->IsDisplayed() );  
-
-  TCollection_ExtendedString extstr = (S->GetDriverGUID())->Convert();   
-  Standard_GUID guid( extstr.ToExtString() );  
-  T->SetDriverGUID( guid ); 
-
-  if( S->Color() != -1 ) T->SetColor( (Quantity_NameOfColor)(S->Color()) );
-  else T->UnsetColor();
-
-  if( S->Material() != -1 ) T->SetMaterial( (Graphic3d_NameOfMaterial)(S->Material()) );
-  else T->UnsetMaterial(); 
-
-  if( S->Transparency() != -1. ) T->SetTransparency( S->Transparency() );
-  else T->UnsetTransparency(); 
-
-  if( S->Width() != -1. ) T->SetWidth( S->Width() );
-  else T->UnsetWidth(); 
-
-#ifdef OCCT_DEBUG
-  cout << "AISPresentationRetrievalDriver "  << "retrieved DriverGUID ==> ";
-  guid.ShallowDump(cout);
-  cout << endl;
-#endif
-}
-
diff --git a/src/MPrsStd/MPrsStd_AISPresentationRetrievalDriver_1.cdl b/src/MPrsStd/MPrsStd_AISPresentationRetrievalDriver_1.cdl
deleted file mode 100644 (file)
index b54560e..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
--- Created on: 1999-07-08
--- Created by: Sergey RUIN
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class AISPresentationRetrievalDriver_1 from MPrsStd  inherits ARDriver from MDF
-
-           ---Purpose: Retrieval drivers for graphic attributes from
-           --          PPrsStd
-
-uses RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF, 
-     MessageDriver    from CDM
-
-is
-
-
-    Create (theMessageDriver : MessageDriver from CDM) -- Version 1
-    returns AISPresentationRetrievalDriver_1 from MPrsStd;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 1.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: AISPresentation from PPrsStd.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-end AISPresentationRetrievalDriver_1;
diff --git a/src/MPrsStd/MPrsStd_AISPresentationRetrievalDriver_1.cxx b/src/MPrsStd/MPrsStd_AISPresentationRetrievalDriver_1.cxx
deleted file mode 100644 (file)
index 606792f..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-// Created on: 1999-07-08
-// Created by: Sergey RUIN
-// Copyright (c) 1999-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MPrsStd_AISPresentationRetrievalDriver_1.ixx>
-
-#include <PPrsStd_AISPresentation_1.hxx>
-#include <TPrsStd_AISPresentation.hxx>
-#include <TCollection_ExtendedString.hxx>
-#include <PCollection_HExtendedString.hxx>
-#include <Quantity_NameOfColor.hxx>
-#include <Graphic3d_NameOfMaterial.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : MPrsStd_AISPresentationRetrievalDriver_1
-//purpose  : 
-//=======================================================================
-
-MPrsStd_AISPresentationRetrievalDriver_1::MPrsStd_AISPresentationRetrievalDriver_1(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{}
-
-Standard_Integer MPrsStd_AISPresentationRetrievalDriver_1::VersionNumber() const
-{ return 1; }
-
-Handle(Standard_Type) MPrsStd_AISPresentationRetrievalDriver_1::SourceType() const
-{ return STANDARD_TYPE(PPrsStd_AISPresentation_1); }
-
-Handle(TDF_Attribute) MPrsStd_AISPresentationRetrievalDriver_1::NewEmpty() const
-{ return new TPrsStd_AISPresentation; }
-
-void MPrsStd_AISPresentationRetrievalDriver_1::Paste(const Handle(PDF_Attribute)& Source,
-                                                     const Handle(TDF_Attribute)& Target,
-                                                     const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
-{
-  Handle(PPrsStd_AISPresentation_1) S = Handle(PPrsStd_AISPresentation_1)::DownCast (Source);
-  Handle(TPrsStd_AISPresentation) T = Handle(TPrsStd_AISPresentation)::DownCast (Target);
-
-  T->SetDisplayed( S->IsDisplayed() );  
-
-  TCollection_ExtendedString extstr = (S->GetDriverGUID())->Convert();   
-  Standard_GUID guid( extstr.ToExtString() );  
-  T->SetDriverGUID( guid ); 
-
-  if( S->Color() != -1 ) T->SetColor( (Quantity_NameOfColor)(S->Color()) );
-  else T->UnsetColor();
-
-  if( S->Material() != -1 ) T->SetMaterial( (Graphic3d_NameOfMaterial)(S->Material()) );
-  else T->UnsetMaterial(); 
-
-  if( S->Transparency() != -1. ) T->SetTransparency( S->Transparency() );
-  else T->UnsetTransparency(); 
-
-  if( S->Width() != -1. ) T->SetWidth( S->Width() );
-  else T->UnsetWidth(); 
-
-  T->SetMode(S->Mode());
-  
-#ifdef OCCT_DEBUG
-  cout << "AISPresentationRetrievalDriver "  << "retrieved DriverGUID ==> ";
-  guid.ShallowDump(cout);
-  cout << endl;
-#endif
-}
-
-
diff --git a/src/MPrsStd/MPrsStd_AISPresentationStorageDriver.cdl b/src/MPrsStd/MPrsStd_AISPresentationStorageDriver.cdl
deleted file mode 100644 (file)
index 774b71b..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
--- Created on: 1999-07-08
--- Created by: Sergey RUIN
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class AISPresentationStorageDriver from MPrsStd inherits ASDriver from MDF
-
-       ---Purpose: Storage driver for graphic attributes from
-       --          TPrsStd
-
-uses SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-
-
-is
-
-    Create (theMessageDriver : MessageDriver from CDM)
-    returns AISPresentationStorageDriver from MPrsStd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: AISPresentation from TPrsStd.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end AISPresentationStorageDriver;
-
diff --git a/src/MPrsStd/MPrsStd_AISPresentationStorageDriver.cxx b/src/MPrsStd/MPrsStd_AISPresentationStorageDriver.cxx
deleted file mode 100644 (file)
index 9c04c74..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-// Created on: 1997-07-08
-// Created by: Sergey RUIN
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MPrsStd_AISPresentationStorageDriver.ixx>
-
-#include <PPrsStd_AISPresentation.hxx>
-#include <PPrsStd_AISPresentation_1.hxx>
-#include <TPrsStd_AISPresentation.hxx>
-#include <AIS_InteractiveObject.hxx>
-#include <AIS_InteractiveContext.hxx>
-#include <V3d_Viewer.hxx>
-#include <TCollection_ExtendedString.hxx>
-#include <PCollection_HExtendedString.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : MPrsStd_AISPresentationStorageDriver
-//purpose  : 
-//=======================================================================
-
-MPrsStd_AISPresentationStorageDriver::MPrsStd_AISPresentationStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-}
-
-Standard_Integer MPrsStd_AISPresentationStorageDriver::VersionNumber() const
-{ return 0; }
-
-Handle(Standard_Type) MPrsStd_AISPresentationStorageDriver::SourceType() const
-{ return STANDARD_TYPE(TPrsStd_AISPresentation); }
-
-Handle(PDF_Attribute) MPrsStd_AISPresentationStorageDriver::NewEmpty() const
-{
-// return new PPrsStd_AISPresentation; 
-  return new PPrsStd_AISPresentation_1;
-}
-
-void MPrsStd_AISPresentationStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
-                                                const Handle(PDF_Attribute)& Target,
-                                                const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
-{
-  Handle(TPrsStd_AISPresentation) S = Handle(TPrsStd_AISPresentation)::DownCast (Source);
-
-  // Handle(PPrsStd_AISPresentation) T = Handle(PPrsStd_AISPresentation)::DownCast (Target);
-  Handle(PPrsStd_AISPresentation_1) T = Handle(PPrsStd_AISPresentation_1)::DownCast (Target);
-
-  T->SetDisplayed( S->IsDisplayed() );  
-
-  TCollection_ExtendedString  extstr("00000000-0000-0000-0000-000000000000");  //covert GUID into ExtendedString
-  Standard_PExtCharacter pStr;
-  //
-  pStr=(Standard_PExtCharacter)extstr.ToExtString();
-  S->GetDriverGUID().ToExtString(pStr); 
-
-  Handle(PCollection_HExtendedString) guid = new PCollection_HExtendedString ( extstr ); 
-  T->SetDriverGUID ( guid );    
-
-  if( S->HasOwnColor() ) T->SetColor( (Standard_Integer)(S->Color())  );
-  else T->SetColor(-1);
-
-  if( S->HasOwnMaterial() ) T->SetMaterial( (Standard_Integer)(S->Material())  );
-  else T->SetMaterial(-1);
-
-  if( S->HasOwnTransparency() ) T->SetTransparency( S->Transparency() );
-  else T->SetTransparency(-1.);
-
-  if( S->HasOwnWidth() ) T->SetWidth( S->Width() );
-  else T->SetWidth(-1.);  
-
-   T->SetMode(S->Mode());
-
-#ifdef OCCT_DEBUG
-  cout << "AISPresentationStorageDriver "  << "storaged DriverGUID ==> "   << guid->Convert() << endl;
-#endif
-}
-
-
-
diff --git a/src/MPrsStd/MPrsStd_PositionRetrievalDriver.cdl b/src/MPrsStd/MPrsStd_PositionRetrievalDriver.cdl
deleted file mode 100644 (file)
index d0c078d..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
--- Created on: 1998-04-07
--- Created by: Jean-Pierre COMBE
--- Copyright (c) 1998-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class PositionRetrievalDriver from MPrsStd inherits ARDriver from MDF
-           ---Purpose: Retrieval drivers for graphic attributes from
-           --          PPrsStd
-
-
-uses RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF, 
-     MessageDriver    from CDM
-
-is
-
-
-    Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
-    returns PositionRetrievalDriver from MPrsStd;
-    
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: ColorAttribute from PGraphicAttribute.
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-end PositionRetrievalDriver;
diff --git a/src/MPrsStd/MPrsStd_PositionRetrievalDriver.cxx b/src/MPrsStd/MPrsStd_PositionRetrievalDriver.cxx
deleted file mode 100644 (file)
index f4fc72d..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-// Created on: 1998-04-07
-// Created by: Jean-Pierre COMBE
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MPrsStd_PositionRetrievalDriver.ixx>
-
-#include <PDataXtd_Position.hxx>
-#include <TDataXtd_Position.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : MPrsStd_PositionRetrievalDriver
-//purpose  : 
-//=======================================================================
-MPrsStd_PositionRetrievalDriver::MPrsStd_PositionRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ARDriver(theMsgDriver)
-{}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MPrsStd_PositionRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MPrsStd_PositionRetrievalDriver::SourceType() const
-{ return STANDARD_TYPE(PDataXtd_Position); }
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(TDF_Attribute) MPrsStd_PositionRetrievalDriver::NewEmpty() const
-{ return new TDataXtd_Position; }
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MPrsStd_PositionRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
-                                                           const Handle(TDF_Attribute)& Target,
-                                                           const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
-{
-  Handle(PDataXtd_Position) S = Handle(PDataXtd_Position)::DownCast (Source);
-  Handle(TDataXtd_Position) T = Handle(TDataXtd_Position)::DownCast (Target);  
-  T->SetPosition(S->GetPosition());
-}
-
diff --git a/src/MPrsStd/MPrsStd_PositionStorageDriver.cdl b/src/MPrsStd/MPrsStd_PositionStorageDriver.cdl
deleted file mode 100644 (file)
index 1d5c961..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
--- Created on: 1998-04-07
--- Created by: Jean-Pierre COMBE
--- Copyright (c) 1998-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class PositionStorageDriver from MPrsStd inherits ASDriver from MDF
-
-       ---Purpose: Storage driver for graphic attributes from
-       --          TPrsStd
-
-uses SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF, 
-     MessageDriver    from CDM
-
-
-is
-
-    Create(theMessageDriver : MessageDriver from CDM)  
-    returns PositionStorageDriver from MPrsStd;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: ColorAttribute from TGraphicAttribute.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end PositionStorageDriver;
-
diff --git a/src/MPrsStd/MPrsStd_PositionStorageDriver.cxx b/src/MPrsStd/MPrsStd_PositionStorageDriver.cxx
deleted file mode 100644 (file)
index 0812237..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-// Created on: 1998-04-07
-// Created by: Jean-Pierre COMBE
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MPrsStd_PositionStorageDriver.ixx>
-
-#include <PDataXtd_Position.hxx>
-#include <TDataXtd_Position.hxx>
-#include <CDM_MessageDriver.hxx>
-
-//=======================================================================
-//function : MPrsStd_PositionStorageDriver
-//purpose  : 
-//=======================================================================
-MPrsStd_PositionStorageDriver::MPrsStd_PositionStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver):MDF_ASDriver(theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-Standard_Integer MPrsStd_PositionStorageDriver::VersionNumber() const
-{ return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-Handle(Standard_Type) MPrsStd_PositionStorageDriver::SourceType() const
-{ return STANDARD_TYPE(TDataXtd_Position); }
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-Handle(PDF_Attribute) MPrsStd_PositionStorageDriver::NewEmpty() const
-{ return new PDataXtd_Position; }
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-void MPrsStd_PositionStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
-                                                         const Handle(PDF_Attribute)& Target,
-                                                         const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
-{
-  Handle(TDataXtd_Position) S = Handle(TDataXtd_Position)::DownCast (Source);
-  Handle(PDataXtd_Position) T = Handle(PDataXtd_Position)::DownCast (Target);  
-  T->SetPosition(S->GetPosition());
-}
-
-
diff --git a/src/MXCAFDoc/MXCAFDoc.cdl b/src/MXCAFDoc/MXCAFDoc.cdl
deleted file mode 100644 (file)
index 01f18ca..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
--- Created on: 2000-08-15
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package MXCAFDoc 
-
-       ---Purpose: 
-
-uses
-    TopLoc,
-    PTopLoc,
-    TDF,
-    PDF,
-    MDF,
-    MDataStd,
-    CDM
-
-is
-    class DocumentToolRetrievalDriver;
-    class DocumentToolStorageDriver;
-    class ColorToolRetrievalDriver;
-    class ColorToolStorageDriver;
-    class ShapeToolRetrievalDriver;
-    class ShapeToolStorageDriver;
-
-    class LayerToolRetrievalDriver;
-    class LayerToolStorageDriver;
-    
-    class LocationStorageDriver;
-    class LocationRetrievalDriver;
-    class ColorStorageDriver;
-    class ColorRetrievalDriver;
-    class VolumeStorageDriver;
-    class VolumeRetrievalDriver;
-    class AreaStorageDriver;
-    class AreaRetrievalDriver;
-    class CentroidStorageDriver;
-    class CentroidRetrievalDriver;
-    
-    class GraphNodeStorageDriver;
-    class GraphNodeRetrievalDriver;
-
-    class DatumStorageDriver;
-    class DatumRetrievalDriver;
-    class DimTolStorageDriver;
-    class DimTolRetrievalDriver;
-    class DimTolToolRetrievalDriver;
-    class DimTolToolStorageDriver;
-    class MaterialStorageDriver;
-    class MaterialRetrievalDriver;
-    class MaterialToolRetrievalDriver;
-    class MaterialToolStorageDriver;
-
-    AddStorageDrivers(aDriverSeq : ASDriverHSequence from MDF; theMsgDriver : MessageDriver from CDM);
-       ---Purpose: Adds the attribute storage drivers to <aDriverSeq>.
-
-
-    AddRetrievalDrivers(aDriverSeq : ARDriverHSequence from MDF; theMsgDriver : MessageDriver from CDM);
-       ---Purpose: Adds the attribute retrieval drivers to <aDriverSeq>.
-
-
-end MXCAFDoc;
diff --git a/src/MXCAFDoc/MXCAFDoc.cxx b/src/MXCAFDoc/MXCAFDoc.cxx
deleted file mode 100644 (file)
index e8b4495..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-// Created on: 2000-08-16
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MXCAFDoc.ixx>
-#include <MXCAFDoc_ColorToolRetrievalDriver.hxx>
-#include <MXCAFDoc_ColorToolStorageDriver.hxx>
-#include <MXCAFDoc_DocumentToolRetrievalDriver.hxx>
-#include <MXCAFDoc_DocumentToolStorageDriver.hxx>
-#include <MXCAFDoc_LocationRetrievalDriver.hxx>
-#include <MXCAFDoc_LocationStorageDriver.hxx>
-#include <MXCAFDoc_ColorRetrievalDriver.hxx>
-#include <MXCAFDoc_ColorStorageDriver.hxx>
-#include <MXCAFDoc_ShapeToolRetrievalDriver.hxx>
-#include <MXCAFDoc_ShapeToolStorageDriver.hxx>
-#include <MXCAFDoc_VolumeStorageDriver.hxx>
-#include <MXCAFDoc_AreaStorageDriver.hxx>
-#include <MXCAFDoc_CentroidStorageDriver.hxx>
-#include <MXCAFDoc_VolumeRetrievalDriver.hxx>
-#include <MXCAFDoc_AreaRetrievalDriver.hxx>
-#include <MXCAFDoc_CentroidRetrievalDriver.hxx>
-#include <MXCAFDoc_GraphNodeStorageDriver.hxx>
-#include <MXCAFDoc_GraphNodeRetrievalDriver.hxx>
-#include <MXCAFDoc_LayerToolRetrievalDriver.hxx>
-#include <MXCAFDoc_LayerToolStorageDriver.hxx>
-#include <MXCAFDoc_DatumRetrievalDriver.hxx>
-#include <MXCAFDoc_DatumStorageDriver.hxx>
-#include <MXCAFDoc_DimTolRetrievalDriver.hxx>
-#include <MXCAFDoc_DimTolStorageDriver.hxx>
-#include <MXCAFDoc_DimTolToolRetrievalDriver.hxx>
-#include <MXCAFDoc_DimTolToolStorageDriver.hxx>
-#include <MXCAFDoc_MaterialRetrievalDriver.hxx>
-#include <MXCAFDoc_MaterialStorageDriver.hxx>
-#include <MXCAFDoc_MaterialToolRetrievalDriver.hxx>
-#include <MXCAFDoc_MaterialToolStorageDriver.hxx>
-
-
-//=======================================================================
-//function : AddStorageDriver
-//purpose  : 
-//=======================================================================
-
-void MXCAFDoc::AddStorageDrivers
-(const Handle(MDF_ASDriverHSequence)& aDriverSeq,
- const Handle(CDM_MessageDriver)& theMsgDriver)
-{
-  aDriverSeq->Append(new MXCAFDoc_LocationStorageDriver    (theMsgDriver));
-  aDriverSeq->Append(new MXCAFDoc_ColorStorageDriver       (theMsgDriver));
-  aDriverSeq->Append(new MXCAFDoc_VolumeStorageDriver      (theMsgDriver));
-  aDriverSeq->Append(new MXCAFDoc_AreaStorageDriver        (theMsgDriver));
-  aDriverSeq->Append(new MXCAFDoc_CentroidStorageDriver    (theMsgDriver));
-  aDriverSeq->Append(new MXCAFDoc_ColorToolStorageDriver   (theMsgDriver));
-  aDriverSeq->Append(new MXCAFDoc_DocumentToolStorageDriver(theMsgDriver));
-  aDriverSeq->Append(new MXCAFDoc_ShapeToolStorageDriver   (theMsgDriver));
-
-  aDriverSeq->Append(new MXCAFDoc_LayerToolStorageDriver   (theMsgDriver));
-  aDriverSeq->Append(new MXCAFDoc_GraphNodeStorageDriver   (theMsgDriver));
-  aDriverSeq->Append(new MXCAFDoc_DatumStorageDriver       (theMsgDriver));
-  aDriverSeq->Append(new MXCAFDoc_DimTolStorageDriver      (theMsgDriver));
-  aDriverSeq->Append(new MXCAFDoc_DimTolToolStorageDriver  (theMsgDriver));
-  aDriverSeq->Append(new MXCAFDoc_MaterialStorageDriver    (theMsgDriver));
-  aDriverSeq->Append(new MXCAFDoc_MaterialToolStorageDriver(theMsgDriver));
-}
-
-//=======================================================================
-//function : AddRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-void MXCAFDoc::AddRetrievalDrivers
-(const Handle(MDF_ARDriverHSequence)& aDriverSeq,
- const Handle(CDM_MessageDriver)& theMsgDriver)
-{
-  aDriverSeq->Append(new MXCAFDoc_LocationRetrievalDriver    (theMsgDriver));
-  aDriverSeq->Append(new MXCAFDoc_ColorRetrievalDriver       (theMsgDriver));
-  aDriverSeq->Append(new MXCAFDoc_VolumeRetrievalDriver      (theMsgDriver));
-  aDriverSeq->Append(new MXCAFDoc_AreaRetrievalDriver        (theMsgDriver));
-  aDriverSeq->Append(new MXCAFDoc_CentroidRetrievalDriver    (theMsgDriver));
-  aDriverSeq->Append(new MXCAFDoc_ColorToolRetrievalDriver   (theMsgDriver));
-  aDriverSeq->Append(new MXCAFDoc_DocumentToolRetrievalDriver(theMsgDriver));
-  aDriverSeq->Append(new MXCAFDoc_ShapeToolRetrievalDriver   (theMsgDriver));
-  
-  aDriverSeq->Append(new MXCAFDoc_LayerToolRetrievalDriver   (theMsgDriver));
-  aDriverSeq->Append(new MXCAFDoc_GraphNodeRetrievalDriver   (theMsgDriver));
-  aDriverSeq->Append(new MXCAFDoc_DatumRetrievalDriver       (theMsgDriver));
-  aDriverSeq->Append(new MXCAFDoc_DimTolRetrievalDriver      (theMsgDriver));
-  aDriverSeq->Append(new MXCAFDoc_DimTolToolRetrievalDriver  (theMsgDriver));
-  aDriverSeq->Append(new MXCAFDoc_MaterialRetrievalDriver    (theMsgDriver));
-  aDriverSeq->Append(new MXCAFDoc_MaterialToolRetrievalDriver(theMsgDriver));
-}
diff --git a/src/MXCAFDoc/MXCAFDoc_AreaRetrievalDriver.cdl b/src/MXCAFDoc/MXCAFDoc_AreaRetrievalDriver.cdl
deleted file mode 100644 (file)
index 3091c4d..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
--- Created on: 2000-09-08
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class AreaRetrievalDriver from MXCAFDoc inherits ARDriver from MDF
-
-       ---Purpose: 
-uses
-    RRelocationTable from MDF,
-    Attribute        from PDF,
-    Attribute        from TDF,
-    MessageDriver    from CDM
-
-is
---    Create  
---    returns AreaRetrievalDriver from MXCAFDoc;
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns AreaRetrievalDriver from MXCAFDoc;
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-    ---Purpose: Returns the type: XCAFDoc_Area
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-end AreaRetrievalDriver from MXCAFDoc;
diff --git a/src/MXCAFDoc/MXCAFDoc_AreaRetrievalDriver.cxx b/src/MXCAFDoc/MXCAFDoc_AreaRetrievalDriver.cxx
deleted file mode 100644 (file)
index f38585e..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-// Created on: 2000-09-08
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MXCAFDoc_AreaRetrievalDriver.ixx>
-#include <PXCAFDoc_Area.hxx>
-#include <XCAFDoc_Area.hxx>
-
-//=======================================================================
-//function : MCAFDoc_AreaRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_AreaRetrievalDriver::MXCAFDoc_AreaRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ARDriver (theMsgDriver)
-{}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MXCAFDoc_AreaRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
- Handle(Standard_Type) MXCAFDoc_AreaRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PXCAFDoc_Area);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
- Handle(TDF_Attribute) MXCAFDoc_AreaRetrievalDriver::NewEmpty() const
-{
-  return new XCAFDoc_Area();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
- void MXCAFDoc_AreaRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
-                                                   const Handle(TDF_Attribute)& Target,
-                                                   const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
-{
-  Handle(PXCAFDoc_Area) S = Handle(PXCAFDoc_Area)::DownCast (Source);
-  Handle(XCAFDoc_Area) T = Handle(XCAFDoc_Area)::DownCast (Target);
-  
-  T->Set(S->Get());
-}
diff --git a/src/MXCAFDoc/MXCAFDoc_AreaStorageDriver.cdl b/src/MXCAFDoc/MXCAFDoc_AreaStorageDriver.cdl
deleted file mode 100644 (file)
index 7f2d22a..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
--- Created on: 2000-09-08
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class AreaStorageDriver from MXCAFDoc inherits ASDriver from MDF
-
-       ---Purpose: 
-uses
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF,
-    MessageDriver    from CDM
-
-is
-
---    Create 
---    returns AreaStorageDriver from MXCAFDoc;
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns AreaStorageDriver from MXCAFDoc;
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: XCAFDoc_Area.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-end AreaStorageDriver;
diff --git a/src/MXCAFDoc/MXCAFDoc_AreaStorageDriver.cxx b/src/MXCAFDoc/MXCAFDoc_AreaStorageDriver.cxx
deleted file mode 100644 (file)
index 2ab21fc..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-// Created on: 2000-09-08
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MXCAFDoc_AreaStorageDriver.ixx>
-#include <XCAFDoc_Area.hxx>
-#include <PXCAFDoc_Area.hxx>
-
-//=======================================================================
-//function : MXCAFDoc_AreaStorageDriver
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_AreaStorageDriver::MXCAFDoc_AreaStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ASDriver (theMsgDriver)
-{}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MXCAFDoc_AreaStorageDriver::VersionNumber() const
-{ return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
- Handle(Standard_Type) MXCAFDoc_AreaStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(XCAFDoc_Area);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
- Handle(PDF_Attribute) MXCAFDoc_AreaStorageDriver::NewEmpty() const
-{
-  return new PXCAFDoc_Area();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
- void MXCAFDoc_AreaStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
-                                                 const Handle(PDF_Attribute)& Target,
-                                                 const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
-{
-  Handle(XCAFDoc_Area) S = Handle(XCAFDoc_Area)::DownCast (Source);
-  Handle(PXCAFDoc_Area) T = Handle(PXCAFDoc_Area)::DownCast (Target);
-  
-  T->Set(S->Get());
-}
diff --git a/src/MXCAFDoc/MXCAFDoc_CentroidRetrievalDriver.cdl b/src/MXCAFDoc/MXCAFDoc_CentroidRetrievalDriver.cdl
deleted file mode 100644 (file)
index 7846c7e..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
--- Created on: 2000-09-11
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class CentroidRetrievalDriver from MXCAFDoc inherits  ARDriver from MDF 
-
-       ---Purpose: 
-
-uses
-    RRelocationTable from MDF,
-    Attribute        from PDF,
-    Attribute        from TDF,
-    MessageDriver    from CDM
-
-is
---    Create -- Version 0
---    returns CentroidRetrievalDriver from MXCAFDoc;
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns CentroidRetrievalDriver from MXCAFDoc;
-    
-    VersionNumber(me) returns Integer from Standard;
-    ---Purpose: Returns the version number from which the driver
-    --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-    ---Purpose: Returns the type: XCAFDoc_Centroid
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-end CentroidRetrievalDriver;
diff --git a/src/MXCAFDoc/MXCAFDoc_CentroidRetrievalDriver.cxx b/src/MXCAFDoc/MXCAFDoc_CentroidRetrievalDriver.cxx
deleted file mode 100644 (file)
index 00bd048..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-// Created on: 2000-09-11
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MXCAFDoc_CentroidRetrievalDriver.ixx>
-#include <MDF_RRelocationTable.hxx>
-#include <PTColStd_PersistentTransientMap.hxx>
-#include <PXCAFDoc_Centroid.hxx>
-#include <XCAFDoc_Centroid.hxx>
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_CentroidRetrievalDriver::MXCAFDoc_CentroidRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ARDriver (theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
- Standard_Integer MXCAFDoc_CentroidRetrievalDriver::VersionNumber() const
-{
-  return 0;
-}
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
- Handle(Standard_Type) MXCAFDoc_CentroidRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PXCAFDoc_Centroid);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
- Handle(TDF_Attribute) MXCAFDoc_CentroidRetrievalDriver::NewEmpty() const
-{
-  return new XCAFDoc_Centroid();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
- void MXCAFDoc_CentroidRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
-                                                   const Handle(TDF_Attribute)& Target,
-                                                   const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
-{
-  Handle(PXCAFDoc_Centroid) S = Handle(PXCAFDoc_Centroid)::DownCast (Source);
-  Handle(XCAFDoc_Centroid) T = Handle(XCAFDoc_Centroid)::DownCast (Target);
-
-  T->Set(S->Get());
-}
diff --git a/src/MXCAFDoc/MXCAFDoc_CentroidStorageDriver.cdl b/src/MXCAFDoc/MXCAFDoc_CentroidStorageDriver.cdl
deleted file mode 100644 (file)
index 9ba2bb2..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
--- Created on: 2000-09-11
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class CentroidStorageDriver from MXCAFDoc inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF,
-    MessageDriver    from CDM
-
-is
-
---    Create  -- Version 0
---    returns CentroidStorageDriver from MXCAFDoc;
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns CentroidStorageDriver from MXCAFDoc;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: XCAFDoc_Centroid.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-end CentroidStorageDriver;
diff --git a/src/MXCAFDoc/MXCAFDoc_CentroidStorageDriver.cxx b/src/MXCAFDoc/MXCAFDoc_CentroidStorageDriver.cxx
deleted file mode 100644 (file)
index 66d6257..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-// Created on: 2000-09-11
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MXCAFDoc_CentroidStorageDriver.ixx>
-#include <MDF_SRelocationTable.hxx>
-#include <PTColStd_TransientPersistentMap.hxx>
-#include <PXCAFDoc_Centroid.hxx>
-#include <XCAFDoc_Centroid.hxx>
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_CentroidStorageDriver::MXCAFDoc_CentroidStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ASDriver (theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
- Standard_Integer MXCAFDoc_CentroidStorageDriver::VersionNumber() const
-{  return 0; } 
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
- Handle(Standard_Type) MXCAFDoc_CentroidStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(XCAFDoc_Centroid);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
- Handle(PDF_Attribute) MXCAFDoc_CentroidStorageDriver::NewEmpty() const
-{
-  return new PXCAFDoc_Centroid();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
- void MXCAFDoc_CentroidStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
-                                            const Handle(PDF_Attribute)& Target,
-                                            const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
-{
-  Handle(XCAFDoc_Centroid) S = Handle(XCAFDoc_Centroid)::DownCast (Source);
-  Handle(PXCAFDoc_Centroid) T = Handle(PXCAFDoc_Centroid)::DownCast (Target);
-  
-  T->Set(S->Get());
-}
diff --git a/src/MXCAFDoc/MXCAFDoc_ColorRetrievalDriver.cdl b/src/MXCAFDoc/MXCAFDoc_ColorRetrievalDriver.cdl
deleted file mode 100644 (file)
index fa3bfab..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
--- Created on: 2000-08-15
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ColorRetrievalDriver from MXCAFDoc inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses
-    RRelocationTable from MDF,
-    Attribute        from PDF,
-    Attribute        from TDF,
-    MessageDriver    from CDM
-
-is
---    Create -- Version 0
---    returns ColorRetrievalDriver from MXCAFDoc;
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns ColorRetrievalDriver from MXCAFDoc;
-    
-    VersionNumber(me) returns Integer from Standard;
-    ---Purpose: Returns the version number from which the driver
-    --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-    ---Purpose: Returns the type: XCAFDoc_Color
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-end ColorRetrievalDriver;
diff --git a/src/MXCAFDoc/MXCAFDoc_ColorRetrievalDriver.cxx b/src/MXCAFDoc/MXCAFDoc_ColorRetrievalDriver.cxx
deleted file mode 100644 (file)
index b294091..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-// Created on: 2000-08-15
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDF_RRelocationTable.hxx>
-#include <MXCAFDoc_ColorRetrievalDriver.ixx>
-#include <MgtTopLoc.hxx>
-#include <PTColStd_PersistentTransientMap.hxx>
-#include <PXCAFDoc_Color.hxx>
-#include <XCAFDoc_Color.hxx>
-
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_ColorRetrievalDriver::MXCAFDoc_ColorRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ARDriver (theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
- Standard_Integer MXCAFDoc_ColorRetrievalDriver::VersionNumber() const
-{
-  return 0;
-}
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
- Handle(Standard_Type) MXCAFDoc_ColorRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PXCAFDoc_Color);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
- Handle(TDF_Attribute) MXCAFDoc_ColorRetrievalDriver::NewEmpty() const
-{
-  return new XCAFDoc_Color();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
- void MXCAFDoc_ColorRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
-                                                   const Handle(TDF_Attribute)& Target,
-                                                   const Handle(MDF_RRelocationTable)&// RelocTable
-                                                   ) const
-{
-  Handle(PXCAFDoc_Color) S = Handle(PXCAFDoc_Color)::DownCast (Source);
-  Handle(XCAFDoc_Color) T = Handle(XCAFDoc_Color)::DownCast (Target);
-  
-  T->Set(S->Get());
-
-}
-
diff --git a/src/MXCAFDoc/MXCAFDoc_ColorStorageDriver.cdl b/src/MXCAFDoc/MXCAFDoc_ColorStorageDriver.cdl
deleted file mode 100644 (file)
index de87ee5..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
--- Created on: 2000-08-15
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ColorStorageDriver from MXCAFDoc inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF,
-    MessageDriver    from CDM
-
-is
-
---    Create  -- Version 0
---    returns ColorStorageDriver from MXCAFDoc;
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns ColorStorageDriver from MXCAFDoc;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: XCAFDoc_Color.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end ColorStorageDriver;
diff --git a/src/MXCAFDoc/MXCAFDoc_ColorStorageDriver.cxx b/src/MXCAFDoc/MXCAFDoc_ColorStorageDriver.cxx
deleted file mode 100644 (file)
index 8e5aed0..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-// Created on: 2000-08-15
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDF_SRelocationTable.hxx>
-#include <MXCAFDoc_ColorStorageDriver.ixx>
-#include <MgtTopLoc.hxx>
-#include <PTColStd_TransientPersistentMap.hxx>
-#include <PXCAFDoc_Color.hxx>
-#include <XCAFDoc_Color.hxx>
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_ColorStorageDriver::MXCAFDoc_ColorStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ASDriver (theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
- Standard_Integer MXCAFDoc_ColorStorageDriver::VersionNumber() const
-{  return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
- Handle(Standard_Type) MXCAFDoc_ColorStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(XCAFDoc_Color);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
- Handle(PDF_Attribute) MXCAFDoc_ColorStorageDriver::NewEmpty() const
-{
-  return new PXCAFDoc_Color();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
- void MXCAFDoc_ColorStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
-                                                 const Handle(PDF_Attribute)& Target,
-                                                 const Handle(MDF_SRelocationTable)& //RelocTable
-                                                 ) const
-{
-  Handle(XCAFDoc_Color) S = Handle(XCAFDoc_Color)::DownCast (Source);
-  Handle(PXCAFDoc_Color) T = Handle(PXCAFDoc_Color)::DownCast (Target);
-  
-  T->Set(S->GetColor());
-}
-
diff --git a/src/MXCAFDoc/MXCAFDoc_ColorToolRetrievalDriver.cdl b/src/MXCAFDoc/MXCAFDoc_ColorToolRetrievalDriver.cdl
deleted file mode 100644 (file)
index 601bb20..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
--- Created on: 2000-08-31
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ColorToolRetrievalDriver from MXCAFDoc inherits ARDriver from MDF
-
-       ---Purpose: 
-uses
-    RRelocationTable from MDF,
-    Attribute        from PDF,
-    Attribute        from TDF,
-    MessageDriver    from CDM
-
-is
---    Create -- Version 0
---    returns ColorToolRetrievalDriver from MXCAFDoc;
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns ColorToolRetrievalDriver from MXCAFDoc;
-    
-    VersionNumber(me) returns Integer from Standard;
-    ---Purpose: Returns the version number from which the driver
-    --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-    ---Purpose: Returns the type: XCAFDoc_Color
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-end ColorToolRetrievalDriver;
diff --git a/src/MXCAFDoc/MXCAFDoc_ColorToolRetrievalDriver.cxx b/src/MXCAFDoc/MXCAFDoc_ColorToolRetrievalDriver.cxx
deleted file mode 100644 (file)
index 6a64d58..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-// Created on: 2000-08-15
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDF_RRelocationTable.hxx>
-#include <MXCAFDoc_ColorToolRetrievalDriver.ixx>
-#include <MgtTopLoc.hxx>
-#include <PTColStd_PersistentTransientMap.hxx>
-#include <PXCAFDoc_ColorTool.hxx>
-#include <XCAFDoc_ColorTool.hxx>
-
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_ColorToolRetrievalDriver::MXCAFDoc_ColorToolRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ARDriver (theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
- Standard_Integer MXCAFDoc_ColorToolRetrievalDriver::VersionNumber() const
-{
-  return 0;
-}
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
- Handle(Standard_Type) MXCAFDoc_ColorToolRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PXCAFDoc_ColorTool);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
- Handle(TDF_Attribute) MXCAFDoc_ColorToolRetrievalDriver::NewEmpty() const
-{
-  return new XCAFDoc_ColorTool();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MXCAFDoc_ColorToolRetrievalDriver::Paste (const Handle(PDF_Attribute)& /* Source */,
-                                              const Handle(TDF_Attribute)& /* Target */,
-                                              const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
-{
-}
-
diff --git a/src/MXCAFDoc/MXCAFDoc_ColorToolStorageDriver.cdl b/src/MXCAFDoc/MXCAFDoc_ColorToolStorageDriver.cdl
deleted file mode 100644 (file)
index 968ac94..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
--- Created on: 2000-08-15
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ColorToolStorageDriver from MXCAFDoc inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF,
-    MessageDriver    from CDM
-
-is
-
---    Create  -- Version 0
---    returns ColorToolStorageDriver from MXCAFDoc;
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns ColorToolStorageDriver from MXCAFDoc;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: XCAFDoc_Color.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end ColorToolStorageDriver;
diff --git a/src/MXCAFDoc/MXCAFDoc_ColorToolStorageDriver.cxx b/src/MXCAFDoc/MXCAFDoc_ColorToolStorageDriver.cxx
deleted file mode 100644 (file)
index 48bd526..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-// Created on: 2000-08-15
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDF_SRelocationTable.hxx>
-#include <MXCAFDoc_ColorToolStorageDriver.ixx>
-#include <MgtTopLoc.hxx>
-#include <PTColStd_TransientPersistentMap.hxx>
-#include <PXCAFDoc_ColorTool.hxx>
-#include <XCAFDoc_ColorTool.hxx>
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_ColorToolStorageDriver::MXCAFDoc_ColorToolStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ASDriver (theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
- Standard_Integer MXCAFDoc_ColorToolStorageDriver::VersionNumber() const
-{  return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
- Handle(Standard_Type) MXCAFDoc_ColorToolStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(XCAFDoc_ColorTool);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
- Handle(PDF_Attribute) MXCAFDoc_ColorToolStorageDriver::NewEmpty() const
-{
-  return new PXCAFDoc_ColorTool();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MXCAFDoc_ColorToolStorageDriver::Paste (const Handle(TDF_Attribute)& /* Source */,
-                                            const Handle(PDF_Attribute)& /* Target */,
-                                            const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
-{
-}
-
diff --git a/src/MXCAFDoc/MXCAFDoc_DatumRetrievalDriver.cdl b/src/MXCAFDoc/MXCAFDoc_DatumRetrievalDriver.cdl
deleted file mode 100644 (file)
index 7324619..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
--- Created on: 2008-12-10
--- Created by: Pavel TELKOV
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class DatumRetrievalDriver from MXCAFDoc inherits ARDriver from MDF
-
-       ---Purpose: 
-uses
-    RRelocationTable from MDF,
-    Attribute        from PDF,
-    Attribute        from TDF,
-    MessageDriver    from CDM
-
-is
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns DatumRetrievalDriver from MXCAFDoc;
-       ---Purpose: Returns mutable DatumRetrievalDriver from MXCAFDoc;
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-    ---Purpose: Returns the type: XCAFDoc_Datum
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-end DatumRetrievalDriver from MXCAFDoc;
diff --git a/src/MXCAFDoc/MXCAFDoc_DatumRetrievalDriver.cxx b/src/MXCAFDoc/MXCAFDoc_DatumRetrievalDriver.cxx
deleted file mode 100644 (file)
index 82e0bf2..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-// Created on: 2008-12-10
-// Created by: Pavel TELKOV
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MXCAFDoc_DatumRetrievalDriver.ixx>
-#include <PXCAFDoc_Datum.hxx>
-#include <XCAFDoc_Datum.hxx>
-
-#include <TCollection_HAsciiString.hxx>
-#include <PCollection_HAsciiString.hxx>
-
-
-//=======================================================================
-//function : MCAFDoc_DatumRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_DatumRetrievalDriver::MXCAFDoc_DatumRetrievalDriver
-  (const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ARDriver (theMsgDriver)
-{}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MXCAFDoc_DatumRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MXCAFDoc_DatumRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PXCAFDoc_Datum);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MXCAFDoc_DatumRetrievalDriver::NewEmpty() const
-{
-  return new XCAFDoc_Datum();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MXCAFDoc_DatumRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
-                                           const Handle(TDF_Attribute)& Target,
-                                           const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
-{
-  Handle(PXCAFDoc_Datum) S = Handle(PXCAFDoc_Datum)::DownCast (Source);
-  Handle(XCAFDoc_Datum) T = Handle(XCAFDoc_Datum)::DownCast (Target);
-  
-  Handle(TCollection_HAsciiString) aName, aDescr, anId;
-  if ( !S->GetName().IsNull() )
-    aName = new TCollection_HAsciiString( (S->GetName())->Convert() );
-  if ( !S->GetDescription().IsNull() )
-    aDescr = new TCollection_HAsciiString( (S->GetDescription())->Convert() );
-  if ( !S->GetIdentification().IsNull() )
-    anId = new TCollection_HAsciiString( (S->GetIdentification())->Convert() );
-
-  T->Set(aName, aDescr, anId);
-}
diff --git a/src/MXCAFDoc/MXCAFDoc_DatumStorageDriver.cdl b/src/MXCAFDoc/MXCAFDoc_DatumStorageDriver.cdl
deleted file mode 100644 (file)
index 5dcfcc5..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
--- Created on: 2008-12-10
--- Created by: Pavel TELKOV
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class DatumStorageDriver from MXCAFDoc inherits ASDriver from MDF
-
-       ---Purpose: 
-uses
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF,
-    MessageDriver    from CDM
-
-is
-
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns DatumStorageDriver from MXCAFDoc;
-       ---Purpose: Returns mutable DatumStorageDriver from MXCAFDoc;
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: XCAFDoc_Datum.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-end DatumStorageDriver;
diff --git a/src/MXCAFDoc/MXCAFDoc_DatumStorageDriver.cxx b/src/MXCAFDoc/MXCAFDoc_DatumStorageDriver.cxx
deleted file mode 100644 (file)
index fb94d82..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// Created on: 2008-12-10
-// Created by: Pavel TELKOV
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MXCAFDoc_DatumStorageDriver.ixx>
-#include <XCAFDoc_Datum.hxx>
-#include <PXCAFDoc_Datum.hxx>
-
-#include <TCollection_HAsciiString.hxx>
-#include <PCollection_HAsciiString.hxx>
-
-//=======================================================================
-//function : MXCAFDoc_DatumStorageDriver
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_DatumStorageDriver::MXCAFDoc_DatumStorageDriver
-  (const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ASDriver (theMsgDriver)
-{}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MXCAFDoc_DatumStorageDriver::VersionNumber() const
-{ return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MXCAFDoc_DatumStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(XCAFDoc_Datum);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(PDF_Attribute) MXCAFDoc_DatumStorageDriver::NewEmpty() const
-{
-  return new PXCAFDoc_Datum();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MXCAFDoc_DatumStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
-                                        const Handle(PDF_Attribute)& Target,
-                                        const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
-{
-  Handle(XCAFDoc_Datum) S = Handle(XCAFDoc_Datum)::DownCast (Source);
-  Handle(PXCAFDoc_Datum) T = Handle(PXCAFDoc_Datum)::DownCast (Target);
-  Handle(TCollection_HAsciiString) aNameStr = S->GetName();
-  Handle(TCollection_HAsciiString) aDescrStr = S->GetDescription();
-  Handle(TCollection_HAsciiString) anIdStr = S->GetIdentification();
-  
-  Handle(PCollection_HAsciiString) aName, aDescr, anId;
-  if ( !aNameStr.IsNull() )
-    aName = new PCollection_HAsciiString (aNameStr->String());
-  if ( !aDescrStr.IsNull() )
-    aDescr = new PCollection_HAsciiString (aDescrStr->String());
-  if ( !anIdStr.IsNull() )
-    anId = new PCollection_HAsciiString (anIdStr->String());
-
-  T->Set(aName, aDescr, anId);
-}
diff --git a/src/MXCAFDoc/MXCAFDoc_DimTolRetrievalDriver.cdl b/src/MXCAFDoc/MXCAFDoc_DimTolRetrievalDriver.cdl
deleted file mode 100644 (file)
index 3ab7845..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
--- Created on: 2008-12-10
--- Created by: Pavel TELKOV
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class DimTolRetrievalDriver from MXCAFDoc inherits ARDriver from MDF
-
-       ---Purpose: 
-uses
-    RRelocationTable from MDF,
-    Attribute        from PDF,
-    Attribute        from TDF,
-    MessageDriver    from CDM
-
-is
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns DimTolRetrievalDriver from MXCAFDoc;
-       ---Purpose: Returns mutable DimTolRetrievalDriver from MXCAFDoc;
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-    ---Purpose: Returns the type: XCAFDoc_DimTol
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-end DimTolRetrievalDriver from MXCAFDoc;
diff --git a/src/MXCAFDoc/MXCAFDoc_DimTolRetrievalDriver.cxx b/src/MXCAFDoc/MXCAFDoc_DimTolRetrievalDriver.cxx
deleted file mode 100644 (file)
index 69e6acb..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-// Created on: 2008-12-10
-// Created by: Pavel TELKOV
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MXCAFDoc_DimTolRetrievalDriver.ixx>
-#include <PXCAFDoc_DimTol.hxx>
-#include <XCAFDoc_DimTol.hxx>
-
-#include <TCollection_HAsciiString.hxx>
-#include <TColStd_HArray1OfReal.hxx>
-#include <PCollection_HAsciiString.hxx>
-#include <PColStd_HArray1OfReal.hxx>
-
-
-//=======================================================================
-//function : MCAFDoc_DimTolRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_DimTolRetrievalDriver::MXCAFDoc_DimTolRetrievalDriver
-  (const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ARDriver (theMsgDriver)
-{}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MXCAFDoc_DimTolRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MXCAFDoc_DimTolRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PXCAFDoc_DimTol);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MXCAFDoc_DimTolRetrievalDriver::NewEmpty() const
-{
-  return new XCAFDoc_DimTol();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MXCAFDoc_DimTolRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
-                                           const Handle(TDF_Attribute)& Target,
-                                           const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
-{
-  Handle(PXCAFDoc_DimTol) S = Handle(PXCAFDoc_DimTol)::DownCast (Source);
-  Handle(XCAFDoc_DimTol) T = Handle(XCAFDoc_DimTol)::DownCast (Target);
-  
-  Handle(TColStd_HArray1OfReal) aVals;
-  Handle(PColStd_HArray1OfReal) aPArr = S->GetVal();
-  if ( !aPArr.IsNull() )
-  {
-    Standard_Integer i = aPArr->Lower(), n = aPArr->Upper();
-    aVals = new TColStd_HArray1OfReal( i, n );
-     for( ; i <= n; i++ )
-       aVals->SetValue( i, aPArr->Value( i ) );
-  }
-  Handle(TCollection_HAsciiString) aName, aDescr;
-  if ( !S->GetName().IsNull() )
-    aName = new TCollection_HAsciiString( (S->GetName())->Convert() );
-  if ( !S->GetDescription().IsNull() )
-    aDescr = new TCollection_HAsciiString( (S->GetDescription())->Convert() );
-
-  T->Set(S->GetKind(), aVals, aName, aDescr);
-}
diff --git a/src/MXCAFDoc/MXCAFDoc_DimTolStorageDriver.cdl b/src/MXCAFDoc/MXCAFDoc_DimTolStorageDriver.cdl
deleted file mode 100644 (file)
index 4461bbb..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
--- Created on: 2008-12-10
--- Created by: Pavel TELKOV
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class DimTolStorageDriver from MXCAFDoc inherits ASDriver from MDF
-
-       ---Purpose: 
-uses
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF,
-    MessageDriver    from CDM
-
-is
-
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns DimTolStorageDriver from MXCAFDoc;
-       ---Purpose: Returns mutable DimTolStorageDriver from MXCAFDoc;
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: XCAFDoc_DimTol.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-end DimTolStorageDriver;
diff --git a/src/MXCAFDoc/MXCAFDoc_DimTolStorageDriver.cxx b/src/MXCAFDoc/MXCAFDoc_DimTolStorageDriver.cxx
deleted file mode 100644 (file)
index 7a110be..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-// Created on: 2008-12-10
-// Created by: Pavel TELKOV
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MXCAFDoc_DimTolStorageDriver.ixx>
-#include <XCAFDoc_DimTol.hxx>
-#include <PXCAFDoc_DimTol.hxx>
-
-#include <TCollection_HAsciiString.hxx>
-#include <TColStd_HArray1OfReal.hxx>
-#include <PCollection_HAsciiString.hxx>
-#include <PColStd_HArray1OfReal.hxx>
-
-//=======================================================================
-//function : MXCAFDoc_DimTolStorageDriver
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_DimTolStorageDriver::MXCAFDoc_DimTolStorageDriver
-  (const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ASDriver (theMsgDriver)
-{}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MXCAFDoc_DimTolStorageDriver::VersionNumber() const
-{ return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MXCAFDoc_DimTolStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(XCAFDoc_DimTol);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(PDF_Attribute) MXCAFDoc_DimTolStorageDriver::NewEmpty() const
-{
-  return new PXCAFDoc_DimTol();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MXCAFDoc_DimTolStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
-                                         const Handle(PDF_Attribute)& Target,
-                                         const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
-{
-  Handle(XCAFDoc_DimTol) S = Handle(XCAFDoc_DimTol)::DownCast (Source);
-  Handle(PXCAFDoc_DimTol) T = Handle(PXCAFDoc_DimTol)::DownCast (Target);
-  Handle(TColStd_HArray1OfReal) aHArr = S->GetVal();
-  Handle(PColStd_HArray1OfReal) aVals;
-  if ( !aHArr.IsNull() )
-  {
-    Standard_Integer i = aHArr->Lower(), n = aHArr->Upper();
-    aVals = new PColStd_HArray1OfReal( i, n );
-     for( ; i <= n; i++ )
-       aVals->SetValue( i, aHArr->Value( i ) );
-  }
-  Handle(TCollection_HAsciiString) aNameStr = S->GetName();
-  Handle(TCollection_HAsciiString) aDescrStr = S->GetDescription();
-  
-  Handle(PCollection_HAsciiString) aName, aDescr;
-  if ( !aNameStr.IsNull() )
-    aName = new PCollection_HAsciiString (aNameStr->String());
-  if ( !aDescrStr.IsNull() )
-    aDescr = new PCollection_HAsciiString (aDescrStr->String());
-
-  T->Set(S->GetKind(), aVals, aName, aDescr);
-}
diff --git a/src/MXCAFDoc/MXCAFDoc_DimTolToolRetrievalDriver.cdl b/src/MXCAFDoc/MXCAFDoc_DimTolToolRetrievalDriver.cdl
deleted file mode 100644 (file)
index 8f74684..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
--- Created on: 2008-12-10
--- Created by: Pavel TELKOV
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class DimTolToolRetrievalDriver from MXCAFDoc inherits ARDriver from MDF
-
-       ---Purpose: 
-uses
-    RRelocationTable from MDF,
-    Attribute        from PDF,
-    Attribute        from TDF,
-    MessageDriver    from CDM
-
-is
---    Create -- Version 0
---    returns DimTolToolRetrievalDriver from MXCAFDoc;
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns DimTolToolRetrievalDriver from MXCAFDoc;
-    
-    VersionNumber(me) returns Integer from Standard;
-    ---Purpose: Returns the version number from which the driver
-    --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-    ---Purpose: Returns the type: XCAFDoc_DimTolTool
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-end DimTolToolRetrievalDriver;
diff --git a/src/MXCAFDoc/MXCAFDoc_DimTolToolRetrievalDriver.cxx b/src/MXCAFDoc/MXCAFDoc_DimTolToolRetrievalDriver.cxx
deleted file mode 100644 (file)
index 1bdcf09..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-// Created on: 2008-12-10
-// Created by: Pavel TELKOV
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDF_RRelocationTable.hxx>
-#include <MXCAFDoc_DimTolToolRetrievalDriver.ixx>
-#include <PXCAFDoc_DimTolTool.hxx>
-#include <XCAFDoc_DimTolTool.hxx>
-
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_DimTolToolRetrievalDriver::MXCAFDoc_DimTolToolRetrievalDriver
-  (const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ARDriver (theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MXCAFDoc_DimTolToolRetrievalDriver::VersionNumber() const
-{
-  return 0;
-}
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MXCAFDoc_DimTolToolRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PXCAFDoc_DimTolTool);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MXCAFDoc_DimTolToolRetrievalDriver::NewEmpty() const
-{
-  return new XCAFDoc_DimTolTool();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MXCAFDoc_DimTolToolRetrievalDriver::Paste 
-  (const Handle(PDF_Attribute)& /* Source */,
-   const Handle(TDF_Attribute)& /* Target */,
-   const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
-{
-}
diff --git a/src/MXCAFDoc/MXCAFDoc_DimTolToolStorageDriver.cdl b/src/MXCAFDoc/MXCAFDoc_DimTolToolStorageDriver.cdl
deleted file mode 100644 (file)
index caa0a9c..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
--- Created on: 2008-12-10
--- Created by: Pavel TELKOV
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class DimTolToolStorageDriver from MXCAFDoc inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF,
-    MessageDriver    from CDM
-
-is
-
---    Create  -- Version 0
---    returns DimTolToolStorageDriver from MXCAFDoc;
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns DimTolToolStorageDriver from MXCAFDoc;
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: XCAFDoc_DimTolTool
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end DimTolToolStorageDriver;
diff --git a/src/MXCAFDoc/MXCAFDoc_DimTolToolStorageDriver.cxx b/src/MXCAFDoc/MXCAFDoc_DimTolToolStorageDriver.cxx
deleted file mode 100644 (file)
index bb26a7d..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-// Created on: 2008-12-10
-// Created by: Pavel TELKOV
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDF_SRelocationTable.hxx>
-#include <MXCAFDoc_DimTolToolStorageDriver.ixx>
-#include <PXCAFDoc_DimTolTool.hxx>
-#include <XCAFDoc_DimTolTool.hxx>
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_DimTolToolStorageDriver::MXCAFDoc_DimTolToolStorageDriver
-  (const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ASDriver (theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MXCAFDoc_DimTolToolStorageDriver::VersionNumber() const
-{  return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
- Handle(Standard_Type) MXCAFDoc_DimTolToolStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(XCAFDoc_DimTolTool);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
- Handle(PDF_Attribute) MXCAFDoc_DimTolToolStorageDriver::NewEmpty() const
-{
-  return new PXCAFDoc_DimTolTool();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MXCAFDoc_DimTolToolStorageDriver::Paste 
-  (const Handle(TDF_Attribute)& /* Source */,
-   const Handle(PDF_Attribute)& /* Target */,
-   const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
-{
-}
diff --git a/src/MXCAFDoc/MXCAFDoc_DocumentToolRetrievalDriver.cdl b/src/MXCAFDoc/MXCAFDoc_DocumentToolRetrievalDriver.cdl
deleted file mode 100644 (file)
index fc29705..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
--- Created on: 2000-08-15
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class DocumentToolRetrievalDriver from MXCAFDoc inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses
-    RRelocationTable from MDF,
-    Attribute        from PDF,
-    Attribute        from TDF,
-    MessageDriver    from CDM
-
-is
---    Create -- Version 0
---    returns DocumentToolRetrievalDriver from MXCAFDoc;
-    Create (theMessageDriver : MessageDriver from CDM)
-    returns DocumentToolRetrievalDriver from MXCAFDoc;
-    
-    VersionNumber(me) returns Integer from Standard;
-    ---Purpose: Returns the version number from which the driver
-    --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-    ---Purpose: Returns the type: XCAFDoc_Color
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-end DocumentToolRetrievalDriver;
diff --git a/src/MXCAFDoc/MXCAFDoc_DocumentToolRetrievalDriver.cxx b/src/MXCAFDoc/MXCAFDoc_DocumentToolRetrievalDriver.cxx
deleted file mode 100644 (file)
index 7fbbe3d..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// Created on: 2000-08-15
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDF_RRelocationTable.hxx>
-#include <MXCAFDoc_DocumentToolRetrievalDriver.ixx>
-#include <MgtTopLoc.hxx>
-#include <PTColStd_PersistentTransientMap.hxx>
-#include <PXCAFDoc_DocumentTool.hxx>
-#include <XCAFDoc_DocumentTool.hxx>
-#include <TDF_Label.hxx>
-
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_DocumentToolRetrievalDriver::MXCAFDoc_DocumentToolRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ARDriver (theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
- Standard_Integer MXCAFDoc_DocumentToolRetrievalDriver::VersionNumber() const
-{
-  return 0;
-}
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
- Handle(Standard_Type) MXCAFDoc_DocumentToolRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PXCAFDoc_DocumentTool);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
- Handle(TDF_Attribute) MXCAFDoc_DocumentToolRetrievalDriver::NewEmpty() const
-{
-  return new XCAFDoc_DocumentTool();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
- void MXCAFDoc_DocumentToolRetrievalDriver::Paste(const Handle(PDF_Attribute)& ,//Source,
-                                                   const Handle(TDF_Attribute)& Target,
-                                                   const Handle(MDF_RRelocationTable)&// RelocTable
-                                                   ) const
-{
-  Handle(XCAFDoc_DocumentTool) T = Handle(XCAFDoc_DocumentTool)::DownCast (Target);
-  T->Init();
-//  TDF_Label L = T->Label();
-//  if (L.IsNull()) {
-//    cout<<"XCAFDoc_DocumentTool::Paste  FUCK!!!"<<endl;
-//    return;
-//  }
-//  L.ForgetAttribute(XCAFDoc_DocumentTool::GetID());
-//  XCAFDoc_DocumentTool::Set(L, Standard_False);
-}
-
diff --git a/src/MXCAFDoc/MXCAFDoc_DocumentToolStorageDriver.cdl b/src/MXCAFDoc/MXCAFDoc_DocumentToolStorageDriver.cdl
deleted file mode 100644 (file)
index 270ed85..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
--- Created on: 2000-08-15
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class DocumentToolStorageDriver from MXCAFDoc inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses
-    SRelocationTable  from MDF,
-    Attribute         from TDF,
-    Attribute         from PDF,
-    MessageDriver from CDM
-
-is
-
---    Create  -- Version 0
---    returns DocumentToolStorageDriver from MXCAFDoc;
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns DocumentToolStorageDriver from MXCAFDoc;
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: XCAFDoc_Color.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end DocumentToolStorageDriver;
diff --git a/src/MXCAFDoc/MXCAFDoc_DocumentToolStorageDriver.cxx b/src/MXCAFDoc/MXCAFDoc_DocumentToolStorageDriver.cxx
deleted file mode 100644 (file)
index 83d995b..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-// Created on: 2000-08-15
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDF_SRelocationTable.hxx>
-#include <MXCAFDoc_DocumentToolStorageDriver.ixx>
-#include <MgtTopLoc.hxx>
-#include <PTColStd_TransientPersistentMap.hxx>
-#include <PXCAFDoc_DocumentTool.hxx>
-#include <XCAFDoc_DocumentTool.hxx>
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_DocumentToolStorageDriver::MXCAFDoc_DocumentToolStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ASDriver (theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
- Standard_Integer MXCAFDoc_DocumentToolStorageDriver::VersionNumber() const
-{  return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
- Handle(Standard_Type) MXCAFDoc_DocumentToolStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(XCAFDoc_DocumentTool);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
- Handle(PDF_Attribute) MXCAFDoc_DocumentToolStorageDriver::NewEmpty() const
-{
-  return new PXCAFDoc_DocumentTool();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MXCAFDoc_DocumentToolStorageDriver::Paste(const Handle(TDF_Attribute)& /* Source */,
-                                              const Handle(PDF_Attribute)& /* Target */,
-                                              const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
-{
-}
-
diff --git a/src/MXCAFDoc/MXCAFDoc_GraphNodeRetrievalDriver.cdl b/src/MXCAFDoc/MXCAFDoc_GraphNodeRetrievalDriver.cdl
deleted file mode 100644 (file)
index 3d30456..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
--- Created on: 2000-09-29
--- Created by: Pavel TELKOV
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class GraphNodeRetrievalDriver from MXCAFDoc inherits ARDriver from MDF
-
-uses
-
-     RRelocationTable from MDF,
-     Attribute        from PDF,
-     Attribute        from TDF,
-     MessageDriver    from CDM
-
-is
-
---    Create returns GraphNodeRetrievalDriver from MXCAFDoc;
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns GraphNodeRetrievalDriver from MXCAFDoc;
-    
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable  from MDF);
-
-end GraphNodeRetrievalDriver;
diff --git a/src/MXCAFDoc/MXCAFDoc_GraphNodeRetrievalDriver.cxx b/src/MXCAFDoc/MXCAFDoc_GraphNodeRetrievalDriver.cxx
deleted file mode 100644 (file)
index 034ad76..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-// Created on: 2000-09-29
-// Created by: Pavel TELKOV
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MXCAFDoc_GraphNodeRetrievalDriver.ixx>
-#include <PXCAFDoc_GraphNode.hxx>
-#include <XCAFDoc_GraphNode.hxx>
-#include <Standard_NoSuchObject.hxx>
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_GraphNodeRetrievalDriver::MXCAFDoc_GraphNodeRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ARDriver (theMsgDriver)
-{}
-
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MXCAFDoc_GraphNodeRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MXCAFDoc_GraphNodeRetrievalDriver::SourceType() const
-{ return STANDARD_TYPE(PXCAFDoc_GraphNode);  }
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MXCAFDoc_GraphNodeRetrievalDriver::NewEmpty() const
-{ return new XCAFDoc_GraphNode(); }
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MXCAFDoc_GraphNodeRetrievalDriver::Paste (const Handle(PDF_Attribute)&        Source,
-                                             const Handle(TDF_Attribute)&        Target,
-                                             const Handle(MDF_RRelocationTable)& RelocTable) const
-{
-  Handle(PXCAFDoc_GraphNode) S = Handle(PXCAFDoc_GraphNode)::DownCast(Source);
-  Handle(XCAFDoc_GraphNode) T = Handle(XCAFDoc_GraphNode)::DownCast(Target);
-  T->SetGraphID(S->GetGraphID());
-
-  Handle(XCAFDoc_GraphNode) TFirst;
-  Handle(PXCAFDoc_GraphNode) PFirst;
-  Standard_Integer i;
-  for ( i = 1; i <= S->NbFathers(); i++) {
-    PFirst = S->GetFather(i); 
-    if ( !PFirst.IsNull() ) {
-      if (!RelocTable->HasRelocation(PFirst, TFirst)) { 
-       Standard_NoSuchObject::Raise("MXCAFDoc_GraphNodeRetrievalDriver::Paste");
-       }
-      if (!TFirst.IsNull()) {
-       TFirst->SetGraphID(S->GetGraphID());
-       T->SetFather(TFirst);
-      }
-    }
-  }
-
-  for ( i = 1; i <= S->NbChildren(); i++) {
-    PFirst = S->GetChild(i);
-    if ( !PFirst.IsNull() ) {
-      if (!RelocTable->HasRelocation(PFirst, TFirst)) { 
-       Standard_NoSuchObject::Raise("MXCAFDoc_GraphNodeRetrievalDriver::Paste");
-       }
-      if (!TFirst.IsNull()) {
-       TFirst->SetGraphID(S->GetGraphID());
-       T->SetChild(TFirst);
-      }
-    }
-  }
-  
-  
-}
diff --git a/src/MXCAFDoc/MXCAFDoc_GraphNodeStorageDriver.cdl b/src/MXCAFDoc/MXCAFDoc_GraphNodeStorageDriver.cdl
deleted file mode 100644 (file)
index 4b93045..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
--- Created on: 2000-09-29
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class GraphNodeStorageDriver from MXCAFDoc inherits ASDriver from MDF
-
-uses
-
-     SRelocationTable from MDF,
-     Attribute        from TDF,
-     Attribute        from PDF,
-     MessageDriver    from CDM
-
-is
---    Create returns GraphNodeStorageDriver from MXCAFDoc;
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns GraphNodeStorageDriver from MXCAFDoc;
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-
-    NewEmpty (me) returns Attribute from PDF;
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-end GraphNodeStorageDriver;
diff --git a/src/MXCAFDoc/MXCAFDoc_GraphNodeStorageDriver.cxx b/src/MXCAFDoc/MXCAFDoc_GraphNodeStorageDriver.cxx
deleted file mode 100644 (file)
index cd11225..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-// Created on: 2000-09-29
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MXCAFDoc_GraphNodeStorageDriver.ixx>
-
-#include <XCAFDoc_GraphNode.hxx>
-#include <PXCAFDoc_GraphNode.hxx>
-#include <Standard_NoSuchObject.hxx>
-
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_GraphNodeStorageDriver::MXCAFDoc_GraphNodeStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ASDriver (theMsgDriver)
-{}
-
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MXCAFDoc_GraphNodeStorageDriver::VersionNumber() const
-{ return 0; }
-
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MXCAFDoc_GraphNodeStorageDriver::SourceType() const
-{ return STANDARD_TYPE(XCAFDoc_GraphNode); }
-
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(PDF_Attribute) MXCAFDoc_GraphNodeStorageDriver::NewEmpty() const
-{ return new PXCAFDoc_GraphNode(); }
-
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MXCAFDoc_GraphNodeStorageDriver::Paste(const Handle(TDF_Attribute)&        Source,
-                                           const Handle(PDF_Attribute)&        Target,
-                                           const Handle(MDF_SRelocationTable)& RelocTable) const
-{
-  Handle(XCAFDoc_GraphNode) S = Handle(XCAFDoc_GraphNode)::DownCast (Source);
-  Handle(PXCAFDoc_GraphNode) T = Handle(PXCAFDoc_GraphNode)::DownCast (Target);
-
-  Handle (PXCAFDoc_GraphNode) TF;
-  Handle (XCAFDoc_GraphNode) F;
-  Standard_Integer i;
-
-  for ( i = 1; i <= S->NbFathers(); i++) {
-    F = S->GetFather(i);
-    if (!F.IsNull ()) {
-      if (!RelocTable->HasRelocation(F, TF)) {
-       Standard_NoSuchObject::Raise("MXCAFDoc_GraphNodeStorageDriver::Paste");
-       }
-      T->SetFather(TF);
-    }
-  }
-  
-  for ( i = 1; i <= S->NbChildren(); i++) {
-    F = S->GetChild(i);
-    if (!F.IsNull()) {
-      if (!RelocTable->HasRelocation(F, TF)) {
-       Standard_NoSuchObject::Raise("MXCAFDoc_GraphNodeStorageDriver::Paste");
-       }
-      T->SetChild(TF);
-    }
-  }
-  
-  T->SetGraphID(S->ID());
-}
diff --git a/src/MXCAFDoc/MXCAFDoc_LayerToolRetrievalDriver.cdl b/src/MXCAFDoc/MXCAFDoc_LayerToolRetrievalDriver.cdl
deleted file mode 100644 (file)
index 78dd744..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
--- Created on: 2000-08-31
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class LayerToolRetrievalDriver from MXCAFDoc inherits ARDriver from MDF
-
-       ---Purpose: 
-uses
-    RRelocationTable from MDF,
-    Attribute        from PDF,
-    Attribute        from TDF,
-    MessageDriver    from CDM
-
-is
---    Create -- Version 0
---    returns LayerToolRetrievalDriver from MXCAFDoc;
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns LayerToolRetrievalDriver from MXCAFDoc;
-    
-    VersionNumber(me) returns Integer from Standard;
-    ---Purpose: Returns the version number from which the driver
-    --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-    ---Purpose: Returns the type: XCAFDoc_Layer
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-end LayerToolRetrievalDriver;
diff --git a/src/MXCAFDoc/MXCAFDoc_LayerToolRetrievalDriver.cxx b/src/MXCAFDoc/MXCAFDoc_LayerToolRetrievalDriver.cxx
deleted file mode 100644 (file)
index 5175e54..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-// Created on: 2000-08-15
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDF_RRelocationTable.hxx>
-#include <MXCAFDoc_LayerToolRetrievalDriver.ixx>
-#include <PXCAFDoc_LayerTool.hxx>
-#include <XCAFDoc_LayerTool.hxx>
-
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_LayerToolRetrievalDriver::MXCAFDoc_LayerToolRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ARDriver (theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
- Standard_Integer MXCAFDoc_LayerToolRetrievalDriver::VersionNumber() const
-{
-  return 0;
-}
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
- Handle(Standard_Type) MXCAFDoc_LayerToolRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PXCAFDoc_LayerTool);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
- Handle(TDF_Attribute) MXCAFDoc_LayerToolRetrievalDriver::NewEmpty() const
-{
-  return new XCAFDoc_LayerTool();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MXCAFDoc_LayerToolRetrievalDriver::Paste (const Handle(PDF_Attribute)& /* Source */,
-                                              const Handle(TDF_Attribute)& /* Target */,
-                                              const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
-{
-}
-
diff --git a/src/MXCAFDoc/MXCAFDoc_LayerToolStorageDriver.cdl b/src/MXCAFDoc/MXCAFDoc_LayerToolStorageDriver.cdl
deleted file mode 100644 (file)
index 3fdbe0f..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
--- Created on: 2000-08-15
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class LayerToolStorageDriver from MXCAFDoc inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF,
-    MessageDriver    from CDM
-
-is
-
---    Create  -- Version 0
---    returns LayerToolStorageDriver from MXCAFDoc;
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns LayerToolStorageDriver from MXCAFDoc;
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: XCAFDoc_Layer.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end LayerToolStorageDriver;
diff --git a/src/MXCAFDoc/MXCAFDoc_LayerToolStorageDriver.cxx b/src/MXCAFDoc/MXCAFDoc_LayerToolStorageDriver.cxx
deleted file mode 100644 (file)
index 507e19b..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-// Created on: 2000-08-15
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDF_SRelocationTable.hxx>
-#include <MXCAFDoc_LayerToolStorageDriver.ixx>
-#include <PXCAFDoc_LayerTool.hxx>
-#include <XCAFDoc_LayerTool.hxx>
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_LayerToolStorageDriver::MXCAFDoc_LayerToolStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ASDriver (theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
- Standard_Integer MXCAFDoc_LayerToolStorageDriver::VersionNumber() const
-{  return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
- Handle(Standard_Type) MXCAFDoc_LayerToolStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(XCAFDoc_LayerTool);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
- Handle(PDF_Attribute) MXCAFDoc_LayerToolStorageDriver::NewEmpty() const
-{
-  return new PXCAFDoc_LayerTool();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MXCAFDoc_LayerToolStorageDriver::Paste (const Handle(TDF_Attribute)& /* Source */,
-                                            const Handle(PDF_Attribute)& /* Target */,
-                                            const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
-{
-}
-
diff --git a/src/MXCAFDoc/MXCAFDoc_LocationRetrievalDriver.cdl b/src/MXCAFDoc/MXCAFDoc_LocationRetrievalDriver.cdl
deleted file mode 100644 (file)
index 7b1ffd0..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
--- Created on: 2000-08-15
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class LocationRetrievalDriver from MXCAFDoc inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses
-    RRelocationTable from MDF,
-    Attribute        from PDF,
-    Attribute        from TDF,
-    MessageDriver    from CDM
-
-is
---    Create -- Version 0
---    returns LocationRetrievalDriver from MXCAFDoc;
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns LocationRetrievalDriver from MXCAFDoc;
-    
-    VersionNumber(me) returns Integer from Standard;
-    ---Purpose: Returns the version number from which the driver
-    --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-    ---Purpose: Returns the type: XCAFDoc_Location
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-end LocationRetrievalDriver;
-
-    
diff --git a/src/MXCAFDoc/MXCAFDoc_LocationRetrievalDriver.cxx b/src/MXCAFDoc/MXCAFDoc_LocationRetrievalDriver.cxx
deleted file mode 100644 (file)
index 7ba440a..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-// Created on: 2000-08-15
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDF_RRelocationTable.hxx>
-#include <MXCAFDoc_LocationRetrievalDriver.ixx>
-#include <MgtTopLoc.hxx>
-#include <PTColStd_PersistentTransientMap.hxx>
-#include <PXCAFDoc_Location.hxx>
-#include <XCAFDoc_Location.hxx>
-
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_LocationRetrievalDriver::MXCAFDoc_LocationRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ARDriver (theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
- Standard_Integer MXCAFDoc_LocationRetrievalDriver::VersionNumber() const
-{
-  return 0;
-}
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
- Handle(Standard_Type) MXCAFDoc_LocationRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PXCAFDoc_Location);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
- Handle(TDF_Attribute) MXCAFDoc_LocationRetrievalDriver::NewEmpty() const
-{
-  return new XCAFDoc_Location();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
- void MXCAFDoc_LocationRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
-                                                   const Handle(TDF_Attribute)& Target,
-                                                   const Handle(MDF_RRelocationTable)& RelocTable) const
-{
-  Handle(PXCAFDoc_Location) S = Handle(PXCAFDoc_Location)::DownCast (Source);
-  Handle(XCAFDoc_Location) T = Handle(XCAFDoc_Location)::DownCast (Target);
-  
-  PTColStd_PersistentTransientMap& PTMap = RelocTable->OtherTable();
-  T->Set(MgtTopLoc::Translate(S->Get(), PTMap));
-
-}
-
diff --git a/src/MXCAFDoc/MXCAFDoc_LocationStorageDriver.cdl b/src/MXCAFDoc/MXCAFDoc_LocationStorageDriver.cdl
deleted file mode 100644 (file)
index 9e543da..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
--- Created on: 2000-08-15
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class LocationStorageDriver from MXCAFDoc inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF,
-    MessageDriver    from CDM
-
-is
-
---    Create  -- Version 0
---    returns LocationStorageDriver from MXCAFDoc;
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns LocationStorageDriver from MXCAFDoc;
-
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: XCAFDoc_Location.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end LocationStorageDriver;
-
-    
diff --git a/src/MXCAFDoc/MXCAFDoc_LocationStorageDriver.cxx b/src/MXCAFDoc/MXCAFDoc_LocationStorageDriver.cxx
deleted file mode 100644 (file)
index 2ec7878..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-// Created on: 2000-08-15
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDF_SRelocationTable.hxx>
-#include <MXCAFDoc_LocationStorageDriver.ixx>
-#include <MgtTopLoc.hxx>
-#include <PTColStd_TransientPersistentMap.hxx>
-#include <PXCAFDoc_Location.hxx>
-#include <XCAFDoc_Location.hxx>
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_LocationStorageDriver::MXCAFDoc_LocationStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ASDriver (theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
- Standard_Integer MXCAFDoc_LocationStorageDriver::VersionNumber() const
-{  return 0; } 
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
- Handle(Standard_Type) MXCAFDoc_LocationStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(XCAFDoc_Location);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
- Handle(PDF_Attribute) MXCAFDoc_LocationStorageDriver::NewEmpty() const
-{
-  return new PXCAFDoc_Location();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
- void MXCAFDoc_LocationStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
-                                                 const Handle(PDF_Attribute)& Target,
-                                                 const Handle(MDF_SRelocationTable)& RelocTable) const
-{
-  Handle(XCAFDoc_Location) S = Handle(XCAFDoc_Location)::DownCast (Source);
-  Handle(PXCAFDoc_Location) T = Handle(PXCAFDoc_Location)::DownCast (Target);
-  
-  PTColStd_TransientPersistentMap& TPMap = RelocTable->OtherTable();
-  T->Set(MgtTopLoc::Translate(S->Get(), TPMap));
-}
-
diff --git a/src/MXCAFDoc/MXCAFDoc_MaterialRetrievalDriver.cdl b/src/MXCAFDoc/MXCAFDoc_MaterialRetrievalDriver.cdl
deleted file mode 100644 (file)
index 9f5992d..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
--- Created on: 2008-12-10
--- Created by: Pavel TELKOV
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class MaterialRetrievalDriver from MXCAFDoc inherits ARDriver from MDF
-
-       ---Purpose: 
-uses
-    RRelocationTable from MDF,
-    Attribute        from PDF,
-    Attribute        from TDF,
-    MessageDriver    from CDM
-
-is
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns MaterialRetrievalDriver from MXCAFDoc;
-       ---Purpose: Returns mutable MaterialRetrievalDriver from MXCAFDoc;
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-    ---Purpose: Returns the type: XCAFDoc_Material
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-end MaterialRetrievalDriver from MXCAFDoc;
diff --git a/src/MXCAFDoc/MXCAFDoc_MaterialRetrievalDriver.cxx b/src/MXCAFDoc/MXCAFDoc_MaterialRetrievalDriver.cxx
deleted file mode 100644 (file)
index 7867682..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// Created on: 2008-12-10
-// Created by: Pavel TELKOV
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MXCAFDoc_MaterialRetrievalDriver.ixx>
-#include <PXCAFDoc_Material.hxx>
-#include <XCAFDoc_Material.hxx>
-
-#include <TCollection_HAsciiString.hxx>
-#include <PCollection_HAsciiString.hxx>
-
-
-//=======================================================================
-//function : MCAFDoc_MaterialRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_MaterialRetrievalDriver::MXCAFDoc_MaterialRetrievalDriver
-  (const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ARDriver (theMsgDriver)
-{}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MXCAFDoc_MaterialRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MXCAFDoc_MaterialRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PXCAFDoc_Material);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MXCAFDoc_MaterialRetrievalDriver::NewEmpty() const
-{
-  return new XCAFDoc_Material();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MXCAFDoc_MaterialRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
-                                             const Handle(TDF_Attribute)& Target,
-                                             const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
-{
-  Handle(PXCAFDoc_Material) S = Handle(PXCAFDoc_Material)::DownCast (Source);
-  Handle(XCAFDoc_Material) T = Handle(XCAFDoc_Material)::DownCast (Target);
-  
-  Handle(TCollection_HAsciiString) aName, aDescr, aDensName, aDensValType;
-  if ( !S->GetName().IsNull() )
-    aName = new TCollection_HAsciiString( (S->GetName())->Convert() );
-  if ( !S->GetDescription().IsNull() )
-    aDescr = new TCollection_HAsciiString( (S->GetDescription())->Convert() );
-  if ( !S->GetDensName().IsNull() )
-    aDensName = new TCollection_HAsciiString( (S->GetDensName())->Convert() );
-  if ( !S->GetDensValType().IsNull() )
-    aDensValType = new TCollection_HAsciiString( (S->GetDensValType())->Convert() );
-
-  T->Set(aName, aDescr, S->GetDensity(), aDensName, aDensValType);
-}
diff --git a/src/MXCAFDoc/MXCAFDoc_MaterialStorageDriver.cdl b/src/MXCAFDoc/MXCAFDoc_MaterialStorageDriver.cdl
deleted file mode 100644 (file)
index 9bf5fcc..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
--- Created on: 2008-12-10
--- Created by: Pavel TELKOV
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class MaterialStorageDriver from MXCAFDoc inherits ASDriver from MDF
-
-       ---Purpose: 
-uses
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF,
-    MessageDriver    from CDM
-
-is
-
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns MaterialStorageDriver from MXCAFDoc;
-       ---Purpose: Returns mutable MaterialStorageDriver from MXCAFDoc;
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: XCAFDoc_Material.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-end MaterialStorageDriver;
diff --git a/src/MXCAFDoc/MXCAFDoc_MaterialStorageDriver.cxx b/src/MXCAFDoc/MXCAFDoc_MaterialStorageDriver.cxx
deleted file mode 100644 (file)
index fffcd79..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-// Created on: 2008-12-10
-// Created by: Pavel TELKOV
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MXCAFDoc_MaterialStorageDriver.ixx>
-#include <XCAFDoc_Material.hxx>
-#include <PXCAFDoc_Material.hxx>
-
-#include <TCollection_HAsciiString.hxx>
-#include <TColStd_HArray1OfReal.hxx>
-#include <PCollection_HAsciiString.hxx>
-#include <PColStd_HArray1OfReal.hxx>
-
-//=======================================================================
-//function : MXCAFDoc_MaterialStorageDriver
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_MaterialStorageDriver::MXCAFDoc_MaterialStorageDriver
-  (const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ASDriver (theMsgDriver)
-{}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MXCAFDoc_MaterialStorageDriver::VersionNumber() const
-{ return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MXCAFDoc_MaterialStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(XCAFDoc_Material);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(PDF_Attribute) MXCAFDoc_MaterialStorageDriver::NewEmpty() const
-{
-  return new PXCAFDoc_Material();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MXCAFDoc_MaterialStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
-                                         const Handle(PDF_Attribute)& Target,
-                                         const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
-{
-  Handle(XCAFDoc_Material) S = Handle(XCAFDoc_Material)::DownCast (Source);
-  Handle(PXCAFDoc_Material) T = Handle(PXCAFDoc_Material)::DownCast (Target);
-  Handle(TCollection_HAsciiString) aNameStr = S->GetName();
-  Handle(TCollection_HAsciiString) aDescrStr = S->GetDescription();
-  Handle(TCollection_HAsciiString) aDensNameStr = S->GetDensName();
-  Handle(TCollection_HAsciiString) aDensValTypeStr = S->GetDensValType();
-  
-  Handle(PCollection_HAsciiString) aName, aDescr, aDensName, aDensValType;
-  if ( !aNameStr.IsNull() )
-    aName = new PCollection_HAsciiString (aNameStr->String());
-  if ( !aDescrStr.IsNull() )
-    aDescr = new PCollection_HAsciiString (aDescrStr->String());
-  if ( !aDensNameStr.IsNull() )
-    aDensName = new PCollection_HAsciiString (aDensNameStr->String());
-  if ( !aDensValTypeStr.IsNull() )
-    aDensValType = new PCollection_HAsciiString (aDensValTypeStr->String());
-
-  T->Set(aName, aDescr, S->GetDensity(), aDensName, aDensValType);
-}
diff --git a/src/MXCAFDoc/MXCAFDoc_MaterialToolRetrievalDriver.cdl b/src/MXCAFDoc/MXCAFDoc_MaterialToolRetrievalDriver.cdl
deleted file mode 100644 (file)
index b4521be..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
--- Created on: 2008-12-10
--- Created by: Pavel TELKOV
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class MaterialToolRetrievalDriver from MXCAFDoc inherits ARDriver from MDF
-
-       ---Purpose: 
-uses
-    RRelocationTable from MDF,
-    Attribute        from PDF,
-    Attribute        from TDF,
-    MessageDriver    from CDM
-
-is
---    Create -- Version 0
---    returns MaterialToolRetrievalDriver from MXCAFDoc;
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns MaterialToolRetrievalDriver from MXCAFDoc;
-    
-    VersionNumber(me) returns Integer from Standard;
-    ---Purpose: Returns the version number from which the driver
-    --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-    ---Purpose: Returns the type: XCAFDoc_MaterialTool
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-end MaterialToolRetrievalDriver;
diff --git a/src/MXCAFDoc/MXCAFDoc_MaterialToolRetrievalDriver.cxx b/src/MXCAFDoc/MXCAFDoc_MaterialToolRetrievalDriver.cxx
deleted file mode 100644 (file)
index 27bd443..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-// Created on: 2008-12-10
-// Created by: Pavel TELKOV
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDF_RRelocationTable.hxx>
-#include <MXCAFDoc_MaterialToolRetrievalDriver.ixx>
-#include <PXCAFDoc_MaterialTool.hxx>
-#include <XCAFDoc_MaterialTool.hxx>
-
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_MaterialToolRetrievalDriver::MXCAFDoc_MaterialToolRetrievalDriver
-  (const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ARDriver (theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MXCAFDoc_MaterialToolRetrievalDriver::VersionNumber() const
-{
-  return 0;
-}
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MXCAFDoc_MaterialToolRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PXCAFDoc_MaterialTool);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(TDF_Attribute) MXCAFDoc_MaterialToolRetrievalDriver::NewEmpty() const
-{
-  return new XCAFDoc_MaterialTool();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MXCAFDoc_MaterialToolRetrievalDriver::Paste 
-  (const Handle(PDF_Attribute)& /* Source */,
-   const Handle(TDF_Attribute)& /* Target */,
-   const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
-{
-}
diff --git a/src/MXCAFDoc/MXCAFDoc_MaterialToolStorageDriver.cdl b/src/MXCAFDoc/MXCAFDoc_MaterialToolStorageDriver.cdl
deleted file mode 100644 (file)
index b2975fc..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
--- Created on: 2008-12-10
--- Created by: Pavel TELKOV
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class MaterialToolStorageDriver from MXCAFDoc inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF,
-    MessageDriver    from CDM
-
-is
-
---    Create  -- Version 0
---    returns MaterialToolStorageDriver from MXCAFDoc;
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns MaterialToolStorageDriver from MXCAFDoc;
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: XCAFDoc_MaterialTool
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end MaterialToolStorageDriver;
diff --git a/src/MXCAFDoc/MXCAFDoc_MaterialToolStorageDriver.cxx b/src/MXCAFDoc/MXCAFDoc_MaterialToolStorageDriver.cxx
deleted file mode 100644 (file)
index cf9a9e8..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-// Created on: 2008-12-10
-// Created by: Pavel TELKOV
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDF_SRelocationTable.hxx>
-#include <MXCAFDoc_MaterialToolStorageDriver.ixx>
-#include <PXCAFDoc_MaterialTool.hxx>
-#include <XCAFDoc_MaterialTool.hxx>
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_MaterialToolStorageDriver::MXCAFDoc_MaterialToolStorageDriver
-  (const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ASDriver (theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MXCAFDoc_MaterialToolStorageDriver::VersionNumber() const
-{  return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
-Handle(Standard_Type) MXCAFDoc_MaterialToolStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(XCAFDoc_MaterialTool);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
-Handle(PDF_Attribute) MXCAFDoc_MaterialToolStorageDriver::NewEmpty() const
-{
-  return new PXCAFDoc_MaterialTool();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MXCAFDoc_MaterialToolStorageDriver::Paste 
-  (const Handle(TDF_Attribute)& /* Source */,
-   const Handle(PDF_Attribute)& /* Target */,
-   const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
-{
-}
diff --git a/src/MXCAFDoc/MXCAFDoc_ShapeToolRetrievalDriver.cdl b/src/MXCAFDoc/MXCAFDoc_ShapeToolRetrievalDriver.cdl
deleted file mode 100644 (file)
index ce42c97..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
--- Created on: 2000-08-15
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ShapeToolRetrievalDriver from MXCAFDoc inherits ARDriver from MDF
-
-       ---Purpose: 
-
-uses
-    RRelocationTable from MDF,
-    Attribute        from PDF,
-    Attribute        from TDF,
-    MessageDriver    from CDM
-
-is
---    Create -- Version 0
---    returns ShapeToolRetrievalDriver from MXCAFDoc;
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns ShapeToolRetrievalDriver from MXCAFDoc;
-    
-    VersionNumber(me) returns Integer from Standard;
-    ---Purpose: Returns the version number from which the driver
-    --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-    ---Purpose: Returns the type: XCAFDoc_Color
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-end ShapeToolRetrievalDriver;
diff --git a/src/MXCAFDoc/MXCAFDoc_ShapeToolRetrievalDriver.cxx b/src/MXCAFDoc/MXCAFDoc_ShapeToolRetrievalDriver.cxx
deleted file mode 100644 (file)
index 90cd3b4..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-// Created on: 2000-08-15
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDF_RRelocationTable.hxx>
-#include <MXCAFDoc_ShapeToolRetrievalDriver.ixx>
-#include <MgtTopLoc.hxx>
-#include <PTColStd_PersistentTransientMap.hxx>
-#include <PXCAFDoc_ShapeTool.hxx>
-#include <XCAFDoc_ShapeTool.hxx>
-
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_ShapeToolRetrievalDriver::MXCAFDoc_ShapeToolRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ARDriver (theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
- Standard_Integer MXCAFDoc_ShapeToolRetrievalDriver::VersionNumber() const
-{
-  return 0;
-}
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
- Handle(Standard_Type) MXCAFDoc_ShapeToolRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PXCAFDoc_ShapeTool);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
- Handle(TDF_Attribute) MXCAFDoc_ShapeToolRetrievalDriver::NewEmpty() const
-{
-  return new XCAFDoc_ShapeTool();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MXCAFDoc_ShapeToolRetrievalDriver::Paste (const Handle(PDF_Attribute)& /* Source */,
-                                              const Handle(TDF_Attribute)& /* Target*/,
-                                              const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
-{
-}
-
diff --git a/src/MXCAFDoc/MXCAFDoc_ShapeToolStorageDriver.cdl b/src/MXCAFDoc/MXCAFDoc_ShapeToolStorageDriver.cdl
deleted file mode 100644 (file)
index 70d567d..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
--- Created on: 2000-08-15
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ShapeToolStorageDriver from MXCAFDoc inherits ASDriver from MDF
-
-       ---Purpose: 
-
-uses
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF,
-    MessageDriver    from CDM
-
-is
-
---    Create  -- Version 0
---    returns ShapeToolStorageDriver from MXCAFDoc;
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns ShapeToolStorageDriver from MXCAFDoc;
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: XCAFDoc_Color.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-
-end ShapeToolStorageDriver;
diff --git a/src/MXCAFDoc/MXCAFDoc_ShapeToolStorageDriver.cxx b/src/MXCAFDoc/MXCAFDoc_ShapeToolStorageDriver.cxx
deleted file mode 100644 (file)
index 140f46a..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-// Created on: 2000-08-15
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MDF_SRelocationTable.hxx>
-#include <MXCAFDoc_ShapeToolStorageDriver.ixx>
-#include <MgtTopLoc.hxx>
-#include <PTColStd_TransientPersistentMap.hxx>
-#include <PXCAFDoc_ShapeTool.hxx>
-#include <XCAFDoc_ShapeTool.hxx>
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_ShapeToolStorageDriver::MXCAFDoc_ShapeToolStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ASDriver (theMsgDriver)
-{
-}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
- Standard_Integer MXCAFDoc_ShapeToolStorageDriver::VersionNumber() const
-{  return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
- Handle(Standard_Type) MXCAFDoc_ShapeToolStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(XCAFDoc_ShapeTool);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
- Handle(PDF_Attribute) MXCAFDoc_ShapeToolStorageDriver::NewEmpty() const
-{
-  return new PXCAFDoc_ShapeTool();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
-void MXCAFDoc_ShapeToolStorageDriver::Paste (const Handle(TDF_Attribute)& /* Source */,
-                                            const Handle(PDF_Attribute)& /* Target */,
-                                            const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
-{
-}
-
diff --git a/src/MXCAFDoc/MXCAFDoc_VolumeRetrievalDriver.cdl b/src/MXCAFDoc/MXCAFDoc_VolumeRetrievalDriver.cdl
deleted file mode 100644 (file)
index 0559cb5..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
--- Created on: 2000-09-08
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class VolumeRetrievalDriver from MXCAFDoc inherits ARDriver from MDF
-
-       ---Purpose: 
-uses
-    RRelocationTable from MDF,
-    Attribute        from PDF,
-    Attribute        from TDF,
-    MessageDriver    from CDM
-
-is
---    Create  
---    returns VolumeRetrievalDriver from MXCAFDoc;
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns VolumeRetrievalDriver from MXCAFDoc;
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-    ---Purpose: Returns the type: XCAFDoc_Volume
-
-    NewEmpty (me)  returns Attribute from TDF;
-
-    Paste(me;
-         Source     :         Attribute from PDF;
-         Target     : Attribute from TDF;
-         RelocTable : RRelocationTable from MDF);
-
-end VolumeRetrievalDriver from MXCAFDoc;
diff --git a/src/MXCAFDoc/MXCAFDoc_VolumeRetrievalDriver.cxx b/src/MXCAFDoc/MXCAFDoc_VolumeRetrievalDriver.cxx
deleted file mode 100644 (file)
index fb310f9..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-// Created on: 2000-09-08
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MXCAFDoc_VolumeRetrievalDriver.ixx>
-#include <PXCAFDoc_Volume.hxx>
-#include <XCAFDoc_Volume.hxx>
-
-//=======================================================================
-//function : MCAFDoc_VolumeRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_VolumeRetrievalDriver::MXCAFDoc_VolumeRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ARDriver (theMsgDriver)
-{}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MXCAFDoc_VolumeRetrievalDriver::VersionNumber() const
-{ return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
- Handle(Standard_Type) MXCAFDoc_VolumeRetrievalDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(PXCAFDoc_Volume);
-  return sourceType;
-}
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
- Handle(TDF_Attribute) MXCAFDoc_VolumeRetrievalDriver::NewEmpty() const
-{
-  return new XCAFDoc_Volume();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
- void MXCAFDoc_VolumeRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,
-                                                   const Handle(TDF_Attribute)& Target,
-                                                   const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
-{
-  Handle(PXCAFDoc_Volume) S = Handle(PXCAFDoc_Volume)::DownCast (Source);
-  Handle(XCAFDoc_Volume) T = Handle(XCAFDoc_Volume)::DownCast (Target);
-  
-  T->Set(S->Get());
-}
diff --git a/src/MXCAFDoc/MXCAFDoc_VolumeStorageDriver.cdl b/src/MXCAFDoc/MXCAFDoc_VolumeStorageDriver.cdl
deleted file mode 100644 (file)
index ecb9438..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
--- Created on: 2000-09-08
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class VolumeStorageDriver from MXCAFDoc inherits ASDriver from MDF
-
-       ---Purpose: 
-uses 
-    SRelocationTable from MDF,
-    Attribute        from TDF,
-    Attribute        from PDF,
-    MessageDriver    from CDM
-
-is
-
---    Create 
---    returns VolumeStorageDriver from MXCAFDoc;
-    Create (theMsgDriver : MessageDriver from CDM)
-    returns VolumeStorageDriver from MXCAFDoc;
-
-    VersionNumber(me) returns Integer from Standard;
-       ---Purpose: Returns the version number from which the driver
-       --          is available: 0.
-
-    SourceType(me) returns Type from Standard;
-       ---Purpose: Returns the type: XCAFDoc_Volume.
-
-    NewEmpty (me) returns Attribute from PDF;
-
-    Paste(me;
-         Source     :         Attribute from TDF;
-         Target     : Attribute from PDF;
-         RelocTable : SRelocationTable from MDF);
-
-end VolumeStorageDriver;
diff --git a/src/MXCAFDoc/MXCAFDoc_VolumeStorageDriver.cxx b/src/MXCAFDoc/MXCAFDoc_VolumeStorageDriver.cxx
deleted file mode 100644 (file)
index dcd636f..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-// Created on: 2000-09-08
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MXCAFDoc_VolumeStorageDriver.ixx>
-#include <XCAFDoc_Volume.hxx>
-#include <PXCAFDoc_Volume.hxx>
-
-//=======================================================================
-//function : MXCAFDoc_VolumeStorageDriver
-//purpose  : 
-//=======================================================================
-
-MXCAFDoc_VolumeStorageDriver::MXCAFDoc_VolumeStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ASDriver (theMsgDriver)
-{}
-
-//=======================================================================
-//function : VersionNumber
-//purpose  : 
-//=======================================================================
-
-Standard_Integer MXCAFDoc_VolumeStorageDriver::VersionNumber() const
-{ return 0; }
-
-//=======================================================================
-//function : SourceType
-//purpose  : 
-//=======================================================================
-
- Handle(Standard_Type) MXCAFDoc_VolumeStorageDriver::SourceType() const
-{
-  static Handle(Standard_Type) sourceType = STANDARD_TYPE(XCAFDoc_Volume);
-  return sourceType;
-}
-
-//=======================================================================
-//function : NewEmpty
-//purpose  : 
-//=======================================================================
-
- Handle(PDF_Attribute) MXCAFDoc_VolumeStorageDriver::NewEmpty() const
-{
-  return new PXCAFDoc_Volume();
-}
-
-//=======================================================================
-//function : Paste
-//purpose  : 
-//=======================================================================
-
- void MXCAFDoc_VolumeStorageDriver::Paste(const Handle(TDF_Attribute)& Source,
-                                                 const Handle(PDF_Attribute)& Target,
-                                                 const Handle(MDF_SRelocationTable)& /*RelocTable*/) const
-{
-  Handle(XCAFDoc_Volume) S = Handle(XCAFDoc_Volume)::DownCast (Source);
-  Handle(PXCAFDoc_Volume) T = Handle(PXCAFDoc_Volume)::DownCast (Target);
-  
-  T->Set(S->Get());
-}
diff --git a/src/MgtBRep/MgtBRep.cdl b/src/MgtBRep/MgtBRep.cdl
deleted file mode 100644 (file)
index ab21ab0..0000000
+++ /dev/null
@@ -1,145 +0,0 @@
--- Created on: 1993-06-14
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- Update:      Frederic MAUPAS
-
-
-package MgtBRep 
-
-       ---Purpose: The MgtBRep package  provides methods to translate
-       --          data  between  the  BRep    package and the  PBRep
-       --          package.
-       --          
-       --          That  is   to    translate  persistent  BRep  data
-       --          structures  in  Transient BRep data structures and
-       --          vice-versa.
-       --          
-       --          The MgtBRep package uses :
-       --          
-       --          * The  MgtBas  package to bind  a  transient and a
-       --          persistent object.
-       --          
-       --          * The  MgtTopoDS package to provide basic methods
-       --          to translate TopoDS and PTopoDS data.
-       --          
-       --          * The MgtTopLoc package to translate Locations.
-       --          
-       --          * The  MgtGeom,  MgtGeom2d  packages to translate
-       --          geometric data.
-       --          
-       --          * The MgtPoly package to translate triangulation data.
-       --           
-       --          The Translate methods has TriangleMode argument.
-       --          If it is MgtBRep_WithTriangle, the methods returns or 
-       --          create a Shape with triangulation.
-
-uses
-
-    PTColStd,
-    TopoDS,
-    PTopoDS,
-    MgtTopoDS,
-    BRep,
-    PBRep,
-    Geom,
-    PGeom,
-    Geom2d,
-    PGeom2d,
-    Poly,
-    TColStd,
-    MgtBRep
-
-is
-    -- -----------------------------------------------------------------------
-    -- Enumeration :
-    -- 
-    --         TriangleMode : WithTriangle stores the triangulation
-    --                        WithoutTriangle does not store the triangulation
-    --  TriangulationMode is valid for Store and Retrieve
-    -- -----------------------------------------------------------------------  
-    
-    enumeration TriangleMode is 
-       WithTriangle,
-       WithoutTriangle
-    end;
-    
-    -- ---------
-    -- Classe(s)
-    -- ---------
-
-    class TranslateTool;
-
-    class TranslateTool1;
-
-
-    -- ---------------
-    -- Package Methods
-    -- ---------------
-
-
-    -- from BRep to PBRep
-
-    Translate(aShape   : Shape                         from TopoDS;
-             aMap     : in out TransientPersistentMap from PTColStd;
-             aTriMode : TriangleMode                  from MgtBRep)
-    returns HShape from PTopoDS;
-       ---Purpose: Translate a transient Shape to a persistent Shape.
-       --         he translation is performed according
-       --  to the map aMap and the triangulation
-       --  specified by aTriMode 
-    
-    Translate1(aShape   : Shape from TopoDS;
-              aMap     : in out TransientPersistentMap from PTColStd;
-              aResult  : in out Shape1 from PTopoDS;
-              aTriMode : TriangleMode from MgtBRep);
-       ---Purpose: Translate a transient Shape to a persistent Shape.
-       --      The translation is performed according to the map aMap and the
-       --   triangulation specified by aTriMode.
-       -- The map, aMap, is a tool that lets you share
-       -- topological components. When the map is
-       -- initialized, it is empty. It is built up and used by the
-       -- Translate function every time a topological
-       -- component is converted from persistent to
-       -- transient and vice versa. This is true for all
-       -- topological components that can be shared:
-       -- vertex, edge, wire, face, shell, solid, and so on.
-       -- This map allows you to share individual
-       -- components as they are translated, and also lets
-       -- you share previously converted components
-       -- when you translate other objects which share
-       -- (i.e. refer to) these components.
-       -- The triangulation mode, aTriMode, specifies
-       -- whether a representation of the object as a set
-       -- of triangles - if such a representation exists - is
-       -- to be translated or not in addition to the
-       -- canonical definition of the object.
-        
-    Translate(aShape   : HShape from PTopoDS;
-             aMap     : in out PersistentTransientMap from PTColStd;
-             aResult  : in out Shape from TopoDS;
-             aTriMode : TriangleMode from MgtBRep);
-       ---Purpose: Translate a persistent Shape to a transient Shape.
-       --          Used for upwards compatibility.
-       ---Level: Advanced 
-    
-    Translate1(aShape   : Shape1 from PTopoDS;
-              aMap     : in out PersistentTransientMap from PTColStd;
-              aResult  : in out Shape from TopoDS;
-              aTriMode : TriangleMode from MgtBRep);
-       ---Purpose: Translate a persistent Shape to a transient Shape.
-       ---Level: Advanced 
-    
-end MgtBRep;
diff --git a/src/MgtBRep/MgtBRep.cxx b/src/MgtBRep/MgtBRep.cxx
deleted file mode 100644 (file)
index afc0007..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-// Created on: 1993-06-14
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MgtBRep.ixx>
-
-#include <MgtTopoDS.hxx>
-#include <MgtBRep_TranslateTool.hxx>
-#include <MgtBRep_TranslateTool1.hxx>
-
-#include <TopExp_Explorer.hxx>
-#include <TopAbs.hxx>
-#include <TopoDS.hxx>
-
-#include <Geom_Surface.hxx>
-
-#include <BRep_Tool.hxx>
-
-//=======================================================================
-//function : Translate
-//purpose  : ... a Shape from BRep to PBRep.
-//=======================================================================
-
-Handle(PTopoDS_HShape) MgtBRep::Translate
-(const TopoDS_Shape&              aShape,
- PTColStd_TransientPersistentMap& aMap,
- const MgtBRep_TriangleMode    aTriMode)
-{
-  Handle(MgtBRep_TranslateTool) TR = new MgtBRep_TranslateTool(aTriMode);
-  return MgtTopoDS::Translate(aShape, TR, aMap);
-}
-
-//=======================================================================
-//function : Translate
-//purpose  : ... a Shape from PBRep to BRep.
-//=======================================================================
-
-void MgtBRep::Translate
-(const Handle(PTopoDS_HShape)&    aShape,
- PTColStd_PersistentTransientMap& aMap,
- TopoDS_Shape&                    aResult,
- const MgtBRep_TriangleMode    aTriMode)
-{
-  Handle(MgtBRep_TranslateTool) TR = new MgtBRep_TranslateTool(aTriMode);
-  MgtTopoDS::Translate(aShape, TR, aMap, aResult);
-}
-//=======================================================================
-//function : Translate1
-//purpose  : ... a Shape from BRep to PBRep.
-//=======================================================================
-
-void MgtBRep::Translate1
-(const TopoDS_Shape& aShape,
- PTColStd_TransientPersistentMap& aMap,
- PTopoDS_Shape1& aResult,
- const MgtBRep_TriangleMode aTriMode)
-{
-  Handle(MgtBRep_TranslateTool1) TR = new MgtBRep_TranslateTool1(aTriMode);
-  MgtTopoDS::Translate1(aShape, TR, aMap, aResult);
-}
-
-
-//=======================================================================
-//function : Translate1
-//purpose  : ... a Shape from PBRep to BRep.
-//=======================================================================
-
-void MgtBRep::Translate1
-(const PTopoDS_Shape1& aShape,
- PTColStd_PersistentTransientMap& aMap,
- TopoDS_Shape& aResult,
- const MgtBRep_TriangleMode aTriMode)
-{
-  Handle(MgtBRep_TranslateTool1) TR = new MgtBRep_TranslateTool1(aTriMode);
-  MgtTopoDS::Translate1(aShape, TR, aMap, aResult);
-}
diff --git a/src/MgtBRep/MgtBRep_TranslateTool.cdl b/src/MgtBRep/MgtBRep_TranslateTool.cdl
deleted file mode 100644 (file)
index c1a4074..0000000
+++ /dev/null
@@ -1,268 +0,0 @@
--- Created on: 1993-06-14
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- Update:      Frederic MAUPAS
-
-
-class TranslateTool from MgtBRep inherits TranslateTool from MgtTopoDS
-
-       ---Purpose: The TranslateTool class is provided to support the
-       --          translation of BRep topological data structures.
-       --          Used to call the MgtTopoDS methods.
-uses
-
-    TransientPersistentMap from PTColStd,
-    PersistentTransientMap from PTColStd,
-    CurveRepresentation    from PBRep,
-    CurveRepresentation    from BRep,
-    Curve                  from Geom,
-    Curve                  from PGeom,
-    Curve                  from Geom2d,
-    Curve                  from PGeom2d,
-    Surface                from Geom,
-    Surface                from PGeom,
-    Shape                  from TopoDS,
-    HShape                 from PTopoDS,
-    TriangleMode           from MgtBRep
-
-raises
-    TypeMismatch from Standard
-
-is
-
-    Create(aTriMode : TriangleMode from MgtBRep)
-    returns TranslateTool from MgtBRep;
-       ---Purpose: Creates a new TranslateTool
-
-    --
-    --     Auxiliairy Protected Methods for Shape Geometrical Rep
-    --     
-
-    Translate(me;
-             TC : Curve                         from Geom;
-             M  : in out TransientPersistentMap from PTColStd)
-    returns Curve from PGeom
-    is protected;
-    ---Purpose: Translates a Transient Curve onto a Persistent Curve
-
-    Translate(me;
-             PC : Curve                         from PGeom;
-             M  : in out PersistentTransientMap from PTColStd)
-    returns Curve from Geom
-    is protected;
-    ---Purpose: Translates a Persistent Curve onto a Transient Curve
-
-
-    Translate(me;
-             TC : Curve                         from Geom2d;
-             M  : in out TransientPersistentMap from PTColStd)
-    returns Curve from PGeom2d
-    is protected;
-    ---Purpose: Translates a Transient Curve2d onto a Persistent Curve
-
-    Translate(me;
-             PC : Curve                         from PGeom2d;
-             M  : in out PersistentTransientMap from PTColStd)
-    returns Curve from Geom2d
-    is protected;
-    ---Purpose: Translates a Persistent Curve2d onto a Transient Curve
-    
-
-    Translate(me;
-             TS : Surface                       from Geom;
-             M  : in out TransientPersistentMap from PTColStd)
-    returns Surface from PGeom
-    is protected;
-    ---Purpose: Translates a Transient Surface onto a Persistent Curve
-
-    Translate(me;
-             PS : Surface                       from PGeom;
-             M  : in out PersistentTransientMap from PTColStd)
-    returns Surface from Geom
-    is protected;
-    ---Purpose: Translates a Persistent Surface onto a Transient Curve
-        
-    --         
-    --     The Add method is used to insert a shape in an other shape.
-    --     
-    
-    Add(me;
-       S1 : in out Shape from TopoDS;
-       S2 :        Shape from TopoDS)
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    --
-    --       The Make methods should create a new empty  object of the
-    --       given type with  the given Model.   They should raise the
-    --       TypeMismatch   exception  if  the Model   is  not of  the
-    --       expected type.
-    --       
-
-
-    MakeVertex(me; 
-              S  : out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeVertex(me; 
-              S  : HShape from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeEdge(me; 
-            S  : out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeEdge(me; 
-            S  : HShape from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeWire(me; 
-            S  : out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeWire(me; 
-            S  : HShape from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeFace(me; 
-            S  : out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeFace(me; 
-            S  : HShape from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeShell(me; 
-             S  : out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeShell(me; 
-             S  : HShape from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeSolid(me; 
-             S  : out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeSolid(me; 
-             S  : HShape from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeCompSolid(me; 
-                 S  : out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeCompSolid(me; 
-                 S  : HShape from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeCompound(me; 
-                S  : out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeCompound(me; 
-                S  : HShape from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    --
-    --     The Update methods should transfer the data from  the first
-    --     shape to the second.
-    --     
-    --     When an update method  is redefined it  should transfer the
-    --     data then call the Update  redefined method to transfer the
-    --     inherited data.
-    --     
-    
-    UpdateVertex(me;
-                S1 :         Shape                  from TopoDS;
-                S2 : HShape                 from PTopoDS;
-                M  : in out  TransientPersistentMap from PTColStd)
-       ---Level: Internal 
-    is redefined;
-    
-    UpdateVertex(me;
-                S1 :        HShape                 from PTopoDS;
-                S2 : in out Shape                  from TopoDS;
-                M  : in out PersistentTransientMap from PTColStd)
-       ---Level: Internal 
-    is redefined;
-    
-    UpdateEdge(me;
-              S1 :         Shape                  from TopoDS;
-              S2 : HShape                 from PTopoDS;
-              M  : in out  TransientPersistentMap from PTColStd)
-       ---Level: Internal 
-    is redefined;
-    
-    UpdateEdge(me;
-              S1 :        HShape                 from PTopoDS;
-              S2 : in out Shape                  from TopoDS;
-              M  : in out PersistentTransientMap from PTColStd)
-       ---Level: Internal 
-    is redefined;
-    
-    UpdateFace(me;
-              S1 :         Shape                  from TopoDS;
-              S2 : HShape                 from PTopoDS;
-              M  : in out  TransientPersistentMap from PTColStd)
-       ---Level: Internal 
-    is redefined;
-    
-    UpdateFace(me;
-              S1 :        HShape                 from PTopoDS;
-              S2 : in out Shape                  from TopoDS;
-              M  : in out PersistentTransientMap from PTColStd)
-       ---Level: Internal 
-    is redefined;
-
-fields
-
-    myTriangleMode       : TriangleMode   from MgtBRep;
-    
-end TranslateTool;
diff --git a/src/MgtBRep/MgtBRep_TranslateTool.cxx b/src/MgtBRep/MgtBRep_TranslateTool.cxx
deleted file mode 100644 (file)
index a033f10..0000000
+++ /dev/null
@@ -1,1034 +0,0 @@
-// Created on: 1993-06-14
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MgtBRep_TranslateTool.ixx>
-#include <MgtTopLoc.hxx>
-#include <MgtGeom.hxx>
-#include <MgtGeom2d.hxx>
-#include <MgtPoly.hxx>
-
-#include <TopoDS.hxx>
-
-#include <BRep_Builder.hxx>
-#include <BRep_TVertex.hxx>
-#include <BRep_TEdge.hxx>
-#include <BRep_TFace.hxx>
-
-#include <BRep_Curve3D.hxx>
-#include <BRep_CurveOnSurface.hxx>
-#include <BRep_CurveOnClosedSurface.hxx>
-#include <BRep_CurveOn2Surfaces.hxx>
-#include <BRep_Polygon3D.hxx>
-#include <BRep_PolygonOnSurface.hxx>
-#include <BRep_PolygonOnClosedSurface.hxx>
-#include <BRep_PolygonOnTriangulation.hxx>
-#include <BRep_PolygonOnClosedTriangulation.hxx>
-#include <BRep_ListIteratorOfListOfCurveRepresentation.hxx>
-
-#include <BRep_PointOnCurve.hxx>
-#include <BRep_PointOnCurveOnSurface.hxx>
-#include <BRep_PointOnSurface.hxx>
-#include <BRep_ListIteratorOfListOfPointRepresentation.hxx>
-
-#include <PTopoDS_TWire.hxx>
-#include <PTopoDS_TShell.hxx>
-#include <PTopoDS_TSolid.hxx>
-#include <PTopoDS_TCompSolid.hxx>
-#include <PTopoDS_TCompound.hxx>
-
-#include <PBRep_TVertex.hxx>
-#include <PBRep_TEdge.hxx>
-#include <PBRep_TFace.hxx>
-
-#include <PBRep_Curve3D.hxx>
-#include <PBRep_CurveOnSurface.hxx>
-#include <PBRep_CurveOnClosedSurface.hxx>
-#include <PBRep_CurveOn2Surfaces.hxx>
-
-#include <PBRep_PointOnCurve.hxx>
-#include <PBRep_PointOnCurveOnSurface.hxx>
-#include <PBRep_PointOnSurface.hxx>
-#include <PBRep_Polygon3D.hxx>
-#include <PBRep_PolygonOnSurface.hxx>
-#include <PBRep_PolygonOnClosedSurface.hxx>
-#include <PBRep_PolygonOnTriangulation.hxx>
-#include <PBRep_PolygonOnClosedTriangulation.hxx>
-
-#include <Standard_NullObject.hxx>
-
-// szy 23.01.2014 (bug 24565) correction for edge which has null 3d curve representation
-
-// Used for testing DownCast time
-
-#ifdef chrono
-#include <OSD_Timer.hxx>
-extern OSD_Timer CurveTimer;
-extern OSD_Timer Curve2dTimer;
-extern OSD_Timer SurfaceTimer;
-#endif
-
-// *****************************
-// Auxiliary translation methods
-// *****************************
-
-//=======================================================================
-//function : Translate
-//purpose  : Curve T->P
-//=======================================================================
-
-Handle(PGeom_Curve) MgtBRep_TranslateTool::Translate
-(const Handle(Geom_Curve)& TP,
- PTColStd_TransientPersistentMap& aMap) const 
-{
-  Handle(PGeom_Curve) PP;
-  if (!TP.IsNull()) {
-    if (aMap.IsBound(TP)) {
-      Handle(Standard_Persistent) aPers = aMap.Find(TP);
-      PP = (Handle(PGeom_Curve)&) aPers;
-    }
-    else {
-      PP = MgtGeom::Translate(TP);
-      aMap.Bind(TP,PP);
-    }
-  }
-  return PP;
-}
-
-//=======================================================================
-//function : Translate
-//purpose  : Curve P->T
-//=======================================================================
-
-Handle(Geom_Curve) MgtBRep_TranslateTool::Translate
-(const Handle(PGeom_Curve)& PP,
- PTColStd_PersistentTransientMap& aMap) const  
-{
-#ifdef chrono
-  CurveTimer.Start();
-#endif
-  Handle(Geom_Curve) TP;
-  if (!PP.IsNull()) {
-    if (aMap.IsBound(PP)) {
-      Handle(Standard_Transient) aTrans = aMap.Find(PP);
-      TP = (Handle(Geom_Curve)&) aTrans;
-    }
-    else {
-      TP = MgtGeom::Translate(PP);
-      aMap.Bind(PP, TP);
-    }
-  }
-#ifdef chrono
-  CurveTimer.Stop();
-#endif
-  return TP;
-}
-
-//=======================================================================
-//function : Translate
-//purpose  : Curve2d T->P
-//=======================================================================
-
-Handle(PGeom2d_Curve) MgtBRep_TranslateTool::Translate
-(const Handle(Geom2d_Curve)& TP,
- PTColStd_TransientPersistentMap& aMap) const 
-{
-  Handle(PGeom2d_Curve) PP;
-  if (!TP.IsNull()) {
-    if (aMap.IsBound(TP)) {
-      Handle(Standard_Persistent) aPers = aMap.Find(TP);
-      PP = (Handle(PGeom2d_Curve)&) aPers;
-    }
-    else {
-      PP = MgtGeom2d::Translate(TP);
-      aMap.Bind(TP,PP);
-    }
-  }
-  return PP;
-}
-
-//=======================================================================
-//function : Translate
-//purpose  : Curve2d P->T
-//=======================================================================
-
-Handle(Geom2d_Curve) MgtBRep_TranslateTool::Translate
-(const Handle(PGeom2d_Curve)& PP,
- PTColStd_PersistentTransientMap& aMap) const 
-{
-#ifdef chrono
-  Curve2dTimer.Start();
-#endif
-  Handle(Geom2d_Curve) TP;
-  if (!PP.IsNull()) {
-    if (aMap.IsBound(PP)) {
-      Handle(Standard_Transient) aTrans = aMap.Find(PP);
-      TP = (Handle(Geom2d_Curve)&) aTrans;
-    }
-    else {
-      TP = MgtGeom2d::Translate(PP);
-      aMap.Bind(PP, TP);
-    }
-  }
-#ifdef chrono
-  Curve2dTimer.Stop();
-#endif
-  return TP;
-}
-
-//=======================================================================
-//function : Translate
-//purpose  : Surface T->P
-//=======================================================================
-
-Handle(PGeom_Surface) MgtBRep_TranslateTool::Translate
-(const Handle(Geom_Surface)& TP,
- PTColStd_TransientPersistentMap& aMap) const 
-{
-  Handle(PGeom_Surface) PP;
-  if (!TP.IsNull()) {
-    if (aMap.IsBound(TP)) {
-      Handle(Standard_Persistent) aPers = aMap.Find(TP);
-      PP = (Handle(PGeom_Surface)&) aPers;
-    }
-    else {
-      PP = MgtGeom::Translate(TP);
-      aMap.Bind(TP,PP);
-    }
-  }
-  return PP;
-}
-
-//=======================================================================
-//function : Translate
-//purpose  : Surface P->T
-//=======================================================================
-
-Handle(Geom_Surface) MgtBRep_TranslateTool::Translate
-(const Handle(PGeom_Surface)& PP,
- PTColStd_PersistentTransientMap& aMap) const 
-{
-#ifdef chrono
-  SurfaceTimer.Start();
-#endif
-  Handle(Geom_Surface) TP;
-  if (!PP.IsNull()) {
-    if (aMap.IsBound(PP)) {
-      Handle(Standard_Transient) aTrans = aMap.Find(PP);
-      TP = (Handle(Geom_Surface)&) aTrans;
-    }
-    else {
-      TP = MgtGeom::Translate(PP);
-      aMap.Bind(PP,TP);
-    }
-  }
-#ifdef chrono
-  SurfaceTimer.Stop();
-#endif
-  return TP;
-}
-
-//=======================================================================
-//function : MgtBRep_TranslateTool
-//purpose  : Constructor 
-//=======================================================================
-
-MgtBRep_TranslateTool::MgtBRep_TranslateTool
-(const MgtBRep_TriangleMode aTriMode) : 
-myTriangleMode(aTriMode)
-{
-}
-
-//=======================================================================
-//function : Add
-//purpose  : 
-//=======================================================================
-
-void MgtBRep_TranslateTool::Add(TopoDS_Shape& S1,
-                               const TopoDS_Shape& S2) const 
-{
-  BRep_Builder B;
-  B.Add(S1,S2);
-}
-
-//=======================================================================
-//function : MakeVertex
-//purpose  : 
-//=======================================================================
-
-void  MgtBRep_TranslateTool::MakeVertex(TopoDS_Shape& S) const 
-{
-  BRep_Builder B;
-  B.MakeVertex(TopoDS::Vertex(S));
-}
-
-
-//=======================================================================
-//function : MakeVertex
-//purpose  : 
-//=======================================================================
-
-void  MgtBRep_TranslateTool::MakeVertex(const Handle(PTopoDS_HShape)& S) const 
-{
-  Handle(PBRep_TVertex) T = new PBRep_TVertex();
-  S->TShape(T);
-}
-
-
-//=======================================================================
-//function : MakeEdge
-//purpose  : 
-//=======================================================================
-
-void  MgtBRep_TranslateTool::MakeEdge(TopoDS_Shape& S) const 
-{
-  BRep_Builder B;
-  B.MakeEdge(TopoDS::Edge(S));
-}
-
-
-//=======================================================================
-//function : MakeEdge
-//purpose  : 
-//=======================================================================
-
-void  MgtBRep_TranslateTool::MakeEdge(const Handle(PTopoDS_HShape)& S) const 
-{
-  Handle(PBRep_TEdge) T = new PBRep_TEdge();
-  S->TShape(T);
-}
-
-
-//=======================================================================
-//function : MakeWire
-//purpose  : 
-//=======================================================================
-
-void  MgtBRep_TranslateTool::MakeWire(TopoDS_Shape& S) const 
-{
-  BRep_Builder B;
-  B.MakeWire(TopoDS::Wire(S));
-}
-
-
-//=======================================================================
-//function : MakeWire
-//purpose  : 
-//=======================================================================
-
-void  MgtBRep_TranslateTool::MakeWire(const Handle(PTopoDS_HShape)& S) const 
-{
-  Handle(PTopoDS_TWire) T = new PTopoDS_TWire();
-  S->TShape(T);
-}
-
-
-//=======================================================================
-//function : MakeFace
-//purpose  : 
-//=======================================================================
-
-void  MgtBRep_TranslateTool::MakeFace(TopoDS_Shape& S) const 
-{
-  BRep_Builder B;
-  B.MakeFace(TopoDS::Face(S));
-}
-
-
-//=======================================================================
-//function : MakeFace
-//purpose  : 
-//=======================================================================
-
-void  MgtBRep_TranslateTool::MakeFace(const Handle(PTopoDS_HShape)& S) const 
-{
-  Handle(PBRep_TFace) T = new PBRep_TFace();
-  S->TShape(T);
-}
-
-
-//=======================================================================
-//function : MakeShell
-//purpose  : 
-//=======================================================================
-
-void  MgtBRep_TranslateTool::MakeShell(TopoDS_Shape& S) const 
-{
-  BRep_Builder B;
-  B.MakeShell(TopoDS::Shell(S));
-}
-
-
-//=======================================================================
-//function : MakeShell
-//purpose  : 
-//=======================================================================
-
-void  MgtBRep_TranslateTool::MakeShell(const Handle(PTopoDS_HShape)& S) const 
-{
-  Handle(PTopoDS_TShell) T = new PTopoDS_TShell();
-  S->TShape(T);
-}
-
-
-//=======================================================================
-//function : MakeSolid
-//purpose  : 
-//=======================================================================
-
-void  MgtBRep_TranslateTool::MakeSolid(TopoDS_Shape& S) const 
-{
-  BRep_Builder B;
-  B.MakeSolid(TopoDS::Solid(S));
-}
-
-
-//=======================================================================
-//function : MakeSolid
-//purpose  : 
-//=======================================================================
-
-void  MgtBRep_TranslateTool::MakeSolid(const Handle(PTopoDS_HShape)& S) const 
-{
-  Handle(PTopoDS_TSolid) T = new PTopoDS_TSolid();
-  S->TShape(T);
-}
-
-
-//=======================================================================
-//function : MakeCompSolid
-//purpose  : 
-//=======================================================================
-
-void  MgtBRep_TranslateTool::MakeCompSolid(TopoDS_Shape& S) const 
-{
-  BRep_Builder B;
-  B.MakeCompSolid(TopoDS::CompSolid(S));
-}
-
-
-//=======================================================================
-//function : MakeCompSolid
-//purpose  : 
-//=======================================================================
-
-void  
-MgtBRep_TranslateTool::MakeCompSolid(const Handle(PTopoDS_HShape)& S) const 
-{
-  Handle(PTopoDS_TCompSolid) T = new PTopoDS_TCompSolid();
-  S->TShape(T);
-}
-
-
-//=======================================================================
-//function : MakeCompound
-//purpose  : 
-//=======================================================================
-
-void  MgtBRep_TranslateTool::MakeCompound(TopoDS_Shape& S) const 
-{
-  BRep_Builder B;
-  B.MakeCompound(TopoDS::Compound(S));
-}
-
-
-//=======================================================================
-//function : MakeCompound
-//purpose  : 
-//=======================================================================
-
-void  
-MgtBRep_TranslateTool::MakeCompound(const Handle(PTopoDS_HShape)& S) const 
-{
-  Handle(PTopoDS_TCompound) T = new PTopoDS_TCompound();
-  S->TShape(T);
-}
-
-
-//=======================================================================
-//function : UpdateVertex
-//purpose  : Transient->Persistent
-//=======================================================================
-
-void  MgtBRep_TranslateTool::UpdateVertex
-(const TopoDS_Shape& S1,
- const Handle(PTopoDS_HShape)& S2,
- PTColStd_TransientPersistentMap& aMap) const 
-{
-  Handle(TopoDS_TShape) aTransTShape = S1.TShape();
-  Handle(BRep_TVertex)& TTV = (Handle(BRep_TVertex)&) aTransTShape;
-  Handle(PTopoDS_TShape) aPersTShape = S2->TShape();
-  Handle(PBRep_TVertex)& PTV = (Handle(PBRep_TVertex)&) aPersTShape;
-
-  // Point
-  PTV->Pnt(TTV->Pnt());
-
-  // Tolerance
-  PTV->Tolerance(TTV->Tolerance());
-
-  // Representations
-  BRep_ListIteratorOfListOfPointRepresentation itpr(TTV->Points());
-
-  Handle(PBRep_PointRepresentation) PPR, CPPR;
-  while (itpr.More()) {
-
-    const Handle(BRep_PointRepresentation)& PR = itpr.Value();
-
-    if (PR->IsPointOnCurve()) {
-      Handle(PBRep_PointOnCurve) POC = new 
-       PBRep_PointOnCurve(PR->Parameter(),
-                          MgtBRep_TranslateTool::Translate(PR->Curve(), aMap),
-                          MgtTopLoc::Translate(PR->Location(), aMap));
-      CPPR = POC;
-    }
-
-    else if (PR->IsPointOnCurveOnSurface()) {
-      Handle(PBRep_PointOnCurveOnSurface) POCS = 
-       new PBRep_PointOnCurveOnSurface(PR->Parameter(),
-                                       MgtBRep_TranslateTool::Translate(PR->PCurve(), aMap),
-                                       MgtBRep_TranslateTool::Translate(PR->Surface(), aMap),
-                                       MgtTopLoc::Translate(PR->Location(), aMap));
-      CPPR = POCS;
-    }
-
-    else if (PR->IsPointOnSurface()) {
-      Handle(PBRep_PointOnSurface) POS = 
-       new PBRep_PointOnSurface(PR->Parameter(),
-                                PR->Parameter2(),
-                                MgtBRep_TranslateTool::Translate(PR->Surface(), aMap),
-                                MgtTopLoc::Translate(PR->Location(), aMap));
-      CPPR = POS;
-    }
-    
-    CPPR->Next(PPR);
-    PPR = CPPR;
-    itpr.Next();
-  }
-  
-  PTV->Points(PPR);
-  
-  MgtTopoDS_TranslateTool::UpdateVertex(S1,S2, aMap);
-}
-
-
-//=======================================================================
-//function : UpdateVertex
-//purpose  : Persistent->Transient
-//=======================================================================
-
-void MgtBRep_TranslateTool::UpdateVertex
-(const Handle(PTopoDS_HShape)& S1, 
- TopoDS_Shape& S2,
- PTColStd_PersistentTransientMap& aMap) const 
-{
-  Handle(PTopoDS_TShape) aPersTShape = S1->TShape();
-  Handle(PBRep_TVertex)& PTV = (Handle(PBRep_TVertex)&) aPersTShape;
-
-  Handle(TopoDS_TShape) aTransTShape = S2.TShape();
-  Handle(BRep_TVertex)&  TTV = (Handle(BRep_TVertex)&) aTransTShape;
-
-  // Point
-  TTV->Pnt(PTV->Pnt());
-
-  // Tolerance
-  TTV->Tolerance(PTV->Tolerance());
-
-  // Representations
-  Handle(PBRep_PointRepresentation) PPR = PTV->Points();
-  BRep_ListOfPointRepresentation& lpr = TTV->ChangePoints();
-
-  lpr.Clear();
-
-  Handle(BRep_PointRepresentation) PR;
-
-  while (!PPR.IsNull()) {
-
-    if (PPR->IsPointOnCurve()) {
-      Handle(PBRep_PointOnCurve)& POC = (Handle(PBRep_PointOnCurve)&) PPR;
-      Handle(BRep_PointOnCurve) OC =
-       new BRep_PointOnCurve(POC->Parameter(),
-                             MgtBRep_TranslateTool::Translate(POC->Curve(), aMap),
-                             MgtTopLoc::Translate(POC->Location(), aMap));
-      PR = OC;
-    }
-    
-    else if (PPR->IsPointOnCurveOnSurface()) {
-      Handle(PBRep_PointOnCurveOnSurface)& POCS =
-       (Handle(PBRep_PointOnCurveOnSurface)&) PPR;
-      Handle(BRep_PointOnCurveOnSurface) OCS =
-       new BRep_PointOnCurveOnSurface(POCS->Parameter(),
-                                      MgtBRep_TranslateTool::Translate(POCS->PCurve(), aMap),
-                                      MgtBRep_TranslateTool::Translate(POCS->Surface(), aMap),
-                                      MgtTopLoc::Translate(POCS->Location(), aMap));
-      PR = OCS;
-    }
-    
-    else if (PPR->IsPointOnSurface()) {
-      Handle(PBRep_PointOnSurface)& POS = (Handle(PBRep_PointOnSurface)&) PPR;
-      Handle(BRep_PointOnSurface) OS =
-       new BRep_PointOnSurface(POS->Parameter(),
-                               POS->Parameter2(),
-                               MgtBRep_TranslateTool::Translate(POS->Surface(), aMap),
-                               MgtTopLoc::Translate(POS->Location(), aMap));
-      PR = OS;
-    }
-    
-    lpr.Prepend(PR);
-    PPR = PPR->Next();
-  }
-  
-  MgtTopoDS_TranslateTool::UpdateVertex(S1,S2, aMap);
-}
-
-
-//=======================================================================
-//function : UpdateEdge
-//purpose  : Transient->Persistent
-//=======================================================================
-
-void  
-MgtBRep_TranslateTool::UpdateEdge(const TopoDS_Shape& S1,
-                                 const Handle(PTopoDS_HShape)& S2,
-                                 PTColStd_TransientPersistentMap& aMap) const 
-{
-  Handle(TopoDS_TShape) aTransTShape = S1.TShape();
-  Handle(BRep_TEdge)&  TTE = (Handle(BRep_TEdge)&) aTransTShape;
-
-  Handle(PTopoDS_TShape) aPersTShape = S2->TShape();
-  Handle(PBRep_TEdge)& PTE = (Handle(PBRep_TEdge)&) aPersTShape;
-
-  // tolerance
-  PTE->Tolerance(TTE->Tolerance());
-  
-  // same parameter
-  PTE->SameParameter(TTE->SameParameter());
-
-  // same range
-  PTE->SameRange(TTE->SameRange());
-
-  // Degenerated
-  PTE->Degenerated(TTE->Degenerated());
-  
-  // Representations
-  BRep_ListIteratorOfListOfCurveRepresentation itcr(TTE->Curves());
-
-  Handle(PBRep_CurveRepresentation) PCR, CPCR;
-  Handle(BRep_GCurve) GC;
-  Standard_Real f, l;
-
-  while (itcr.More()) {
-
-    const Handle(BRep_CurveRepresentation)& CR = itcr.Value();
-    
-    GC = Handle(BRep_GCurve)::DownCast(CR);
-    if (!GC.IsNull()) {
-      GC->Range(f, l);
-
-      // CurveRepresentation is Curve3D
-      if (CR->IsCurve3D()) {
-       Handle(PBRep_Curve3D) C3D = new 
-         PBRep_Curve3D(MgtBRep_TranslateTool::Translate(CR->Curve3D(),aMap),
-                       f, l, MgtTopLoc::Translate(CR->Location(), aMap));
-       CPCR = C3D;
-      }
-      
-      // CurveRepresentation is CurveOnSurface
-      else if (CR->IsCurveOnSurface()) {
-       
-       Handle(BRep_CurveOnSurface)& theCOS=(Handle(BRep_CurveOnSurface)&) CR;
-       Handle(PBRep_CurveOnSurface) COS;
-
-       // CurveRepresentation is CurveOnSurface
-       if (!CR->IsCurveOnClosedSurface()) {
-         COS =
-           new PBRep_CurveOnSurface
-             (MgtBRep_TranslateTool::Translate(CR->PCurve(), aMap),
-              f, l,
-              MgtBRep_TranslateTool::Translate(CR->Surface(), aMap),
-              MgtTopLoc::Translate(CR->Location(), aMap));
-       }
-       
-       // CurveRepresentation is CurveOnClosedSurface
-       else {
-         // get UVPoints for the CurveOnClosedSurface definition.
-         Handle(BRep_CurveOnClosedSurface)& theCOCS =
-           (Handle(BRep_CurveOnClosedSurface)&) CR;
-         gp_Pnt2d Pnt21, Pnt22;
-         theCOCS->UVPoints2(Pnt21, Pnt22);
-         Handle(PBRep_CurveOnClosedSurface) COCS =
-           new PBRep_CurveOnClosedSurface
-             (MgtBRep_TranslateTool::Translate(CR->PCurve(), aMap),
-              MgtBRep_TranslateTool::Translate(CR->PCurve2(), aMap),
-              f, l, 
-              MgtBRep_TranslateTool::Translate(CR->Surface(), aMap),
-              MgtTopLoc::Translate(CR->Location(), aMap),
-              CR->Continuity());
-         COCS->SetUVPoints2(Pnt21, Pnt22);
-         COS = COCS;
-       }
-
-       // get UVPoints for the CurveOnSurface definition.
-       gp_Pnt2d Pnt1, Pnt2;
-       theCOS->UVPoints(Pnt1, Pnt2);
-
-       // If we don't do that, there is anything (NAN: Not A Number) instead.
-       COS->SetUVPoints(Pnt1, Pnt2);
-       CPCR = COS;
-       
-      }
-    }
-    
-    // CurveRepresentation is CurveOn2Surfaces
-    else if (CR->IsRegularity()) {
-      
-      Handle(PBRep_CurveOn2Surfaces) R =
-       new PBRep_CurveOn2Surfaces
-         (MgtBRep_TranslateTool::Translate(CR->Surface(), aMap),
-          MgtBRep_TranslateTool::Translate(CR->Surface2(), aMap),
-          MgtTopLoc::Translate(CR->Location(), aMap),
-          MgtTopLoc::Translate(CR->Location2(), aMap),
-          CR->Continuity());
-      CPCR = R;
-    }
-    
-    // CurveRepresentation is Polygon or Triangulation
-    else if (myTriangleMode == MgtBRep_WithTriangle) {
-      
-      // CurveRepresentation is Polygon3D
-      if (CR->IsPolygon3D()) {
-       Handle(PBRep_Polygon3D) P3D = 
-         new PBRep_Polygon3D(MgtPoly::Translate(CR->Polygon3D(), aMap),
-                             MgtTopLoc::Translate(CR->Location(), aMap));
-       CPCR = P3D;
-      }
-
-      // CurveRepresentation is PolygonOnSurface
-      else if (CR->IsPolygonOnSurface()) {
-
-       // CurveRepresentation is PolygonOnClosedSurface
-       if (CR->IsPolygonOnClosedSurface()) {
-         Handle(PBRep_PolygonOnClosedSurface)  PolOCS = new 
-           PBRep_PolygonOnClosedSurface(MgtPoly::Translate(CR->Polygon(), aMap),
-                                        MgtPoly::Translate(CR->Polygon2(), aMap),
-                                        MgtBRep_TranslateTool::Translate(CR->Surface(), aMap),
-                                        MgtTopLoc::Translate(CR->Location(), aMap));
-         CPCR = PolOCS;
-       }
-
-       // CurveRepresentation is PolygonOnSurface
-       else {
-         Handle(PBRep_PolygonOnSurface) PolOS = new
-           PBRep_PolygonOnSurface(MgtPoly::Translate(CR->Polygon(), aMap),
-                                  MgtBRep_TranslateTool::Translate(CR->Surface(),aMap),
-                                  MgtTopLoc::Translate(CR->Location(), aMap));
-         CPCR = PolOS;
-       }
-      }
-
-      // CurveRepresentation is PolygonOnTriangulation
-      else if (CR->IsPolygonOnTriangulation()) {
-
-       // CurveRepresentation is PolygonOnClosedTriangulation
-       if (CR->IsPolygonOnClosedTriangulation()) {
-
-         Handle(PBRep_PolygonOnClosedTriangulation) PolOCT= new
-           PBRep_PolygonOnClosedTriangulation
-             (MgtPoly::Translate(CR->PolygonOnTriangulation(), aMap),
-              MgtPoly::Translate(CR->PolygonOnTriangulation2(), aMap),
-              MgtPoly::Translate(CR->Triangulation(), aMap),
-              MgtTopLoc::Translate(CR->Location(), aMap));
-         CPCR = PolOCT;
-       }
-
-       // CurveRepresentation is PolygonOnTriangulation
-       else {
-         Handle(PBRep_PolygonOnTriangulation) PolOT = new
-           PBRep_PolygonOnTriangulation
-             (MgtPoly::Translate(CR->PolygonOnTriangulation(), aMap),
-              MgtPoly::Translate(CR->Triangulation(), aMap),
-              MgtTopLoc::Translate(CR->Location(), aMap));
-         CPCR = PolOT;
-       }
-      }
-    }
-    else {
-      // jumps the curve representation
-      itcr.Next();
-      continue;
-    }
-    
-    Standard_NullObject_Raise_if (CPCR.IsNull(), "Null CurveRepresentation");
-    
-    CPCR->Next(PCR);
-    PCR = CPCR;
-    itcr.Next();
-  }
-  
-  // set
-  PTE->Curves(PCR);
-  
-  MgtTopoDS_TranslateTool::UpdateEdge(S1,S2, aMap);
-}
-
-
-//=======================================================================
-//function : UpdateEdge
-//purpose  : Persistent->Transient
-//=======================================================================
-
-void  
-MgtBRep_TranslateTool::UpdateEdge(const Handle(PTopoDS_HShape)& S1,
-                                 TopoDS_Shape& S2,
-                                 PTColStd_PersistentTransientMap& aMap) const 
-{
-  Handle(PTopoDS_TShape) aPersTShape = S1->TShape();
-  Handle(PBRep_TEdge)& PTE = (Handle(PBRep_TEdge)&) aPersTShape;
-
-  Handle(TopoDS_TShape) aTransTShape = S2.TShape();
-  Handle(BRep_TEdge)&  TTE = (Handle(BRep_TEdge)&) aTransTShape;
-
-  // tolerance
-  TTE->Tolerance(PTE->Tolerance());
-  
-  // same parameter
-  TTE->SameParameter(PTE->SameParameter());
-
-  // same range
-  TTE->SameRange(PTE->SameRange());
-
-  // Degenerated
-  TTE->Degenerated(PTE->Degenerated());
-  
-  // Representations
-  Handle(PBRep_CurveRepresentation) PCR = PTE->Curves();
-  BRep_ListOfCurveRepresentation& lcr = TTE->ChangeCurves();
-
-  lcr.Clear();
-  Handle(BRep_CurveRepresentation) CR;
-
-  while (!PCR.IsNull()) {
-    
-    if (PCR->IsGCurve()) {
-      Handle(PBRep_GCurve)& PGC = (Handle(PBRep_GCurve)&) PCR;
-      if (PCR->IsCurveOnSurface()) {
-       gp_Pnt2d Pnt1, Pnt2;
-       if (!PCR->IsCurveOnClosedSurface()) {
-         // CurveRepresentation is a PBRep_CurveOnSurface
-         Handle(PBRep_CurveOnSurface)& PCOS = (Handle(PBRep_CurveOnSurface)&) PCR;
-         Handle(BRep_CurveOnSurface) COS =
-           new BRep_CurveOnSurface
-             (MgtBRep_TranslateTool::Translate(PCOS->PCurve(), aMap),
-              MgtBRep_TranslateTool::Translate(PCOS->Surface(), aMap),
-              MgtTopLoc::Translate(PCOS->Location(), aMap));
-         Pnt1 = PCOS->FirstUV();
-         Pnt2 = PCOS->LastUV();
-         COS->SetUVPoints(Pnt1, Pnt2);
-         COS->SetRange(PGC->First(), PGC->Last());
-         CR = COS;
-       }
-       else {
-         // CurveRepresentation is a PBRep_CurveOnClosedSurface
-         gp_Pnt2d Pnt21, Pnt22;
-         Handle(PBRep_CurveOnClosedSurface)& PCOCS =
-           (Handle(PBRep_CurveOnClosedSurface)&) PCR;
-         Handle(BRep_CurveOnClosedSurface) COCS =
-           new BRep_CurveOnClosedSurface
-             (MgtBRep_TranslateTool::Translate(PCOCS->PCurve(), aMap),
-              MgtBRep_TranslateTool::Translate(PCOCS->PCurve2(), aMap),
-              MgtBRep_TranslateTool::Translate(PCOCS->Surface(), aMap),
-              MgtTopLoc::Translate(PCOCS->Location(), aMap),
-              PCOCS->Continuity());
-         Pnt21 = PCOCS->FirstUV2();
-         Pnt22 = PCOCS->LastUV2();
-         COCS->SetUVPoints(Pnt1, Pnt2); // Is it necessary?
-         COCS->SetUVPoints2(Pnt21, Pnt22);
-         COCS->SetRange(PGC->First(), PGC->Last());
-         CR = COCS;
-       }
-      }
-      else if (PCR->IsCurve3D()) {
-       Handle(PBRep_Curve3D)& PC3D = (Handle(PBRep_Curve3D)&) PCR;
-
-// szy 23.01.2014: correction for edge which has null 3d curve representation
-       Handle(BRep_Curve3D) C3D =
-         new BRep_Curve3D(MgtBRep_TranslateTool::Translate(PC3D->Curve3D(), aMap),
-                            MgtTopLoc::Translate(PC3D->Location(), aMap));
-       C3D->SetRange(PGC->First(), PGC->Last());
-       CR = C3D;
-      }
-    }
-    else if (PCR->IsRegularity()) {
-      Handle(PBRep_CurveOn2Surfaces)& PR = 
-       (Handle(PBRep_CurveOn2Surfaces)&) PCR;
-      Handle(BRep_CurveOn2Surfaces) R =
-       new BRep_CurveOn2Surfaces
-         (MgtBRep_TranslateTool::Translate(PR->Surface(), aMap),
-          MgtBRep_TranslateTool::Translate(PR->Surface2(), aMap),
-          MgtTopLoc::Translate(PR->Location(), aMap),
-          MgtTopLoc::Translate(PR->Location2(), aMap),
-          PR->Continuity());
-      CR = R;
-    }
-    
-    else if (myTriangleMode == MgtBRep_WithTriangle) {
-      if (PCR->IsPolygon3D()) {
-       Handle(PBRep_Polygon3D)& PP3D = (Handle(PBRep_Polygon3D)&) PCR;
-       Handle(BRep_Polygon3D) P3D = new
-         BRep_Polygon3D(MgtPoly::Translate(PP3D->Polygon3D(), aMap),
-                        MgtTopLoc::Translate(PP3D->Location(), aMap));
-       CR = P3D;
-      }
-      else if (PCR->IsPolygonOnSurface()) {
-       if (PCR->IsPolygonOnClosedSurface()) {
-         Handle(PBRep_PolygonOnClosedSurface)& PPol = 
-           (Handle(PBRep_PolygonOnClosedSurface)&) PCR;
-         Handle(BRep_PolygonOnClosedSurface)  PolOCS = new 
-           BRep_PolygonOnClosedSurface
-             (MgtPoly::Translate(PPol->Polygon(), aMap),
-              MgtPoly::Translate(PPol->Polygon2(), aMap),
-              MgtBRep_TranslateTool::Translate(PPol->Surface(), aMap),
-              MgtTopLoc::Translate(PPol->Location(), aMap));
-         CR = PolOCS;
-       }
-       else {
-         Handle(PBRep_PolygonOnSurface)& PPol = 
-           (Handle(PBRep_PolygonOnSurface)&) PCR;
-         Handle(BRep_PolygonOnSurface) PolOS = new
-           BRep_PolygonOnSurface
-             (MgtPoly::Translate(PPol->Polygon(), aMap),
-              MgtBRep_TranslateTool::Translate(PPol->Surface(), aMap),
-              MgtTopLoc::Translate(PPol->Location(), aMap));
-         CR = PolOS;
-       }
-      }
-      // PCR is a PolygonOnTriangulation
-      else if (PCR->IsPolygonOnTriangulation()) {
-       
-       Handle(PBRep_PolygonOnTriangulation)& POT =
-         (Handle(PBRep_PolygonOnTriangulation)&) PCR;
-       
-       // PCR is a PolygonOnClosedTriangulation
-       if (PCR->IsPolygonOnClosedTriangulation()) {
-         Handle(PBRep_PolygonOnClosedTriangulation)& POCT =
-           (Handle(PBRep_PolygonOnClosedTriangulation)&) PCR;
-         
-         Handle(BRep_PolygonOnClosedTriangulation) PolOCT= new
-           BRep_PolygonOnClosedTriangulation
-             (MgtPoly::Translate(POCT->PolygonOnTriangulation(), aMap),
-              MgtPoly::Translate(POCT->PolygonOnTriangulation2(), aMap),
-              MgtPoly::Translate(POCT->Triangulation(), aMap),
-              MgtTopLoc::Translate(POCT->Location(), aMap));
-         CR = PolOCT;
-       }
-       // PCR is a PolygonOnTriangulation
-       else {
-         Handle(BRep_PolygonOnTriangulation) PolOT = new
-           BRep_PolygonOnTriangulation
-             (MgtPoly::Translate(POT->PolygonOnTriangulation(), aMap),
-              MgtPoly::Translate(POT->Triangulation(), aMap),
-              MgtTopLoc::Translate(POT->Location(), aMap));
-         CR = PolOT;
-       }
-      }
-    }
-    else {
-      // jumps the Curve Representation
-      PCR = PCR->Next();
-      continue;
-    }
-    
-    Standard_NullObject_Raise_if (CR.IsNull(), "Persistant CurveRep is Null");
-    
-    lcr.Prepend(CR); 
-    PCR = PCR->Next();
-  }
-  
-  MgtTopoDS_TranslateTool::UpdateEdge(S1,S2, aMap);
-}
-
-
-//=======================================================================
-//function : UpdateFace
-//purpose  : Transient->Persistent
-//=======================================================================
-
-void  
-MgtBRep_TranslateTool::UpdateFace(const TopoDS_Shape& S1, 
-                                 const Handle(PTopoDS_HShape)& S2,
-                                 PTColStd_TransientPersistentMap& aMap) const 
-{
-  Handle(TopoDS_TShape) aTransTShape = S1.TShape();
-  Handle(BRep_TFace)&  TTF = (Handle(BRep_TFace)&) aTransTShape;
-
-  Handle(PTopoDS_TShape) aPersTShape = S2->TShape();
-  Handle(PBRep_TFace)& PTF = (Handle(PBRep_TFace)&) aPersTShape;
-
-  // natural restriction
-  PTF->NaturalRestriction(TTF->NaturalRestriction());
-
-  // tolerance
-  PTF->Tolerance(TTF->Tolerance());
-
-  // location
-  PTF->Location(MgtTopLoc::Translate(TTF->Location(), aMap));
-
-  // surface
-  PTF->Surface(MgtBRep_TranslateTool::Translate(TTF->Surface(), aMap));
-
-  // Triangulation
-  if (myTriangleMode == MgtBRep_WithTriangle) {
-    PTF->Triangulation(MgtPoly::Translate(TTF->Triangulation(), aMap));
-  }
-  
-  MgtTopoDS_TranslateTool::UpdateFace(S1,S2, aMap);
-}
-
-
-//=======================================================================
-//function : UpdateFace
-//purpose  : Persistent->Transient
-//=======================================================================
-
-void  
-MgtBRep_TranslateTool::UpdateFace(const Handle(PTopoDS_HShape)& S1, 
-                                 TopoDS_Shape& S2,
-                                 PTColStd_PersistentTransientMap& aMap) const 
-{
-  Handle(PTopoDS_TShape) aPersTShape = S1->TShape();
-  Handle(PBRep_TFace)& PTF = (Handle(PBRep_TFace)&) aPersTShape;
-
-  Handle(TopoDS_TShape) aTransTShape = S2.TShape();
-  Handle(BRep_TFace)&  TTF = (Handle(BRep_TFace)&) aTransTShape;
-
-  // natural restriction
-  TTF->NaturalRestriction(PTF->NaturalRestriction());
-
-  // tolerance
-  TTF->Tolerance(PTF->Tolerance());
-
-  // location
-  TTF->Location(MgtTopLoc::Translate(PTF->Location(), aMap));
-
-  // surface
-  TTF->Surface(MgtBRep_TranslateTool::Translate(PTF->Surface(), aMap));
-
-  // Triangulation
-  if ( myTriangleMode == MgtBRep_WithTriangle) {
-    TTF->Triangulation(MgtPoly::Translate(PTF->Triangulation(), aMap));
-  }
-
-  MgtTopoDS_TranslateTool::UpdateFace(S1,S2, aMap);
-}
-
diff --git a/src/MgtBRep/MgtBRep_TranslateTool1.cdl b/src/MgtBRep/MgtBRep_TranslateTool1.cdl
deleted file mode 100644 (file)
index cd28d2d..0000000
+++ /dev/null
@@ -1,255 +0,0 @@
--- Created by: DAUTRY Philippe
--- Copyright (c) 1998-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
---             --------------------------
-
----Version:    0.0
---Version      Date            Purpose
---             0.0     Feb  3 1998     Creation
-
-
-class TranslateTool1 from MgtBRep inherits TranslateTool1 from MgtTopoDS
-
-       ---Purpose: The TranslateTool1 class is provided to support the
-       --          translation of BRep topological data structures.
-       --          Used to call the MgtTopoDS methods.
-uses
-
-    TransientPersistentMap from PTColStd,
-    PersistentTransientMap from PTColStd,
-    CurveRepresentation    from PBRep,
-    CurveRepresentation    from BRep,
-    Curve                  from Geom,
-    Curve                  from PGeom,
-    Curve                  from Geom2d,
-    Curve                  from PGeom2d,
-    Surface                from Geom,
-    Surface                from PGeom,
-    Shape                  from TopoDS,
-    Shape1                 from PTopoDS,
-    TriangleMode           from MgtBRep
-
-raises
-    TypeMismatch from Standard
-
-is
-
-    Create(aTriMode : TriangleMode from MgtBRep)
-    returns TranslateTool1 from MgtBRep;
-       ---Purpose: Creates a new TranslateTool1
-
-    --
-    --     Auxiliairy Protected Methods for Shape Geometrical Rep
-    --     
-
-    Translate(me;
-             TC : Curve                         from Geom;
-             M  : in out TransientPersistentMap from PTColStd)
-    returns Curve from PGeom
-    is protected;
-    ---Purpose: Translates a Transient Curve onto a Persistent Curve
-
-    Translate(me;
-             PC : Curve                         from PGeom;
-             M  : in out PersistentTransientMap from PTColStd)
-    returns Curve from Geom
-    is protected;
-    ---Purpose: Translates a Persistent Curve onto a Transient Curve
-
-
-    Translate(me;
-             TC : Curve                         from Geom2d;
-             M  : in out TransientPersistentMap from PTColStd)
-    returns Curve from PGeom2d
-    is protected;
-    ---Purpose: Translates a Transient Curve2d onto a Persistent Curve
-
-    Translate(me;
-             PC : Curve                         from PGeom2d;
-             M  : in out PersistentTransientMap from PTColStd)
-    returns Curve from Geom2d
-    is protected;
-    ---Purpose: Translates a Persistent Curve2d onto a Transient Curve
-    
-
-    Translate(me;
-             TS : Surface                       from Geom;
-             M  : in out TransientPersistentMap from PTColStd)
-    returns Surface from PGeom
-    is protected;
-    ---Purpose: Translates a Transient Surface onto a Persistent Curve
-
-    Translate(me;
-             PS : Surface                       from PGeom;
-             M  : in out PersistentTransientMap from PTColStd)
-    returns Surface from Geom
-    is protected;
-    ---Purpose: Translates a Persistent Surface onto a Transient Curve
-        
-    --         
-    --     The Add method is used to insert a shape in an other shape.
-    --     
-    
-    Add(me;
-       S1 : in out Shape from TopoDS;
-       S2 : Shape from TopoDS)
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    --
-    --       The Make methods should create a new empty  object of the
-    --       given type with  the given Model.   They should raise the
-    --       TypeMismatch   exception  if  the Model   is  not of  the
-    --       expected type.
-    --       
-
-
-    MakeVertex(me; S : in out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeVertex(me; S : in out Shape1 from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeEdge(me; S : in out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeEdge(me; S : in out Shape1 from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeWire(me; S : in out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeWire(me; S : in out Shape1 from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeFace(me; S : in out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeFace(me; S : in out Shape1 from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeShell(me; S : in out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeShell(me; S : in out Shape1 from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeSolid(me; S : in out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeSolid(me; S : in out Shape1 from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeCompSolid(me; S : in out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeCompSolid(me; S : in out Shape1 from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeCompound(me; S : in out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    MakeCompound(me; S : in out Shape1 from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard;
-    
-    --
-    --     The Update methods should transfer the data from  the first
-    --     shape to the second.
-    --     
-    --     When an update method  is redefined it  should transfer the
-    --     data then call the Update  redefined method to transfer the
-    --     inherited data.
-    --     
-    
-    UpdateVertex(me;
-                S1 : Shape from TopoDS;
-                S2 : in out Shape1 from PTopoDS;
-                M  : in out TransientPersistentMap from PTColStd)
-       ---Level: Internal 
-    is redefined;
-    
-    UpdateVertex(me;
-                S1 : Shape1 from PTopoDS;
-                S2 : in out Shape from TopoDS;
-                M  : in out PersistentTransientMap from PTColStd)
-       ---Level: Internal 
-    is redefined;
-    
-    UpdateEdge(me;
-              S1 : Shape  from TopoDS;
-              S2 : in out Shape1 from PTopoDS;
-              M  : in out TransientPersistentMap from PTColStd)
-       ---Level: Internal 
-    is redefined;
-    
-    UpdateEdge(me;
-              S1 : Shape1 from PTopoDS;
-              S2 : in out Shape from TopoDS;
-              M  : in out PersistentTransientMap from PTColStd)
-       ---Level: Internal 
-    is redefined;
-    
-    UpdateFace(me;
-              S1 : Shape  from TopoDS;
-              S2 : in out Shape1 from PTopoDS;
-              M  : in out TransientPersistentMap from PTColStd)
-       ---Level: Internal 
-    is redefined;
-    
-    UpdateFace(me;
-              S1 : Shape1 from PTopoDS;
-              S2 : in out Shape from TopoDS;
-              M  : in out PersistentTransientMap from PTColStd)
-       ---Level: Internal 
-    is redefined;
-
-fields
-
-    myTriangleMode       : TriangleMode   from MgtBRep;
-    
-end TranslateTool1;
diff --git a/src/MgtBRep/MgtBRep_TranslateTool1.cxx b/src/MgtBRep/MgtBRep_TranslateTool1.cxx
deleted file mode 100644 (file)
index 1045220..0000000
+++ /dev/null
@@ -1,1007 +0,0 @@
-// Created by: DAUTRY Philippe
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-//             --------------------------
-
-// Version:    0.0
-//Version      Date            Purpose
-//             0.0     Feb  3 1998     Creation
-// sln 25.09.2001 BUC60998: correction for edge which has null 3d curve representation
-
-
-#include <MgtBRep_TranslateTool1.ixx>
-
-#include <MgtTopLoc.hxx>
-#include <MgtGeom.hxx>
-#include <MgtGeom2d.hxx>
-#include <MgtPoly.hxx>
-
-#include <TopoDS.hxx>
-
-#include <BRep_Builder.hxx>
-#include <BRep_TVertex.hxx>
-#include <BRep_TEdge.hxx>
-#include <BRep_TFace.hxx>
-
-#include <BRep_Curve3D.hxx>
-#include <BRep_CurveOnSurface.hxx>
-#include <BRep_CurveOnClosedSurface.hxx>
-#include <BRep_CurveOn2Surfaces.hxx>
-#include <BRep_Polygon3D.hxx>
-#include <BRep_PolygonOnSurface.hxx>
-#include <BRep_PolygonOnClosedSurface.hxx>
-#include <BRep_PolygonOnTriangulation.hxx>
-#include <BRep_PolygonOnClosedTriangulation.hxx>
-#include <BRep_ListIteratorOfListOfCurveRepresentation.hxx>
-
-#include <BRep_PointOnCurve.hxx>
-#include <BRep_PointOnCurveOnSurface.hxx>
-#include <BRep_PointOnSurface.hxx>
-#include <BRep_ListIteratorOfListOfPointRepresentation.hxx>
-
-#include <PTopoDS_TWire1.hxx>
-#include <PTopoDS_TShell1.hxx>
-#include <PTopoDS_TSolid1.hxx>
-#include <PTopoDS_TCompSolid1.hxx>
-#include <PTopoDS_TCompound1.hxx>
-
-#include <PBRep_TVertex1.hxx>
-#include <PBRep_TEdge1.hxx>
-#include <PBRep_TFace1.hxx>
-
-#include <PBRep_Curve3D.hxx>
-#include <PBRep_CurveOnSurface.hxx>
-#include <PBRep_CurveOnClosedSurface.hxx>
-#include <PBRep_CurveOn2Surfaces.hxx>
-
-#include <PBRep_PointOnCurve.hxx>
-#include <PBRep_PointOnCurveOnSurface.hxx>
-#include <PBRep_PointOnSurface.hxx>
-#include <PBRep_Polygon3D.hxx>
-#include <PBRep_PolygonOnSurface.hxx>
-#include <PBRep_PolygonOnClosedSurface.hxx>
-#include <PBRep_PolygonOnTriangulation.hxx>
-#include <PBRep_PolygonOnClosedTriangulation.hxx>
-
-#include <Standard_NullObject.hxx>
-
-
-#ifdef chrono
-#include <OSD_Timer.hxx>
-extern OSD_Timer CurveTimer;
-extern OSD_Timer Curve2dTimer;
-extern OSD_Timer SurfaceTimer;
-#define TIMER_START(THETIMER) THETIMER.Start()
-#define TIMER_STOP(THETIMER) THETIMER.Stop()
-#else
-#define TIMER_START(THETIMER)
-#define TIMER_STOP(THETIMER)
-#endif
-
-// *****************************
-// Auxiliary translation methods
-// *****************************
-
-//=======================================================================
-//function : Translate
-//purpose  : Curve T->P
-//=======================================================================
-
-Handle(PGeom_Curve) MgtBRep_TranslateTool1::Translate
-(const Handle(Geom_Curve)& TP,
- PTColStd_TransientPersistentMap& aMap) const 
-{
-  Handle(PGeom_Curve) PP;
-  if (!TP.IsNull()) {
-    if (aMap.IsBound(TP)) {
-      PP = *((Handle(PGeom_Curve)*) &(aMap.Find(TP)));
-    }
-    else {
-      PP = MgtGeom::Translate(TP);
-      aMap.Bind(TP,PP);
-    }
-  }
-  return PP;
-}
-
-//=======================================================================
-//function : Translate
-//purpose  : Curve P->T
-//=======================================================================
-
-Handle(Geom_Curve) MgtBRep_TranslateTool1::Translate
-(const Handle(PGeom_Curve)& PP,
- PTColStd_PersistentTransientMap& aMap) const  
-{
-  TIMER_START(CurveTimer);
-  Handle(Geom_Curve) TP;
-  if (!PP.IsNull()) {
-    if (aMap.IsBound(PP)) {
-      TP = *((Handle(Geom_Curve)*) &(aMap.Find(PP)));
-    }
-    else {
-      TP = MgtGeom::Translate(PP);
-      aMap.Bind(PP, TP);
-    }
-  }
-  TIMER_STOP(CurveTimer);
-  return TP;
-}
-
-//=======================================================================
-//function : Translate
-//purpose  : Curve2d T->P
-//=======================================================================
-
-Handle(PGeom2d_Curve) MgtBRep_TranslateTool1::Translate
-(const Handle(Geom2d_Curve)& TP,
- PTColStd_TransientPersistentMap& aMap) const 
-{
-  Handle(PGeom2d_Curve) PP;
-  if (!TP.IsNull()) {
-    if (aMap.IsBound(TP)) {
-      PP = *((Handle(PGeom2d_Curve)*) &(aMap.Find(TP)));
-    }
-    else {
-      PP = MgtGeom2d::Translate(TP);
-      aMap.Bind(TP,PP);
-    }
-  }
-  return PP;
-}
-
-//=======================================================================
-//function : Translate
-//purpose  : Curve2d P->T
-//=======================================================================
-
-Handle(Geom2d_Curve) MgtBRep_TranslateTool1::Translate
-(const Handle(PGeom2d_Curve)& PP,
- PTColStd_PersistentTransientMap& aMap) const 
-{
-  TIMER_START(Curve2dTimer);
-  Handle(Geom2d_Curve) TP;
-  if (!PP.IsNull()) {
-    if (aMap.IsBound(PP)) {
-      TP = *((Handle(Geom2d_Curve)*) &(aMap.Find(PP)));
-    }
-    else {
-      TP = MgtGeom2d::Translate(PP);
-      aMap.Bind(PP, TP);
-    }
-  }
-  TIMER_STOP(Curve2dTimer);
-  return TP;
-}
-
-//=======================================================================
-//function : Translate
-//purpose  : Surface T->P
-//=======================================================================
-
-Handle(PGeom_Surface) MgtBRep_TranslateTool1::Translate
-(const Handle(Geom_Surface)& TP,
- PTColStd_TransientPersistentMap& aMap) const 
-{
-  Handle(PGeom_Surface) PP;
-  if (!TP.IsNull()) {
-    if (aMap.IsBound(TP)) {
-      PP = *((Handle(PGeom_Surface)*) &(aMap.Find(TP)));
-    }
-    else {
-      PP = MgtGeom::Translate(TP);
-      aMap.Bind(TP,PP);
-    }
-  }
-  return PP;
-}
-
-//=======================================================================
-//function : Translate
-//purpose  : Surface P->T
-//=======================================================================
-
-Handle(Geom_Surface) MgtBRep_TranslateTool1::Translate
-(const Handle(PGeom_Surface)& PP,
- PTColStd_PersistentTransientMap& aMap) const 
-{
-  TIMER_START(SurfaceTimer);
-  Handle(Geom_Surface) TP;
-  if (!PP.IsNull()) {
-    if (aMap.IsBound(PP)) {
-      TP = *((Handle(Geom_Surface)*) &(aMap.Find(PP)));
-    }
-    else {
-      TP = MgtGeom::Translate(PP);
-      aMap.Bind(PP,TP);
-    }
-  }
-  TIMER_STOP(SurfaceTimer);
-  return TP;
-}
-
-//=======================================================================
-//function : MgtBRep_TranslateTool1
-//purpose  : Constructor 
-//=======================================================================
-
-MgtBRep_TranslateTool1::MgtBRep_TranslateTool1
-(const MgtBRep_TriangleMode aTriMode) : 
-myTriangleMode(aTriMode)
-{
-}
-
-//=======================================================================
-//function : Add
-//purpose  : 
-//=======================================================================
-
-void MgtBRep_TranslateTool1::Add(TopoDS_Shape& S1,
-                               const TopoDS_Shape& S2) const 
-{
-  BRep_Builder B;
-  B.Add(S1,S2);
-}
-
-//=======================================================================
-//function : MakeVertex
-//purpose  : 
-//=======================================================================
-
-void MgtBRep_TranslateTool1::MakeVertex(TopoDS_Shape& S) const 
-{
-  BRep_Builder B;
-  B.MakeVertex(TopoDS::Vertex(S));
-}
-
-
-//=======================================================================
-//function : MakeVertex
-//purpose  : 
-//=======================================================================
-
-void MgtBRep_TranslateTool1::MakeVertex(PTopoDS_Shape1& S) const 
-{
-  Handle(PBRep_TVertex1) T = new PBRep_TVertex1();
-  S.TShape(T);
-}
-
-
-//=======================================================================
-//function : MakeEdge
-//purpose  : 
-//=======================================================================
-
-void MgtBRep_TranslateTool1::MakeEdge(TopoDS_Shape& S) const 
-{
-  BRep_Builder B;
-  B.MakeEdge(TopoDS::Edge(S));
-}
-
-
-//=======================================================================
-//function : MakeEdge
-//purpose  : 
-//=======================================================================
-
-void MgtBRep_TranslateTool1::MakeEdge(PTopoDS_Shape1& S) const 
-{
-  Handle(PBRep_TEdge1) T = new PBRep_TEdge1();
-  S.TShape(T);
-}
-
-
-//=======================================================================
-//function : MakeWire
-//purpose  : 
-//=======================================================================
-
-void MgtBRep_TranslateTool1::MakeWire(TopoDS_Shape& S) const 
-{
-  BRep_Builder B;
-  B.MakeWire(TopoDS::Wire(S));
-}
-
-
-//=======================================================================
-//function : MakeWire
-//purpose  : 
-//=======================================================================
-
-void MgtBRep_TranslateTool1::MakeWire(PTopoDS_Shape1& S) const 
-{
-  Handle(PTopoDS_TWire1) T = new PTopoDS_TWire1();
-  S.TShape(T);
-}
-
-
-//=======================================================================
-//function : MakeFace
-//purpose  : 
-//=======================================================================
-
-void MgtBRep_TranslateTool1::MakeFace(TopoDS_Shape& S) const 
-{
-  BRep_Builder B;
-  B.MakeFace(TopoDS::Face(S));
-}
-
-
-//=======================================================================
-//function : MakeFace
-//purpose  : 
-//=======================================================================
-
-void MgtBRep_TranslateTool1::MakeFace(PTopoDS_Shape1& S) const 
-{
-  Handle(PBRep_TFace1) T = new PBRep_TFace1();
-  S.TShape(T);
-}
-
-
-//=======================================================================
-//function : MakeShell
-//purpose  : 
-//=======================================================================
-
-void MgtBRep_TranslateTool1::MakeShell(TopoDS_Shape& S) const 
-{
-  BRep_Builder B;
-  B.MakeShell(TopoDS::Shell(S));
-}
-
-
-//=======================================================================
-//function : MakeShell
-//purpose  : 
-//=======================================================================
-
-void MgtBRep_TranslateTool1::MakeShell(PTopoDS_Shape1& S) const 
-{
-  Handle(PTopoDS_TShell1) T = new PTopoDS_TShell1();
-  S.TShape(T);
-}
-
-
-//=======================================================================
-//function : MakeSolid
-//purpose  : 
-//=======================================================================
-
-void  MgtBRep_TranslateTool1::MakeSolid(TopoDS_Shape& S) const 
-{
-  BRep_Builder B;
-  B.MakeSolid(TopoDS::Solid(S));
-}
-
-
-//=======================================================================
-//function : MakeSolid
-//purpose  : 
-//=======================================================================
-
-void MgtBRep_TranslateTool1::MakeSolid(PTopoDS_Shape1& S) const 
-{
-  Handle(PTopoDS_TSolid1) T = new PTopoDS_TSolid1();
-  S.TShape(T);
-}
-
-
-//=======================================================================
-//function : MakeCompSolid
-//purpose  : 
-//=======================================================================
-
-void MgtBRep_TranslateTool1::MakeCompSolid(TopoDS_Shape& S) const 
-{
-  BRep_Builder B;
-  B.MakeCompSolid(TopoDS::CompSolid(S));
-}
-
-
-//=======================================================================
-//function : MakeCompSolid
-//purpose  : 
-//=======================================================================
-
-void MgtBRep_TranslateTool1::MakeCompSolid(PTopoDS_Shape1& S) const 
-{
-  Handle(PTopoDS_TCompSolid1) T = new PTopoDS_TCompSolid1();
-  S.TShape(T);
-}
-
-
-//=======================================================================
-//function : MakeCompound
-//purpose  : 
-//=======================================================================
-
-void MgtBRep_TranslateTool1::MakeCompound(TopoDS_Shape& S) const 
-{
-  BRep_Builder B;
-  B.MakeCompound(TopoDS::Compound(S));
-}
-
-
-//=======================================================================
-//function : MakeCompound
-//purpose  : 
-//=======================================================================
-
-void MgtBRep_TranslateTool1::MakeCompound(PTopoDS_Shape1& S) const 
-{
-  Handle(PTopoDS_TCompound1) T = new PTopoDS_TCompound1();
-  S.TShape(T);
-}
-
-
-//=======================================================================
-//function : UpdateVertex
-//purpose  : Transient->Persistent
-//=======================================================================
-
-void MgtBRep_TranslateTool1::UpdateVertex
-(const TopoDS_Shape& S1,
- PTopoDS_Shape1& S2,
- PTColStd_TransientPersistentMap& aMap) const 
-{
-  const Handle(BRep_TVertex)& TTV = *((Handle(BRep_TVertex)*) &(S1.TShape()));
-  const Handle(PBRep_TVertex1)& PTV = *((Handle(PBRep_TVertex1)*) &(S2.TShape()));
-
-  // Point
-  PTV->Pnt(TTV->Pnt());
-
-  // Tolerance
-  PTV->Tolerance(TTV->Tolerance());
-
-  // Representations
-  BRep_ListIteratorOfListOfPointRepresentation itpr(TTV->Points());
-
-  Handle(PBRep_PointRepresentation) PPR, CPPR;
-  while (itpr.More()) {
-
-    const Handle(BRep_PointRepresentation)& PR = itpr.Value();
-
-    if (PR->IsPointOnCurve()) {
-      Handle(PBRep_PointOnCurve) POC = new 
-       PBRep_PointOnCurve(PR->Parameter(),
-                          MgtBRep_TranslateTool1::Translate(PR->Curve(), aMap),
-                          MgtTopLoc::Translate(PR->Location(), aMap));
-      CPPR = POC;
-    }
-
-    else if (PR->IsPointOnCurveOnSurface()) {
-      Handle(PBRep_PointOnCurveOnSurface) POCS = 
-       new PBRep_PointOnCurveOnSurface(PR->Parameter(),
-                                       MgtBRep_TranslateTool1::Translate(PR->PCurve(), aMap),
-                                       MgtBRep_TranslateTool1::Translate(PR->Surface(), aMap),
-                                       MgtTopLoc::Translate(PR->Location(), aMap));
-      CPPR = POCS;
-    }
-
-    else if (PR->IsPointOnSurface()) {
-      Handle(PBRep_PointOnSurface) POS = 
-       new PBRep_PointOnSurface(PR->Parameter(),
-                                PR->Parameter2(),
-                                MgtBRep_TranslateTool1::Translate(PR->Surface(), aMap),
-                                MgtTopLoc::Translate(PR->Location(), aMap));
-      CPPR = POS;
-    }
-    
-    CPPR->Next(PPR);
-    PPR = CPPR;
-    itpr.Next();
-  }
-  
-  PTV->Points(PPR);
-  
-  MgtTopoDS_TranslateTool1::UpdateVertex(S1,S2, aMap);
-}
-
-
-//=======================================================================
-//function : UpdateVertex
-//purpose  : Persistent->Transient
-//=======================================================================
-
-void MgtBRep_TranslateTool1::UpdateVertex
-(const PTopoDS_Shape1& S1, 
- TopoDS_Shape& S2,
- PTColStd_PersistentTransientMap& aMap) const 
-{
-  const Handle(PBRep_TVertex1)& PTV = *((Handle(PBRep_TVertex1)*) &(S1.TShape()));
-  const Handle(BRep_TVertex)& TTV = *((Handle(BRep_TVertex)*) &(S2.TShape()));
-
-  // Point
-  TTV->Pnt(PTV->Pnt());
-
-  // Tolerance
-  TTV->Tolerance(PTV->Tolerance());
-
-  // Representations
-  Handle(PBRep_PointRepresentation) PPR = PTV->Points();
-  BRep_ListOfPointRepresentation& lpr = TTV->ChangePoints();
-
-  lpr.Clear();
-
-  Handle(BRep_PointRepresentation) PR;
-
-  while (!PPR.IsNull()) {
-
-    if (PPR->IsPointOnCurve()) {
-      Handle(PBRep_PointOnCurve)& POC = (Handle(PBRep_PointOnCurve)&) PPR;
-      Handle(BRep_PointOnCurve) OC =
-       new BRep_PointOnCurve(POC->Parameter(),
-                             MgtBRep_TranslateTool1::Translate(POC->Curve(), aMap),
-                             MgtTopLoc::Translate(POC->Location(), aMap));
-      PR = OC;
-    }
-    
-    else if (PPR->IsPointOnCurveOnSurface()) {
-      Handle(PBRep_PointOnCurveOnSurface)& POCS =
-       (Handle(PBRep_PointOnCurveOnSurface)&) PPR;
-      Handle(BRep_PointOnCurveOnSurface) OCS =
-       new BRep_PointOnCurveOnSurface(POCS->Parameter(),
-                                      MgtBRep_TranslateTool1::Translate(POCS->PCurve(), aMap),
-                                      MgtBRep_TranslateTool1::Translate(POCS->Surface(), aMap),
-                                      MgtTopLoc::Translate(POCS->Location(), aMap));
-      PR = OCS;
-    }
-    
-    else if (PPR->IsPointOnSurface()) {
-      Handle(PBRep_PointOnSurface)& POS = (Handle(PBRep_PointOnSurface)&) PPR;
-      Handle(BRep_PointOnSurface) OS =
-       new BRep_PointOnSurface(POS->Parameter(),
-                               POS->Parameter2(),
-                               MgtBRep_TranslateTool1::Translate(POS->Surface(), aMap),
-                               MgtTopLoc::Translate(POS->Location(), aMap));
-      PR = OS;
-    }
-    
-    lpr.Prepend(PR);
-    PPR = PPR->Next();
-  }
-  
-  MgtTopoDS_TranslateTool1::UpdateVertex(S1,S2, aMap);
-}
-
-
-//=======================================================================
-//function : UpdateEdge
-//purpose  : Transient->Persistent
-//=======================================================================
-
-void MgtBRep_TranslateTool1::UpdateEdge
-(const TopoDS_Shape& S1,
- PTopoDS_Shape1& S2,
- PTColStd_TransientPersistentMap& aMap) const 
-{
-  const Handle(BRep_TEdge)&  TTE = *((Handle(BRep_TEdge)*) &(S1.TShape()));
-  const Handle(PBRep_TEdge1)& PTE = *((Handle(PBRep_TEdge1)*) &(S2.TShape()));
-
-  // tolerance
-  PTE->Tolerance(TTE->Tolerance());
-  
-  // same parameter
-  PTE->SameParameter(TTE->SameParameter());
-
-  // same range
-  PTE->SameRange(TTE->SameRange());
-
-  // Degenerated
-  PTE->Degenerated(TTE->Degenerated());
-  
-  // Representations
-  BRep_ListIteratorOfListOfCurveRepresentation itcr(TTE->Curves());
-
-  Handle(PBRep_CurveRepresentation) PCR, CPCR;
-  Handle(BRep_GCurve) GC;
-  Standard_Real f, l;
-
-  while (itcr.More()) {
-
-    const Handle(BRep_CurveRepresentation)& CR = itcr.Value();
-    
-    GC = Handle(BRep_GCurve)::DownCast(CR);
-    if (!GC.IsNull()) {
-      GC->Range(f, l);
-
-      // CurveRepresentation is Curve3D
-      if (CR->IsCurve3D()) {
-       Handle(PBRep_Curve3D) C3D = new 
-         PBRep_Curve3D(MgtBRep_TranslateTool1::Translate(CR->Curve3D(),aMap),
-                       f, l, MgtTopLoc::Translate(CR->Location(), aMap));
-       CPCR = C3D;
-      }
-      
-      // CurveRepresentation is CurveOnSurface
-      else if (CR->IsCurveOnSurface()) {
-       
-       Handle(BRep_CurveOnSurface)& theCOS=(Handle(BRep_CurveOnSurface)&) CR;
-       Handle(PBRep_CurveOnSurface) COS;
-
-       // CurveRepresentation is CurveOnSurface
-       if (!CR->IsCurveOnClosedSurface()) {
-         COS =
-           new PBRep_CurveOnSurface
-             (MgtBRep_TranslateTool1::Translate(CR->PCurve(), aMap),
-              f, l,
-              MgtBRep_TranslateTool1::Translate(CR->Surface(), aMap),
-              MgtTopLoc::Translate(CR->Location(), aMap));
-       }
-       
-       // CurveRepresentation is CurveOnClosedSurface
-       else {
-         // get UVPoints for the CurveOnClosedSurface definition.
-         Handle(BRep_CurveOnClosedSurface)& theCOCS =
-           (Handle(BRep_CurveOnClosedSurface)&) CR;
-         gp_Pnt2d Pnt21, Pnt22;
-         theCOCS->UVPoints2(Pnt21, Pnt22);
-         Handle(PBRep_CurveOnClosedSurface) COCS =
-           new PBRep_CurveOnClosedSurface
-             (MgtBRep_TranslateTool1::Translate(CR->PCurve(), aMap),
-              MgtBRep_TranslateTool1::Translate(CR->PCurve2(), aMap),
-              f, l, 
-              MgtBRep_TranslateTool1::Translate(CR->Surface(), aMap),
-              MgtTopLoc::Translate(CR->Location(), aMap),
-              CR->Continuity());
-         COCS->SetUVPoints2(Pnt21, Pnt22);
-         COS = COCS;
-       }
-
-       // get UVPoints for the CurveOnSurface definition.
-       gp_Pnt2d Pnt1, Pnt2;
-       theCOS->UVPoints(Pnt1, Pnt2);
-
-       // If we don't do that, there is anything (NAN: Not A Number) instead.
-       COS->SetUVPoints(Pnt1, Pnt2);
-       CPCR = COS;
-       
-      }
-    }
-    
-    // CurveRepresentation is CurveOn2Surfaces
-    else if (CR->IsRegularity()) {
-      
-      Handle(PBRep_CurveOn2Surfaces) R =
-       new PBRep_CurveOn2Surfaces
-         (MgtBRep_TranslateTool1::Translate(CR->Surface(), aMap),
-          MgtBRep_TranslateTool1::Translate(CR->Surface2(), aMap),
-          MgtTopLoc::Translate(CR->Location(), aMap),
-          MgtTopLoc::Translate(CR->Location2(), aMap),
-          CR->Continuity());
-      CPCR = R;
-    }
-    
-    // CurveRepresentation is Polygon or Triangulation
-    else if (myTriangleMode == MgtBRep_WithTriangle) {
-      
-      // CurveRepresentation is Polygon3D
-      if (CR->IsPolygon3D()) {
-       Handle(PBRep_Polygon3D) P3D = 
-         new PBRep_Polygon3D(MgtPoly::Translate(CR->Polygon3D(), aMap),
-                             MgtTopLoc::Translate(CR->Location(), aMap));
-       CPCR = P3D;
-      }
-
-      // CurveRepresentation is PolygonOnSurface
-      else if (CR->IsPolygonOnSurface()) {
-
-       // CurveRepresentation is PolygonOnClosedSurface
-       if (CR->IsPolygonOnClosedSurface()) {
-         Handle(PBRep_PolygonOnClosedSurface)  PolOCS = new 
-           PBRep_PolygonOnClosedSurface(MgtPoly::Translate(CR->Polygon(), aMap),
-                                        MgtPoly::Translate(CR->Polygon2(), aMap),
-                                        MgtBRep_TranslateTool1::Translate(CR->Surface(), aMap),
-                                        MgtTopLoc::Translate(CR->Location(), aMap));
-         CPCR = PolOCS;
-       }
-
-       // CurveRepresentation is PolygonOnSurface
-       else {
-         Handle(PBRep_PolygonOnSurface) PolOS = new
-           PBRep_PolygonOnSurface(MgtPoly::Translate(CR->Polygon(), aMap),
-                                  MgtBRep_TranslateTool1::Translate(CR->Surface(),aMap),
-                                  MgtTopLoc::Translate(CR->Location(), aMap));
-         CPCR = PolOS;
-       }
-      }
-
-      // CurveRepresentation is PolygonOnTriangulation
-      else if (CR->IsPolygonOnTriangulation()) {
-
-       // CurveRepresentation is PolygonOnClosedTriangulation
-       if (CR->IsPolygonOnClosedTriangulation()) {
-
-         Handle(PBRep_PolygonOnClosedTriangulation) PolOCT= new
-           PBRep_PolygonOnClosedTriangulation
-             (MgtPoly::Translate(CR->PolygonOnTriangulation(), aMap),
-              MgtPoly::Translate(CR->PolygonOnTriangulation2(), aMap),
-              MgtPoly::Translate(CR->Triangulation(), aMap),
-              MgtTopLoc::Translate(CR->Location(), aMap));
-         CPCR = PolOCT;
-       }
-
-       // CurveRepresentation is PolygonOnTriangulation
-       else {
-         Handle(PBRep_PolygonOnTriangulation) PolOT = new
-           PBRep_PolygonOnTriangulation
-             (MgtPoly::Translate(CR->PolygonOnTriangulation(), aMap),
-              MgtPoly::Translate(CR->Triangulation(), aMap),
-              MgtTopLoc::Translate(CR->Location(), aMap));
-         CPCR = PolOT;
-       }
-      }
-    }
-    else {
-      // jumps the curve representation
-      itcr.Next();
-      continue;
-    }
-    
-    Standard_NullObject_Raise_if (CPCR.IsNull(), "Null CurveRepresentation");
-    
-    CPCR->Next(PCR);
-    PCR = CPCR;
-    itcr.Next();
-  }
-  
-  // set
-  PTE->Curves(PCR);
-  
-  MgtTopoDS_TranslateTool1::UpdateEdge(S1,S2, aMap);
-}
-
-
-//=======================================================================
-//function : UpdateEdge
-//purpose  : Persistent->Transient
-//=======================================================================
-
-void MgtBRep_TranslateTool1::UpdateEdge
-(const PTopoDS_Shape1& S1,
- TopoDS_Shape& S2,
- PTColStd_PersistentTransientMap& aMap) const 
-{
-  const Handle(PBRep_TEdge1)& PTE = *((Handle(PBRep_TEdge1)*) &(S1.TShape()));
-  const Handle(BRep_TEdge)&  TTE = *((Handle(BRep_TEdge)*) &(S2.TShape()));
-
-  // tolerance
-  TTE->Tolerance(PTE->Tolerance());
-  
-  // same parameter
-  TTE->SameParameter(PTE->SameParameter());
-
-  // same range
-  TTE->SameRange(PTE->SameRange());
-
-  // Degenerated
-  TTE->Degenerated(PTE->Degenerated());
-  
-  // Representations
-  Handle(PBRep_CurveRepresentation) PCR = PTE->Curves();
-  BRep_ListOfCurveRepresentation& lcr = TTE->ChangeCurves();
-
-  lcr.Clear();
-  Handle(BRep_CurveRepresentation) CR;
-
-  while (!PCR.IsNull()) {
-    
-    if (PCR->IsGCurve()) {
-      Handle(PBRep_GCurve)& PGC = (Handle(PBRep_GCurve)&) PCR;
-      if (PCR->IsCurveOnSurface()) {
-       gp_Pnt2d Pnt1, Pnt2;
-       if (!PCR->IsCurveOnClosedSurface()) {
-         // CurveRepresentation is a PBRep_CurveOnSurface
-         Handle(PBRep_CurveOnSurface)& PCOS = (Handle(PBRep_CurveOnSurface)&) PCR;
-         Handle(BRep_CurveOnSurface) COS =
-           new BRep_CurveOnSurface
-             (MgtBRep_TranslateTool1::Translate(PCOS->PCurve(), aMap),
-              MgtBRep_TranslateTool1::Translate(PCOS->Surface(), aMap),
-              MgtTopLoc::Translate(PCOS->Location(), aMap));
-         Pnt1 = PCOS->FirstUV();
-         Pnt2 = PCOS->LastUV();
-         COS->SetUVPoints(Pnt1, Pnt2);
-         COS->SetRange(PGC->First(), PGC->Last());
-         CR = COS;
-       }
-       else {
-         // CurveRepresentation is a PBRep_CurveOnClosedSurface
-         gp_Pnt2d Pnt21, Pnt22;
-         Handle(PBRep_CurveOnClosedSurface)& PCOCS =
-           (Handle(PBRep_CurveOnClosedSurface)&) PCR;
-         Handle(BRep_CurveOnClosedSurface) COCS =
-           new BRep_CurveOnClosedSurface
-             (MgtBRep_TranslateTool1::Translate(PCOCS->PCurve(), aMap),
-              MgtBRep_TranslateTool1::Translate(PCOCS->PCurve2(), aMap),
-              MgtBRep_TranslateTool1::Translate(PCOCS->Surface(), aMap),
-              MgtTopLoc::Translate(PCOCS->Location(), aMap),
-              PCOCS->Continuity());
-         Pnt21 = PCOCS->FirstUV2();
-         Pnt22 = PCOCS->LastUV2();
-         COCS->SetUVPoints(Pnt1, Pnt2); // Is it necessary?
-         COCS->SetUVPoints2(Pnt21, Pnt22);
-         COCS->SetRange(PGC->First(), PGC->Last());
-         CR = COCS;
-       }
-      }
-      else if (PCR->IsCurve3D()) {
-       Handle(PBRep_Curve3D)& PC3D = (Handle(PBRep_Curve3D)&) PCR;
-// sln 25.09.2001 BUC60998: correction for edge which has null 3d curve representation        
-//     if (! PC3D->Curve3D().IsNull()) {
-         Handle(BRep_Curve3D) C3D =
-           new BRep_Curve3D(MgtBRep_TranslateTool1::Translate(PC3D->Curve3D(), aMap),
-                            MgtTopLoc::Translate(PC3D->Location(), aMap));
-         C3D->SetRange(PGC->First(), PGC->Last());
-         CR = C3D;
-//     }
-      }
-    }
-    else if (PCR->IsRegularity()) {
-      Handle(PBRep_CurveOn2Surfaces)& PR = 
-       (Handle(PBRep_CurveOn2Surfaces)&) PCR;
-      Handle(BRep_CurveOn2Surfaces) R =
-       new BRep_CurveOn2Surfaces
-         (MgtBRep_TranslateTool1::Translate(PR->Surface(), aMap),
-          MgtBRep_TranslateTool1::Translate(PR->Surface2(), aMap),
-          MgtTopLoc::Translate(PR->Location(), aMap),
-          MgtTopLoc::Translate(PR->Location2(), aMap),
-          PR->Continuity());
-      CR = R;
-    }
-    
-    else if (myTriangleMode == MgtBRep_WithTriangle) {
-      if (PCR->IsPolygon3D()) {
-       Handle(PBRep_Polygon3D)& PP3D = (Handle(PBRep_Polygon3D)&) PCR;
-       Handle(BRep_Polygon3D) P3D = new
-         BRep_Polygon3D(MgtPoly::Translate(PP3D->Polygon3D(), aMap),
-                        MgtTopLoc::Translate(PP3D->Location(), aMap));
-       CR = P3D;
-      }
-      else if (PCR->IsPolygonOnSurface()) {
-       if (PCR->IsPolygonOnClosedSurface()) {
-         Handle(PBRep_PolygonOnClosedSurface)& PPol = 
-           (Handle(PBRep_PolygonOnClosedSurface)&) PCR;
-         Handle(BRep_PolygonOnClosedSurface)  PolOCS = new 
-           BRep_PolygonOnClosedSurface
-             (MgtPoly::Translate(PPol->Polygon(), aMap),
-              MgtPoly::Translate(PPol->Polygon2(), aMap),
-              MgtBRep_TranslateTool1::Translate(PPol->Surface(), aMap),
-              MgtTopLoc::Translate(PPol->Location(), aMap));
-         CR = PolOCS;
-       }
-       else {
-         Handle(PBRep_PolygonOnSurface)& PPol = 
-           (Handle(PBRep_PolygonOnSurface)&) PCR;
-         Handle(BRep_PolygonOnSurface) PolOS = new
-           BRep_PolygonOnSurface
-             (MgtPoly::Translate(PPol->Polygon(), aMap),
-              MgtBRep_TranslateTool1::Translate(PPol->Surface(), aMap),
-              MgtTopLoc::Translate(PPol->Location(), aMap));
-         CR = PolOS;
-       }
-      }
-      // PCR is a PolygonOnTriangulation
-      else if (PCR->IsPolygonOnTriangulation()) {
-       
-       Handle(PBRep_PolygonOnTriangulation)& POT =
-         (Handle(PBRep_PolygonOnTriangulation)&) PCR;
-       
-       // PCR is a PolygonOnClosedTriangulation
-       if (PCR->IsPolygonOnClosedTriangulation()) {
-         Handle(PBRep_PolygonOnClosedTriangulation)& POCT =
-           (Handle(PBRep_PolygonOnClosedTriangulation)&) PCR;
-         
-         Handle(BRep_PolygonOnClosedTriangulation) PolOCT= new
-           BRep_PolygonOnClosedTriangulation
-             (MgtPoly::Translate(POCT->PolygonOnTriangulation(), aMap),
-              MgtPoly::Translate(POCT->PolygonOnTriangulation2(), aMap),
-              MgtPoly::Translate(POCT->Triangulation(), aMap),
-              MgtTopLoc::Translate(POCT->Location(), aMap));
-         CR = PolOCT;
-       }
-       // PCR is a PolygonOnTriangulation
-       else {
-         Handle(BRep_PolygonOnTriangulation) PolOT = new
-           BRep_PolygonOnTriangulation
-             (MgtPoly::Translate(POT->PolygonOnTriangulation(), aMap),
-              MgtPoly::Translate(POT->Triangulation(), aMap),
-              MgtTopLoc::Translate(POT->Location(), aMap));
-         CR = PolOT;
-       }
-      }
-    }
-    else {
-      // jumps the Curve Representation
-      PCR = PCR->Next();
-      continue;
-    }
-    
-    Standard_NullObject_Raise_if (CR.IsNull(), "Persistant CurveRep is Null");
-    
-    lcr.Prepend(CR); 
-    PCR = PCR->Next();
-  }
-  
-  MgtTopoDS_TranslateTool1::UpdateEdge(S1,S2, aMap);
-}
-
-
-//=======================================================================
-//function : UpdateFace
-//purpose  : Transient->Persistent
-//=======================================================================
-
-void MgtBRep_TranslateTool1::UpdateFace
-(const TopoDS_Shape& S1, 
- PTopoDS_Shape1& S2,
- PTColStd_TransientPersistentMap& aMap) const 
-{
-  const Handle(BRep_TFace)&  TTF = *((Handle(BRep_TFace)*) &(S1.TShape()));
-  const Handle(PBRep_TFace1)& PTF = *((Handle(PBRep_TFace1)*) &(S2.TShape()));
-
-  // natural restriction
-  PTF->NaturalRestriction(TTF->NaturalRestriction());
-
-  // tolerance
-  PTF->Tolerance(TTF->Tolerance());
-
-  // location
-  PTF->Location(MgtTopLoc::Translate(TTF->Location(), aMap));
-
-  // surface
-  PTF->Surface(MgtBRep_TranslateTool1::Translate(TTF->Surface(), aMap));
-
-  // Triangulation
-  if (myTriangleMode == MgtBRep_WithTriangle) {
-    PTF->Triangulation(MgtPoly::Translate(TTF->Triangulation(), aMap));
-  }
-  
-  MgtTopoDS_TranslateTool1::UpdateFace(S1,S2, aMap);
-}
-
-
-//=======================================================================
-//function : UpdateFace
-//purpose  : Persistent->Transient
-//=======================================================================
-
-void MgtBRep_TranslateTool1::UpdateFace
-(const PTopoDS_Shape1& S1, 
- TopoDS_Shape& S2,
- PTColStd_PersistentTransientMap& aMap) const 
-{
-  const Handle(PBRep_TFace1)& PTF = *((Handle(PBRep_TFace1)*) &(S1.TShape()));
-  const Handle(BRep_TFace)&  TTF = *((Handle(BRep_TFace)*) &(S2.TShape()));
-
-  // natural restriction
-  TTF->NaturalRestriction(PTF->NaturalRestriction());
-
-  // tolerance
-  TTF->Tolerance(PTF->Tolerance());
-
-  // location
-  TTF->Location(MgtTopLoc::Translate(PTF->Location(), aMap));
-
-  // surface
-  TTF->Surface(MgtBRep_TranslateTool1::Translate(PTF->Surface(), aMap));
-
-  // Triangulation
-  if ( myTriangleMode == MgtBRep_WithTriangle) {
-    TTF->Triangulation(MgtPoly::Translate(PTF->Triangulation(), aMap));
-  }
-
-  MgtTopoDS_TranslateTool1::UpdateFace(S1,S2, aMap);
-}
diff --git a/src/MgtGeom/MgtGeom.cdl b/src/MgtGeom/MgtGeom.cdl
deleted file mode 100644 (file)
index 2c08a5c..0000000
+++ /dev/null
@@ -1,539 +0,0 @@
--- Created on: 1993-03-05
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- Update:      Frederic MAUPAS
-
-
-
-package MgtGeom 
-
-       ---Purpose: This  package   provides   methods  to   translate
-       --          transient objects from Geom to  persistent objects
-       --          from PGeom and vice-versa. No  track from previous
-       --          translation is kept.
-       --          
---     Data is not shared:
--- -   between transient and persistent objects, or
--- -   between two successive translations of the
---   same object.
-    
-uses
-
-    Geom, PGeom
-    
-is
-
-
-    -- Axis1Placement
-
-
-    Translate(PObj: Axis1Placement from PGeom)
-       returns Axis1Placement from Geom;
-               ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: Axis1Placement from Geom)
-       returns Axis1Placement from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-
-
-    -- Axis2Placement
-
-
-    Translate(PObj: Axis2Placement from PGeom)
-       returns Axis2Placement from Geom;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: Axis2Placement from Geom)
-       returns Axis2Placement from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-
-
-    -- BSplineCurve
-
-
-    Translate(PObj: BSplineCurve from PGeom)
-       returns BSplineCurve from Geom;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: BSplineCurve from Geom)
-       returns BSplineCurve from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-
-
-    -- BSplineSurface
-
-
-    Translate(PObj: BSplineSurface from PGeom)
-       returns BSplineSurface from Geom;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: BSplineSurface from Geom)
-       returns BSplineSurface from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-
-
-    -- BezierCurve
-
-
-    Translate(PObj: BezierCurve from PGeom)
-       returns BezierCurve from Geom;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: BezierCurve from Geom)
-       returns BezierCurve from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-
-
-    -- BezierSurface
-
-
-    Translate(PObj: BezierSurface from PGeom)
-       returns BezierSurface from Geom;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: BezierSurface from Geom)
-       returns BezierSurface from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-
-
-    -- CartesianPoint
-
-
-    Translate(PObj: CartesianPoint from PGeom)
-       returns CartesianPoint from Geom;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: CartesianPoint from Geom)
-       returns CartesianPoint from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-
-
-    -- Circle
-
-
-    Translate(PObj: Circle from PGeom)
-       returns Circle from Geom;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: Circle from Geom)
-       returns Circle from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-
-
-    -- ConicalSurface
-
-
-    Translate(PObj: ConicalSurface from PGeom)
-       returns ConicalSurface from Geom;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: ConicalSurface from Geom)
-       returns ConicalSurface from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-
-    -- -----
-    -- Curve
-    -- -----
-
-
-    Translate(PObj: Curve from PGeom)
-       returns Curve     from Geom
-       raises NullObject from Standard;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       --          Raises NullObject if the PObj type has no mapping
-       ---Level: Advanced 
-
-
-    Translate(TObj: Curve from Geom)
-       returns Curve     from PGeom
-       raises NullObject from Standard;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       --          Raises NullObject if the TObj type has no mapping
-       ---Level: Advanced 
-
-
-
-
-    -- CylindricalSurface
-
-
-    Translate(PObj: CylindricalSurface from PGeom)
-       returns CylindricalSurface from Geom;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: CylindricalSurface from Geom)
-       returns CylindricalSurface from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-
-
-    -- Direction
-
-
-    Translate(PObj: Direction from PGeom)
-       returns Direction from Geom;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: Direction from Geom)
-       returns Direction from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-
-
-    -- Ellipse
-
-
-    Translate(PObj: Ellipse from PGeom)
-       returns Ellipse from Geom;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: Ellipse from Geom)
-       returns Ellipse from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-
-
-    -- Hyperbola
-
-
-    Translate(PObj: Hyperbola from PGeom)
-       returns Hyperbola from Geom;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: Hyperbola from Geom)
-       returns Hyperbola from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-
-
-    -- Line
-
-
-    Translate(PObj: Line from PGeom)
-       returns Line from Geom;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: Line from Geom)
-       returns Line from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-
-
-    -- OffsetCurve
-
-
-    Translate(PObj: OffsetCurve from PGeom)
-       returns OffsetCurve from Geom;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: OffsetCurve from Geom)
-       returns OffsetCurve from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-
-
-    -- OffsetSurface
-
-
-    Translate(PObj: OffsetSurface from PGeom)
-       returns OffsetSurface from Geom;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: OffsetSurface from Geom)
-       returns OffsetSurface from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-
-
-    -- Parabola
-
-
-    Translate(PObj: Parabola from PGeom)
-       returns Parabola from Geom;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: Parabola from Geom)
-       returns Parabola from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-
-
-    -- Plane
-
-
-    Translate(PObj: Plane from PGeom)
-       returns Plane from Geom;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: Plane from Geom)
-       returns Plane from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-
-    -- Point
-
-
-    Translate(PObj: Point from PGeom)
-       returns Point from Geom;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: Point from Geom)
-       returns Point from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-
-    -- RectangularTrimmedSurface
-
-
-    Translate(PObj: RectangularTrimmedSurface from PGeom)
-       returns RectangularTrimmedSurface from Geom;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: RectangularTrimmedSurface from Geom)
-       returns RectangularTrimmedSurface from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-
-
-    -- SphericalSurface
-
-
-    Translate(PObj: SphericalSurface from PGeom)
-       returns SphericalSurface from Geom;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: SphericalSurface from Geom)
-       returns SphericalSurface from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-
-    -- -------
-    -- Surface
-    -- -------
-
-
-    Translate(PObj: Surface from PGeom)
-       returns Surface   from Geom
-       raises NullObject from Standard;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       --          Raises NullObject if the PObj type has no mapping
-       ---Level: Advanced 
-
-
-    Translate(TObj: Surface from Geom)
-       returns Surface   from PGeom
-       raises NullObject from Standard;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       --          Raises NullObject if the TObj type has no mapping
-       ---Level: Advanced 
-
-
-
-
-    -- SurfaceOfLinearExtrusion
-
-
-    Translate(PObj: SurfaceOfLinearExtrusion from PGeom)
-       returns SurfaceOfLinearExtrusion from Geom;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: SurfaceOfLinearExtrusion from Geom)
-       returns SurfaceOfLinearExtrusion from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-
-
-    -- SurfaceOfRevolution
-
-
-    Translate(PObj: SurfaceOfRevolution from PGeom)
-       returns SurfaceOfRevolution from Geom;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: SurfaceOfRevolution from Geom)
-       returns SurfaceOfRevolution from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-
-
-    -- ToroidalSurface
-
-
-    Translate(PObj: ToroidalSurface from PGeom)
-       returns ToroidalSurface from Geom;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: ToroidalSurface from Geom)
-       returns ToroidalSurface from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-
-
-    -- Transformation
-
-
-    Translate(PObj: Transformation from PGeom)
-       returns Transformation from Geom;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: Transformation from Geom)
-       returns Transformation from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-
-
-    -- TrimmedCurve
-
-
-    Translate(PObj: TrimmedCurve from PGeom)
-       returns TrimmedCurve from Geom;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: TrimmedCurve from Geom)
-       returns TrimmedCurve from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-
-
-    -- VectorWithMagnitude
-
-
-    Translate(PObj: VectorWithMagnitude from PGeom)
-       returns VectorWithMagnitude from Geom;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom.
-       ---Level: Advanced 
-
-
-    Translate(TObj: VectorWithMagnitude from Geom)
-       returns VectorWithMagnitude from PGeom;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom.
-       ---Level: Advanced 
-
-
-end MgtGeom;
diff --git a/src/MgtGeom/MgtGeom.cxx b/src/MgtGeom/MgtGeom.cxx
deleted file mode 100644 (file)
index 3fafb89..0000000
+++ /dev/null
@@ -1,1522 +0,0 @@
-// Created on: 1993-03-05
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MgtGeom.ixx>
-
-#include <Standard_Type.hxx>
-
-#include <PColStd_HArray1OfInteger.hxx>
-#include <PColStd_HArray2OfInteger.hxx>
-#include <PColStd_HArray1OfReal.hxx>
-#include <PColStd_HArray2OfReal.hxx>
-
-#include <TColStd_Array1OfInteger.hxx>
-#include <TColStd_Array2OfInteger.hxx>
-#include <TColStd_HArray1OfInteger.hxx>
-
-#include <TColStd_Array1OfReal.hxx>
-#include <TColStd_Array2OfReal.hxx>
-#include <TColStd_HArray1OfReal.hxx>
-#include <TColStd_HArray2OfReal.hxx>
-
-#include <TColgp_Array1OfPnt.hxx>
-#include <TColgp_Array2OfPnt.hxx>
-#include <TColgp_HArray1OfPnt.hxx>
-#include <TColgp_HArray2OfPnt.hxx>
-
-#include <PColgp_HArray1OfPnt.hxx>
-#include <PColgp_HArray2OfPnt.hxx>
-
-#include <gp_Vec.hxx>
-#include <gp_Circ.hxx>
-#include <gp_Ax1.hxx>
-
-//modif wok++
-#include <Standard_NullObject.hxx>
-#include <gp_Lin.hxx>
-#include <gp_Pln.hxx>
-
-// *******************************************************************
-// The following methods are subroutines used to copy elements
-// from structures to other structures, as array1 or array2.
-// *******************************************************************
-
-// *******************************************************************
-// Structures from TCollection to structures from PCollection.
-// *******************************************************************
-
-//=======================================================================
-//function : ArrayCopy
-//purpose  : Copy the gp_Pnt
-//           from an Array1 from TColgp (TCollection)
-//           to an HArray1 from PColgp (PCollection)
-//=======================================================================
-
-static Handle(PColgp_HArray1OfPnt) ArrayCopy
-       (const TColgp_Array1OfPnt& TArray)
-{
-  Standard_Integer Lower = TArray.Lower();
-  Standard_Integer Upper = TArray.Upper();
-  Standard_Integer Index;
-  Handle(PColgp_HArray1OfPnt) PArray = new PColgp_HArray1OfPnt(Lower, Upper);
-  for (Index = Lower; Index <= Upper; Index++) {
-    PArray->SetValue(Index, TArray(Index));
-  }
-  return PArray;
-}
-
-//=======================================================================
-//function : ArrayCopy
-//purpose  : Copy the gp_Pnt
-//           from an Array2 from TColgp (TCollection)
-//           to an HArray2 from PColgp (PCollection)
-//=======================================================================
-
-static Handle(PColgp_HArray2OfPnt) ArrayCopy
-       (const TColgp_Array2OfPnt& TArray)
-{
-  Standard_Integer LowerRow = TArray.LowerRow();
-  Standard_Integer UpperRow = TArray.UpperRow();
-  Standard_Integer LowerCol = TArray.LowerCol();
-  Standard_Integer UpperCol = TArray.UpperCol();
-  Standard_Integer IndexRow, IndexCol;
-  Handle(PColgp_HArray2OfPnt) PArray =
-    new PColgp_HArray2OfPnt(LowerRow, UpperRow, LowerCol, UpperCol);
-  for (IndexRow = LowerRow; IndexRow <= UpperRow; IndexRow++) {
-    for (IndexCol = LowerCol; IndexCol <= UpperCol; IndexCol++) {
-      PArray->SetValue(IndexRow, IndexCol, TArray(IndexRow, IndexCol));
-    }
-  }
-  return PArray;
-}
-
-//=======================================================================
-//function : ArrayCopy
-//purpose  : Copy the Standard_Real
-//           from an Array1 from TColStd (TCollection)
-//           to an SingleArray from PCollection
-//=======================================================================
-
-static Handle(PColStd_HArray1OfReal) ArrayCopy
-       (const TColStd_Array1OfReal& TArray)
-{
-  Standard_Integer Lower = TArray.Lower();
-  Standard_Integer Upper = TArray.Upper();
-  Standard_Integer Index;
-  Handle(PColStd_HArray1OfReal) PArray =
-    new PColStd_HArray1OfReal(Lower, Upper);
-  for (Index = Lower; Index <= Upper; Index++) {
-    PArray->SetValue(Index, TArray(Index));
-  }
-  return PArray;
-}
-
-//=======================================================================
-//function : ArrayCopy
-//purpose  : Copy the Standard_Real
-//           from an Array2 from TColStd (TCollection)
-//           to an DoubleArray from PCollection
-//=======================================================================
-
-static Handle(PColStd_HArray2OfReal) ArrayCopy
-       (const TColStd_Array2OfReal& TArray)
-{
-  Standard_Integer LowerRow = TArray.LowerRow();
-  Standard_Integer UpperRow = TArray.UpperRow();
-  Standard_Integer LowerCol = TArray.LowerCol();
-  Standard_Integer UpperCol = TArray.UpperCol();
-  Standard_Integer IndexRow, IndexCol;
-  Handle(PColStd_HArray2OfReal) PArray =
-    new PColStd_HArray2OfReal(LowerRow, UpperRow, LowerCol, UpperCol);
-  for (IndexRow = LowerRow; IndexRow <= UpperRow; IndexRow++) {
-    for (IndexCol = LowerCol; IndexCol <= UpperCol; IndexCol++) {
-      PArray->SetValue(IndexRow, IndexCol, TArray(IndexRow, IndexCol));
-    }
-  }
-  return PArray;
-}
-
-//=======================================================================
-//function : ArrayCopy
-//purpose  : Copy the Standard_Integer
-//           from an Array1 from TColStd (TCollection)
-//           to an SingleArray from PCollection
-//=======================================================================
-
-static Handle(PColStd_HArray1OfInteger) ArrayCopy
-       (const TColStd_Array1OfInteger& TArray)
-{
-  Standard_Integer Lower = TArray.Lower();
-  Standard_Integer Upper = TArray.Upper();
-  Standard_Integer Index;
-  Handle(PColStd_HArray1OfInteger) PArray =
-    new PColStd_HArray1OfInteger(Lower, Upper);
-  for (Index = Lower; Index <= Upper; Index++) {
-    PArray->SetValue(Index, TArray(Index));
-  }
-  return PArray;
-}
-
-// *******************************************************************
-// Structures from PCollection to structures from TCollection.
-// *******************************************************************
-
-//=======================================================================
-//function : ArrayCopy
-//purpose  : Copy the gp_Pnt
-//           from an HArray1 from PColgp (PCollection)
-//           to an Array1 from TColgp (TCollection)
-//=======================================================================
-
-static void ArrayCopy
-  (const Handle(PColgp_HArray1OfPnt)& PArray,
-   TColgp_Array1OfPnt& TArray)
-{
-  Standard_Integer Lower = PArray->Lower();
-  Standard_Integer Upper = PArray->Upper();
-  Standard_Integer Index;
-  for (Index = Lower; Index <= Upper; Index++) {
-    TArray(Index) = PArray->Value(Index);
-  }
-}
-
-//=======================================================================
-//function : ArrayCopy
-//purpose  : Copy the gp_Pnt
-//           from an HArray2 from PColgp (PCollection)
-//           to an Array2 from TColgp (TCollection)
-//=======================================================================
-
-static void ArrayCopy
-  (const Handle(PColgp_HArray2OfPnt)& PArray,
-   TColgp_Array2OfPnt& TArray)
-{
-  Standard_Integer LowerRow = TArray.LowerRow();
-  Standard_Integer UpperRow = TArray.UpperRow();
-  Standard_Integer LowerCol = TArray.LowerCol();
-  Standard_Integer UpperCol = TArray.UpperCol();
-  Standard_Integer IndexRow, IndexCol;
-  for (IndexRow = LowerRow; IndexRow <= UpperRow; IndexRow++) {
-    for (IndexCol = LowerCol; IndexCol <= UpperCol; IndexCol++) {
-      TArray(IndexRow, IndexCol) = PArray->Value(IndexRow, IndexCol);
-    }
-  }
-}
-
-//=======================================================================
-//function : ArrayCopy
-//purpose  : Copy the Standard_Real
-//           from an SingleArray from PCollection
-//           to an Array1 from TColStd (TCollection)
-//=======================================================================
-
-static void ArrayCopy
-  (const Handle(PColStd_HArray1OfReal)& PArray,
-   TColStd_Array1OfReal& TArray)
-{
-  Standard_Integer Lower = PArray->Lower();
-  Standard_Integer Upper = PArray->Upper();
-  Standard_Integer Index;
-  for (Index = Lower; Index <= Upper; Index++) {
-    TArray(Index) = PArray->Value(Index);
-  }
-}
-
-//=======================================================================
-//function : ArrayCopy
-//purpose  : Copy the Standard_Real
-//           from an DoubleArray from PCollection
-//           to an Array2 from TColStd (TCollection)
-//=======================================================================
-
-static void ArrayCopy
-  (const Handle(PColStd_HArray2OfReal)& PArray,
-   TColStd_Array2OfReal& TArray)
-{
-  Standard_Integer LowerRow = TArray.LowerRow();
-  Standard_Integer UpperRow = TArray.UpperRow();
-  Standard_Integer LowerCol = TArray.LowerCol();
-  Standard_Integer UpperCol = TArray.UpperCol();
-  Standard_Integer IndexRow, IndexCol;
-  for (IndexRow = LowerRow; IndexRow <= UpperRow; IndexRow++) {
-    for (IndexCol = LowerCol; IndexCol <= UpperCol; IndexCol++) {
-      TArray(IndexRow, IndexCol) = PArray->Value(IndexRow, IndexCol);
-    }
-  }
-}
-
-//=======================================================================
-//function : ArrayCopy
-//purpose  : Copy the Standard_Integer
-//           from an SingleArray from PCollection
-//           to an Array1 from TColStd (TCollection)
-//=======================================================================
-
-static void ArrayCopy
-  (const Handle(PColStd_HArray1OfInteger)& PArray,
-   TColStd_Array1OfInteger& TArray)
-{
-  Standard_Integer Lower = PArray->Lower();
-  Standard_Integer Upper = PArray->Upper();
-  Standard_Integer Index;
-  for (Index = Lower; Index <= Upper; Index++) {
-    TArray(Index) = PArray->Value(Index);
-  }
-}
-
-
-
-// *******************************************************************
-// Here is the implementation of the package methods.
-// *******************************************************************
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_Axis1Placement to a Geom_Axis1Placement.
-//=======================================================================
-
-Handle(Geom_Axis1Placement)  MgtGeom::Translate
-       (const Handle(PGeom_Axis1Placement)& PObj)
-{
-  return new Geom_Axis1Placement(PObj->Axis());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_Axis1Placement to a PGeom_Axis1Placement.
-//=======================================================================
-
-Handle(PGeom_Axis1Placement)  MgtGeom::Translate
-       (const Handle(Geom_Axis1Placement)& TObj)
-{
-  return new PGeom_Axis1Placement(TObj->Axis());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_Axis2Placement to a Geom_Axis2Placement.
-//=======================================================================
-
-Handle(Geom_Axis2Placement)  MgtGeom::Translate
-       (const Handle(PGeom_Axis2Placement)& PObj)
-{
-  return new Geom_Axis2Placement(PObj->Axis().Location(),
-                                PObj->Axis().Direction(),
-                                PObj->XDirection());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_Axis2Placement to a PGeom_Axis2Placement.
-//=======================================================================
-
-Handle(PGeom_Axis2Placement)  MgtGeom::Translate
-       (const Handle(Geom_Axis2Placement)& TObj)
-{
-  return new PGeom_Axis2Placement(TObj->Axis(),
-                                 TObj->XDirection());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_BSplineCurve to a Geom_BSplineCurve.
-//=======================================================================
-
-Handle(Geom_BSplineCurve)  MgtGeom::Translate
-       (const Handle(PGeom_BSplineCurve)& PObj)
-{
-  Handle(Geom_BSplineCurve)  TBSplC;
-
-  Handle(PColgp_HArray1OfPnt) oldPoles = PObj->Poles();
-  TColgp_Array1OfPnt newPoles (oldPoles->Lower(),oldPoles->Upper());
-  ArrayCopy(oldPoles,newPoles);
-
-  Handle(PColStd_HArray1OfInteger) oldMult = PObj->Multiplicities();
-  TColStd_Array1OfInteger newMultiplicities(oldMult->Lower(),oldMult->Upper());
-  ArrayCopy(oldMult,newMultiplicities);
-
-  Handle(PColStd_HArray1OfReal) oldKnots = PObj->Knots();
-  TColStd_Array1OfReal newKnots (oldKnots->Lower(),oldKnots->Upper());
-  ArrayCopy(oldKnots,newKnots);
-
-  if (PObj->Rational()) {
-    Handle(PColStd_HArray1OfReal) oldWeights = PObj->Weights();
-    TColStd_Array1OfReal newWeights (oldWeights->Lower(),oldWeights->Upper());
-    ArrayCopy(oldWeights,newWeights);
-    TBSplC = new Geom_BSplineCurve
-      (newPoles, newWeights, newKnots, newMultiplicities, PObj->SpineDegree(),PObj->Periodic());
-  }
-  else {
-    TBSplC = new Geom_BSplineCurve
-      (newPoles, newKnots, newMultiplicities, PObj->SpineDegree(),PObj->Periodic());
-  }
-//  if (PObj->Periodic()) TBSplC->SetPeriodic();
-  return TBSplC;
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_BSplineCurve to a PGeom_BSplineCurve.
-//=======================================================================
-
-Handle(PGeom_BSplineCurve)  MgtGeom::Translate
-       (const Handle(Geom_BSplineCurve)& TObj)
-{
-  Standard_Integer Upper;
-
-  Upper = TObj->NbPoles();
-
-  TColgp_Array1OfPnt oldPoles(1, Upper);
-  TObj->Poles(oldPoles);
-  Handle(PColgp_HArray1OfPnt) newPPoles = ArrayCopy(oldPoles);
-  
-  Handle(PColStd_HArray1OfReal) newPWeights;
-  if (TObj->IsRational()) {
-    TColStd_Array1OfReal oldWeights(1, Upper);
-    TObj->Weights(oldWeights);
-    newPWeights = ArrayCopy(oldWeights);
-  }
-  
-  Upper = TObj->NbKnots();
-
-  TColStd_Array1OfReal oldKnots(1, Upper);
-  TObj->Knots(oldKnots);
-  Handle(PColStd_HArray1OfReal) newPKnots = ArrayCopy(oldKnots);
-
-  TColStd_Array1OfInteger oldMultiplicities(1, Upper);
-  TObj->Multiplicities(oldMultiplicities);
-  Handle(PColStd_HArray1OfInteger) newPMultiplicities =
-    ArrayCopy(oldMultiplicities);
-  
-  return new PGeom_BSplineCurve(TObj->IsRational(),
-                               TObj->IsPeriodic(),
-                               TObj->Degree(),
-                               newPPoles,
-                               newPWeights,
-                               newPKnots,
-                               newPMultiplicities);
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_BSplineSurface to a Geom_BSplineSurface.
-//=======================================================================
-
-Handle(Geom_BSplineSurface)  MgtGeom::Translate
-       (const Handle(PGeom_BSplineSurface)& PObj)
-{
-  Handle(Geom_BSplineSurface)  TBSplS;
-
-  Handle(PColgp_HArray2OfPnt) oldPoles = PObj->Poles();
-  TColgp_Array2OfPnt newPoles (oldPoles->LowerRow(),oldPoles->UpperRow(),
-                              oldPoles->LowerCol(),oldPoles->UpperCol());
-  ArrayCopy(oldPoles,newPoles);
-
-  Handle(PColStd_HArray1OfInteger) oldUMult = PObj->UMultiplicities();
-  TColStd_Array1OfInteger
-    newUMultiplicities (oldUMult->Lower(),oldUMult->Upper());
-  ArrayCopy(oldUMult,newUMultiplicities);
-
-  Handle(PColStd_HArray1OfInteger) oldVMult = PObj->VMultiplicities();
-  TColStd_Array1OfInteger
-    newVMultiplicities (oldVMult->Lower(),oldVMult->Upper());
-  ArrayCopy(oldVMult,newVMultiplicities);
-
-  Handle(PColStd_HArray1OfReal) oldUKnots = PObj->UKnots();
-  TColStd_Array1OfReal newUKnots (oldUKnots->Lower(),oldUKnots->Upper());
-  ArrayCopy(oldUKnots,newUKnots);
-
-  Handle(PColStd_HArray1OfReal) oldVKnots = PObj->VKnots();
-  TColStd_Array1OfReal newVKnots (oldVKnots->Lower(),oldVKnots->Upper());
-  ArrayCopy(oldVKnots,newVKnots);
-
-  if (!PObj->URational() && !PObj->VRational()) {
-    TBSplS = new Geom_BSplineSurface
-      (newPoles,
-       newUKnots, newVKnots,
-       newUMultiplicities,newVMultiplicities,
-       PObj->USpineDegree(),
-       PObj->VSpineDegree(),
-       PObj->UPeriodic(),
-       PObj->VPeriodic());
-  }
-  else {
-    Handle(PColStd_HArray2OfReal) oldWeights = PObj->Weights();
-    TColStd_Array2OfReal
-      newWeights (oldWeights->LowerRow(),oldWeights->UpperRow(),
-                 oldWeights->LowerCol(),oldWeights->UpperCol());
-    ArrayCopy(oldWeights,newWeights);
-    TBSplS = new Geom_BSplineSurface
-      (newPoles,
-       newWeights,
-       newUKnots, newVKnots,
-       newUMultiplicities,newVMultiplicities,
-       PObj->USpineDegree(),
-       PObj->VSpineDegree(),
-       PObj->UPeriodic(),
-       PObj->VPeriodic());
-  }
-//  if (PObj->UPeriodic()) TBSplS->SetUPeriodic();
-//  if (PObj->VPeriodic()) TBSplS->SetVPeriodic();
-  return TBSplS;
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_BSplineSurface to a PGeom_BSplineSurface.
-//=======================================================================
-
-Handle(PGeom_BSplineSurface)  MgtGeom::Translate
-       (const Handle(Geom_BSplineSurface)& TObj)
-{
-  Standard_Integer UpperU, UpperV;
-
-  UpperU = TObj->NbUPoles();
-  UpperV = TObj->NbVPoles();
-
-  TColgp_Array2OfPnt oldPoles(1, UpperU, 1, UpperV);
-  TObj->Poles(oldPoles);
-  Handle(PColgp_HArray2OfPnt) newPPoles =
-    ArrayCopy(oldPoles);
-  
-  Handle(PColStd_HArray2OfReal) newPWeights;
-  if (TObj->IsURational() || TObj->IsVRational()) {
-    TColStd_Array2OfReal oldWeights(1, UpperU, 1, UpperV);
-    TObj->Weights(oldWeights);
-    newPWeights = ArrayCopy(oldWeights);
-  }
-  
-  UpperU = TObj->NbUKnots();
-
-  TColStd_Array1OfReal oldUKnots(1, UpperU);
-  TObj->UKnots(oldUKnots);
-  Handle(PColStd_HArray1OfReal) newPUKnots =
-    ArrayCopy(oldUKnots);
-  
-  TColStd_Array1OfInteger oldUMultiplicities(1, UpperU);
-  TObj->UMultiplicities(oldUMultiplicities);
-  Handle(PColStd_HArray1OfInteger) newPUMultiplicities =
-    ArrayCopy(oldUMultiplicities);
-  
-  UpperV = TObj->NbVKnots();
-
-  TColStd_Array1OfReal oldVKnots(1, UpperV);
-  TObj->VKnots(oldVKnots);
-  Handle(PColStd_HArray1OfReal) newPVKnots =
-    ArrayCopy(oldVKnots);
-  
-  TColStd_Array1OfInteger oldVMultiplicities(1, UpperV);
-  TObj->VMultiplicities(oldVMultiplicities);
-  Handle(PColStd_HArray1OfInteger) newPVMultiplicities =
-    ArrayCopy(oldVMultiplicities);
-  
-  return new PGeom_BSplineSurface(TObj->IsURational(),
-                                 TObj->IsVRational(),
-                                 TObj->IsUPeriodic(),
-                                 TObj->IsVPeriodic(),
-                                 TObj->UDegree(),
-                                 TObj->VDegree(),
-                                 newPPoles,
-                                 newPWeights,
-                                 newPUKnots,
-                                 newPVKnots,
-                                 newPUMultiplicities,
-                                 newPVMultiplicities);
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_BezierCurve to a Geom_BezierCurve.
-//=======================================================================
-
-Handle(Geom_BezierCurve)  MgtGeom::Translate
-       (const Handle(PGeom_BezierCurve)& PObj)
-{
-  Handle(Geom_BezierCurve) TBzC;
-
-  Handle(PColgp_HArray1OfPnt) oldPoles = PObj->Poles();
-  TColgp_Array1OfPnt newPoles (oldPoles->Lower(),oldPoles->Upper());
-  ArrayCopy(oldPoles,newPoles);
-
-  if (PObj->Rational()) {
-    Handle(PColStd_HArray1OfReal) oldWeights = PObj->Weights();
-    TColStd_Array1OfReal newWeights (oldWeights->Lower(),oldWeights->Upper());
-    ArrayCopy(oldWeights,newWeights);
-    TBzC = new Geom_BezierCurve(newPoles, newWeights);
-  }
-  else {
-    TBzC = new Geom_BezierCurve(newPoles);
-  }
-  return TBzC;
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_BezierCurve to a PGeom_BezierCurve.
-//=======================================================================
-
-Handle(PGeom_BezierCurve)  MgtGeom::Translate
-       (const Handle(Geom_BezierCurve)& TObj)
-{
-  Standard_Integer Upper;
-
-  Upper = TObj->NbPoles();
-
-  TColgp_Array1OfPnt oldPoles(1, Upper);
-  TObj->Poles(oldPoles);
-  Handle(PColgp_HArray1OfPnt) newPPoles = ArrayCopy(oldPoles);
-  
-  Handle(PColStd_HArray1OfReal) newPWeights;
-  if (TObj->IsRational()) {
-    TColStd_Array1OfReal oldWeights(1, Upper);
-    TObj->Weights(oldWeights);
-    newPWeights = ArrayCopy(oldWeights);
-  }
-  
-  return new PGeom_BezierCurve(newPPoles,
-                              newPWeights,
-                              TObj->IsRational());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_BezierSurface to a Geom_BezierSurface.
-//=======================================================================
-
-Handle(Geom_BezierSurface)  MgtGeom::Translate
-       (const Handle(PGeom_BezierSurface)& PObj)
-{
-  Handle(Geom_BezierSurface)  TBzS;
-
-  Handle(PColgp_HArray2OfPnt) oldPoles = PObj->Poles();
-  TColgp_Array2OfPnt newPoles (oldPoles->LowerRow(),oldPoles->UpperRow(),
-                              oldPoles->LowerCol(),oldPoles->UpperCol());
-  ArrayCopy(oldPoles,newPoles);
-
-  if (!PObj->URational() && !PObj->VRational()) {
-    TBzS = new Geom_BezierSurface(newPoles);
-  }
-  else {
-    Handle(PColStd_HArray2OfReal) oldWeights = PObj->Weights();
-    TColStd_Array2OfReal
-      newWeights (oldWeights->LowerRow(),oldWeights->UpperRow(),
-                 oldWeights->LowerCol(),oldWeights->UpperCol());
-    ArrayCopy(oldWeights,newWeights);
-
-    TBzS = new Geom_BezierSurface(newPoles, newWeights);
-  }
-  return TBzS;
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_BezierSurface to a PGeom_BezierSurface.
-//=======================================================================
-
-Handle(PGeom_BezierSurface)  MgtGeom::Translate(const Handle(Geom_BezierSurface)& TObj)
-{
-  Standard_Integer UpperU, UpperV;
-
-  UpperU = TObj->NbUPoles();
-  UpperV = TObj->NbVPoles();
-
-  TColgp_Array2OfPnt oldPoles(1, UpperU, 1, UpperV);
-  TObj->Poles(oldPoles);
-  Handle(PColgp_HArray2OfPnt) newPPoles =
-    ArrayCopy(oldPoles);
-  
-  Handle(PColStd_HArray2OfReal) newPWeights;
-  if (TObj->IsURational() || TObj->IsVRational()) {
-    TColStd_Array2OfReal oldWeights(1, UpperU, 1, UpperV);
-    TObj->Weights(oldWeights);
-    newPWeights = ArrayCopy(oldWeights);
-  }
-  
-  return new PGeom_BezierSurface(TObj->IsURational(),
-                                TObj->IsVRational(),
-                                newPPoles,
-                                newPWeights);
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_CartesianPoint to a Geom_CartesianPoint.
-//=======================================================================
-
-Handle(Geom_CartesianPoint)  MgtGeom::Translate
-       (const Handle(PGeom_CartesianPoint)& PObj)
-{ return new Geom_CartesianPoint(PObj->Pnt()); }
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_CartesianPoint to a PGeom_CartesianPoint.
-//=======================================================================
-
-Handle(PGeom_CartesianPoint)  MgtGeom::Translate
-       (const Handle(Geom_CartesianPoint)& TObj)
-{ return new PGeom_CartesianPoint(TObj->Pnt()); }
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_Circle to a Geom_Circle.
-//=======================================================================
-
-Handle(Geom_Circle)  MgtGeom::Translate(const Handle(PGeom_Circle)& PObj)
-{
-  return new Geom_Circle(PObj->Position(),
-                        PObj->Radius());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_Circle to a PGeom_Circle.
-//=======================================================================
-
-Handle(PGeom_Circle)  MgtGeom::Translate(const Handle(Geom_Circle)& TObj)
-{
-  gp_Circ cir = TObj->Circ();
-  return new PGeom_Circle(cir.Position(),cir.Radius());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_ConicalSurface to a Geom_ConicalSurface.
-//=======================================================================
-
-Handle(Geom_ConicalSurface)  MgtGeom::Translate
-       (const Handle(PGeom_ConicalSurface)& PObj)
-{
-  return new Geom_ConicalSurface(PObj->Position(),
-                                PObj->SemiAngle(),
-                                PObj->Radius());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_ConicalSurface to a PGeom_ConicalSurface.
-//=======================================================================
-
-Handle(PGeom_ConicalSurface)  MgtGeom::Translate
-       (const Handle(Geom_ConicalSurface)& TObj)
-{
-  return new PGeom_ConicalSurface(TObj->Position(),
-                                 TObj->RefRadius(),
-                                 TObj->SemiAngle());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_Curve to a Geom_Curve.
-//=======================================================================
-
-Handle(Geom_Curve)  MgtGeom::Translate(const Handle(PGeom_Curve)& PObj)
-{
-  Handle(Standard_Type) CurveType = PObj->DynamicType();
-  
-  if (CurveType == STANDARD_TYPE(PGeom_Line)) {
-    Handle(PGeom_Line)& TLine = 
-      (Handle(PGeom_Line)&) PObj;
-    return MgtGeom::Translate(TLine);
-  }
-  else if (CurveType ==  STANDARD_TYPE(PGeom_Circle)) {
-    Handle(PGeom_Circle)& TCircle = 
-      (Handle(PGeom_Circle)&) PObj;
-    return MgtGeom::Translate(TCircle);
-  }
-  else if (CurveType ==  STANDARD_TYPE(PGeom_Ellipse)) {
-    Handle(PGeom_Ellipse)& TEllipse = 
-      (Handle(PGeom_Ellipse)&) PObj;
-    return MgtGeom::Translate(TEllipse);
-  }
-  else if (CurveType ==  STANDARD_TYPE(PGeom_Hyperbola)) {
-    Handle(PGeom_Hyperbola)& THyperbola = 
-      (Handle(PGeom_Hyperbola)&) PObj;
-    return MgtGeom::Translate(THyperbola);
-  }
-  else if (CurveType ==  STANDARD_TYPE(PGeom_Parabola)) {
-    Handle(PGeom_Parabola)& TParabola = 
-      (Handle(PGeom_Parabola)&) PObj;
-    return MgtGeom::Translate(TParabola);
-  }
-  else if (CurveType ==  STANDARD_TYPE(PGeom_BezierCurve)) {
-    Handle(PGeom_BezierCurve)& TBezierCurve = 
-      (Handle(PGeom_BezierCurve)&) PObj;
-    return MgtGeom::Translate(TBezierCurve);
-  }
-  else if (CurveType ==  STANDARD_TYPE(PGeom_BSplineCurve)) {
-    Handle(PGeom_BSplineCurve)& TBSplineCurve = 
-      (Handle(PGeom_BSplineCurve)&) PObj;
-    return MgtGeom::Translate(TBSplineCurve);
-  }
-  else if (CurveType ==  STANDARD_TYPE(PGeom_TrimmedCurve)) {
-    Handle(PGeom_TrimmedCurve)& TTrimmedCurve = 
-      (Handle(PGeom_TrimmedCurve)&) PObj;
-    return MgtGeom::Translate(TTrimmedCurve);
-  }
-  else if (CurveType ==  STANDARD_TYPE(PGeom_OffsetCurve)) {
-    Handle(PGeom_OffsetCurve)& TOffsetCurve = 
-      (Handle(PGeom_OffsetCurve)&) PObj;
-    return MgtGeom::Translate(TOffsetCurve);
-  }
-  else {
-#ifdef OCCT_DEBUG
-    cout << "MgtGeom : Unknown curve type ???? : " << endl;
-#endif
-    Standard_NullObject::Raise("No mapping for the current Persistent Curve");
-  }
-// POP pour NT
-  Handle(Geom_Curve) dummy;
-  return dummy;
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_Curve to a PGeom_Curve.
-//=======================================================================
-
-Handle(PGeom_Curve)  MgtGeom::Translate(const Handle(Geom_Curve)& TObj)
-{
-  Handle(Standard_Type) CurveType = TObj->DynamicType();
-
-  if (CurveType == STANDARD_TYPE(Geom_Line)) {
-    Handle(Geom_Line)& PLine = 
-      (Handle(Geom_Line)&) TObj;
-    return MgtGeom::Translate(PLine);
-  }
-  else if (CurveType ==  STANDARD_TYPE(Geom_Circle)) {
-    Handle(Geom_Circle)& PCircle = 
-      (Handle(Geom_Circle)&) TObj;
-    return MgtGeom::Translate(PCircle);
-  }
-  else if (CurveType ==  STANDARD_TYPE(Geom_Ellipse)) {
-    Handle(Geom_Ellipse)& PEllipse = 
-      (Handle(Geom_Ellipse)&) TObj;
-    return MgtGeom::Translate(PEllipse);
-  }
-  else if (CurveType ==  STANDARD_TYPE(Geom_Hyperbola)) {
-    Handle(Geom_Hyperbola)& PHyperbola = 
-      (Handle(Geom_Hyperbola)&) TObj;
-    return MgtGeom::Translate(PHyperbola);
-  }
-  else if (CurveType ==  STANDARD_TYPE(Geom_Parabola)) {
-    Handle(Geom_Parabola)& PParabola = 
-      (Handle(Geom_Parabola)&) TObj;
-    return MgtGeom::Translate(PParabola);
-  }
-  else if (CurveType ==  STANDARD_TYPE(Geom_BezierCurve)) {
-    Handle(Geom_BezierCurve)& PBezierCurve = 
-      (Handle(Geom_BezierCurve)&) TObj;
-    return MgtGeom::Translate(PBezierCurve);
-  }
-  else if (CurveType ==  STANDARD_TYPE(Geom_BSplineCurve)) {
-    Handle(Geom_BSplineCurve)& PBSplineCurve = 
-      (Handle(Geom_BSplineCurve)&) TObj;
-    return MgtGeom::Translate(PBSplineCurve);
-  }
-  else if (CurveType ==  STANDARD_TYPE(Geom_TrimmedCurve)) {
-    Handle(Geom_TrimmedCurve)& PTrimmedCurve = 
-      (Handle(Geom_TrimmedCurve)&) TObj;
-    return MgtGeom::Translate(PTrimmedCurve);
-  }
-  else if (CurveType ==  STANDARD_TYPE(Geom_OffsetCurve)) {
-    Handle(Geom_OffsetCurve)& POffsetCurve = 
-      (Handle(Geom_OffsetCurve)&) TObj;
-    return MgtGeom::Translate(POffsetCurve);
-  }
-  else {
-#ifdef OCCT_DEBUG
-    cout << "MgtGeom : Unknown curve type ????"<<endl;
-#endif
-    Standard_NullObject::Raise("No mapping for the current Transient Curve");
-
-  }
-// POP pour NT
-  Handle(PGeom_Curve) dummy;
-  return dummy;
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_CylindricalSurface to a
-//           Geom_CylindricalSurface.
-//=======================================================================
-
-Handle(Geom_CylindricalSurface)  MgtGeom::Translate
-       (const Handle(PGeom_CylindricalSurface)& PObj)
-{
-  return  new Geom_CylindricalSurface(PObj->Position(),
-                                     PObj->Radius());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_CylindricalSurface to a PGeom_CylindricalSurface.
-//=======================================================================
-
-Handle(PGeom_CylindricalSurface)  MgtGeom::Translate(const Handle(Geom_CylindricalSurface)& TObj)
-{
-  return new PGeom_CylindricalSurface(TObj->Position(),
-                                     TObj->Radius());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_Direction to a Geom_Direction.
-//=======================================================================
-
-Handle(Geom_Direction)  MgtGeom::Translate
-       (const Handle(PGeom_Direction)& PObj)
-{
-  gp_Vec vec = PObj->Vec();
-  return new Geom_Direction(vec.X(), vec.Y(), vec.Z()); }
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_Direction to a PGeom_Direction.
-//=======================================================================
-
-Handle(PGeom_Direction)  MgtGeom::Translate
-       (const Handle(Geom_Direction)& TObj)
-{ return new PGeom_Direction(TObj->Vec()); }
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_Ellipse to a Geom_Ellipse.
-//=======================================================================
-
-Handle(Geom_Ellipse)  MgtGeom::Translate
-       (const Handle(PGeom_Ellipse)& PObj)
-{
-  return new Geom_Ellipse(PObj->Position(),
-                         PObj->MajorRadius(),
-                         PObj->MinorRadius());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_Ellipse to a PGeom_Ellipse.
-//=======================================================================
-
-Handle(PGeom_Ellipse)  MgtGeom::Translate
-       (const Handle(Geom_Ellipse)& TObj)
-{
-  return new PGeom_Ellipse(TObj->Position(),
-                          TObj->MajorRadius(),
-                          TObj->MinorRadius());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_Hyperbola to a Geom_Hyperbola.
-//=======================================================================
-
-Handle(Geom_Hyperbola)  MgtGeom::Translate
-       (const Handle(PGeom_Hyperbola)& PObj)
-{
-  return new Geom_Hyperbola(PObj->Position(),
-                           PObj->MajorRadius(),
-                           PObj->MinorRadius());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_Hyperbola to a PGeom_Hyperbola.
-//=======================================================================
-
-Handle(PGeom_Hyperbola)  MgtGeom::Translate(const Handle(Geom_Hyperbola)& TObj)
-{
-  return new PGeom_Hyperbola(TObj->Position(),
-                            TObj->MajorRadius(),
-                            TObj->MinorRadius());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_Line to a Geom_Line.
-//=======================================================================
-
-Handle(Geom_Line)  MgtGeom::Translate(const Handle(PGeom_Line)& PObj)
-{ return new Geom_Line(PObj->Position()); }
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_Line to a PGeom_Line.
-//=======================================================================
-
-Handle(PGeom_Line)  MgtGeom::Translate(const Handle(Geom_Line)& TObj)
-{ return new PGeom_Line(TObj->Lin().Position()); }
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_OffsetCurve to a Geom_OffsetCurve.
-//=======================================================================
-
-Handle(Geom_OffsetCurve)  MgtGeom::Translate
-       (const Handle(PGeom_OffsetCurve)& PObj)
-{
-  return new Geom_OffsetCurve(MgtGeom::Translate(PObj->BasisCurve()),
-                             PObj->OffsetValue(),
-                             PObj->OffsetDirection());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_OffsetCurve to a PGeom_OffsetCurve.
-//=======================================================================
-
-Handle(PGeom_OffsetCurve)  MgtGeom::Translate(const Handle(Geom_OffsetCurve)& TObj)
-{
-  return new PGeom_OffsetCurve(MgtGeom::Translate(TObj->BasisCurve()),
-                              TObj->Offset(),
-                              TObj->Direction());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_OffsetSurface to a Geom_OffsetSurface.
-//=======================================================================
-
-Handle(Geom_OffsetSurface)  MgtGeom::Translate
-       (const Handle(PGeom_OffsetSurface)& PObj)
-{
-  return new Geom_OffsetSurface(MgtGeom::Translate(PObj->BasisSurface()),
-                               PObj->OffsetValue());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_OffsetSurface to a PGeom_OffsetSurface.
-//=======================================================================
-
-Handle(PGeom_OffsetSurface)  MgtGeom::Translate
-       (const Handle(Geom_OffsetSurface)& TObj)
-{
-  return new PGeom_OffsetSurface(MgtGeom::Translate(TObj->BasisSurface()),
-                                TObj->Offset());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_Parabola to a Geom_Parabola.
-//=======================================================================
-
-Handle(Geom_Parabola)  MgtGeom::Translate
-       (const Handle(PGeom_Parabola)& PObj)
-{
-  return new Geom_Parabola(PObj->Position(),
-                          PObj->FocalLength());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_Parabola to a PGeom_Parabola.
-//=======================================================================
-
-Handle(PGeom_Parabola)  MgtGeom::Translate
-       (const Handle(Geom_Parabola)& TObj)
-{
-  return new PGeom_Parabola(TObj->Position(),
-                           TObj->Focal());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_Plane to a Geom_Plane.
-//=======================================================================
-
-Handle(Geom_Plane)  MgtGeom::Translate(const Handle(PGeom_Plane)& PObj)
-{  return new Geom_Plane(PObj->Position()); }
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_Plane to a PGeom_Plane.
-//=======================================================================
-
-Handle(PGeom_Plane)  MgtGeom::Translate(const Handle(Geom_Plane)& TObj)
-{
-  return new PGeom_Plane(TObj->Pln().Position());
-}
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_Point to a Geom_Point.
-//         : Optimized valid until new subtypes of GeomPoint exist
-//=======================================================================
-
-Handle(Geom_Point)  MgtGeom::Translate
-       (const Handle(PGeom_Point)& PObj)
-{
-/*
-  Handle(Geom_Point) GeomP;
-  Handle(Standard_Type) PointType = PObj->DynamicType();
-  
-  if (PointType == STANDARD_TYPE(PGeom_CartesianPoint)) {
-    Handle(PGeom_CartesianPoint)& PCPoint = 
-      (Handle(PGeom_CartesianPoint)&) PObj;
-    GeomP = MgtGeom::Translate(PCPoint);
-  }
-  return GeomP;
-*/
-
-  Handle(PGeom_CartesianPoint)& PCPoint = 
-    (Handle(PGeom_CartesianPoint)&) PObj;
-  return new Geom_CartesianPoint(PCPoint->Pnt());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_Point to a PGeom_Point.
-//         : Optimized valid until new subtypes of GeomPoint exist
-//=======================================================================
-
-Handle(PGeom_Point)  MgtGeom::Translate
-       (const Handle(Geom_Point)& TObj)
-{
-/*
-  Handle(PGeom_Point) PGeomP;
-  Handle(Standard_Type) PointType = TObj->DynamicType();
-
-  if (PointType == STANDARD_TYPE(Geom_CartesianPoint)) {
-    Handle(Geom_CartesianPoint)& TCPoint = 
-      (Handle(Geom_CartesianPoint)&) TObj;
-    PGeomP = MgtGeom::Translate(TCPoint);
-  }
-  return PGeomP;
-*/
-
-  Handle(Geom_CartesianPoint)& TCPoint = 
-    (Handle(Geom_CartesianPoint)&) TObj;
-
-  return new PGeom_CartesianPoint(TCPoint->Pnt());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_RectangularTrimmedSurface to a
-//           Geom_RectangularTrimmedSurface.
-//=======================================================================
-
-Handle(Geom_RectangularTrimmedSurface)  MgtGeom::Translate
-       (const Handle(PGeom_RectangularTrimmedSurface)& PObj)
-{
-  return new Geom_RectangularTrimmedSurface
-    (MgtGeom::Translate(PObj->BasisSurface()),
-     PObj->FirstU(),
-     PObj->LastU(),
-     PObj->FirstV(),
-     PObj->LastV(),
-     Standard_True, Standard_True); // En attendant leur suppression.
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_RectangularTrimmedSurface to a
-//           PGeom_RectangularTrimmedSurface.
-//=======================================================================
-
-Handle(PGeom_RectangularTrimmedSurface)  MgtGeom::Translate
-       (const Handle(Geom_RectangularTrimmedSurface)& TObj)
-{
-  Standard_Real FirstU, LastU, FirstV, LastV;
-  TObj->Bounds(FirstU, LastU, FirstV, LastV);
-
-  return new PGeom_RectangularTrimmedSurface
-    (MgtGeom::Translate(TObj->BasisSurface()),
-     FirstU, LastU,
-     FirstV, LastV);
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_SphericalSurface to a
-//           Geom_SphericalSurface.
-//=======================================================================
-
-Handle(Geom_SphericalSurface)  MgtGeom::Translate
-       (const Handle(PGeom_SphericalSurface)& PObj)
-{
-  return new Geom_SphericalSurface(PObj->Position(),
-                                  PObj->Radius());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_SphericalSurface to a
-//           PGeom_SphericalSurface.
-//=======================================================================
-
-Handle(PGeom_SphericalSurface)  MgtGeom::Translate
-       (const Handle(Geom_SphericalSurface)& TObj)
-{
-  return new PGeom_SphericalSurface(TObj->Position(),
-                                   TObj->Radius());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_Surface to a Geom_Surface.
-//=======================================================================
-
-Handle(Geom_Surface)  MgtGeom::Translate(const Handle(PGeom_Surface)& PObj)
-{
-  Handle(Standard_Type) SurfaceType = PObj->DynamicType();
-
-  if (SurfaceType == STANDARD_TYPE(PGeom_Plane)) {
-    Handle(PGeom_Plane)& TPlane = 
-      (Handle(PGeom_Plane)&) PObj;
-    return MgtGeom::Translate(TPlane);
-  }
-  else if (SurfaceType ==  STANDARD_TYPE(PGeom_CylindricalSurface)) {
-    Handle(PGeom_CylindricalSurface)& TCylindricalSurface = 
-      (Handle(PGeom_CylindricalSurface)&) PObj;
-    return MgtGeom::Translate(TCylindricalSurface);
-  }
-  else if (SurfaceType ==  STANDARD_TYPE(PGeom_ConicalSurface)) {
-    Handle(PGeom_ConicalSurface)& TConicalSurface = 
-      (Handle(PGeom_ConicalSurface)&) PObj;
-    return MgtGeom::Translate(TConicalSurface);
-  }
-  else if (SurfaceType ==  STANDARD_TYPE(PGeom_SphericalSurface)) {
-    Handle(PGeom_SphericalSurface)& TSphericalSurface = 
-      (Handle(PGeom_SphericalSurface)&) PObj;
-    return MgtGeom::Translate(TSphericalSurface);
-  }
-  else if (SurfaceType ==  STANDARD_TYPE(PGeom_ToroidalSurface)) {
-    Handle(PGeom_ToroidalSurface)& TToroidalSurface = 
-      (Handle(PGeom_ToroidalSurface)&) PObj;
-    return MgtGeom::Translate(TToroidalSurface);
-  }
-  else if (SurfaceType ==  STANDARD_TYPE(PGeom_SurfaceOfLinearExtrusion)) {
-    Handle(PGeom_SurfaceOfLinearExtrusion)& TSurfaceOfLinearExtrusion = 
-      (Handle(PGeom_SurfaceOfLinearExtrusion)&) PObj;
-    return MgtGeom::Translate(TSurfaceOfLinearExtrusion);
-  }
-  else if (SurfaceType ==  STANDARD_TYPE(PGeom_SurfaceOfRevolution)) {
-    Handle(PGeom_SurfaceOfRevolution)& TSurfaceOfRevolution = 
-      (Handle(PGeom_SurfaceOfRevolution)&) PObj;
-    return MgtGeom::Translate(TSurfaceOfRevolution);
-  }
-  else if (SurfaceType ==  STANDARD_TYPE(PGeom_BezierSurface)) {
-    Handle(PGeom_BezierSurface)& TBezierSurface = 
-      (Handle(PGeom_BezierSurface)&) PObj;
-    return MgtGeom::Translate(TBezierSurface);
-  }
-  else if (SurfaceType ==  STANDARD_TYPE(PGeom_BSplineSurface)) {
-    Handle(PGeom_BSplineSurface)& TBSplineSurface = 
-      (Handle(PGeom_BSplineSurface)&) PObj;
-    return MgtGeom::Translate(TBSplineSurface);
-  }
-  else if (SurfaceType ==  STANDARD_TYPE(PGeom_RectangularTrimmedSurface)) {
-    Handle(PGeom_RectangularTrimmedSurface)& TRectangularTrimmedSurface = 
-      (Handle(PGeom_RectangularTrimmedSurface)&) PObj;
-    return MgtGeom::Translate(TRectangularTrimmedSurface);
-  }
-  else if (SurfaceType ==  STANDARD_TYPE(PGeom_OffsetSurface)) {
-    Handle(PGeom_OffsetSurface)& TOffsetSurface = 
-      (Handle(PGeom_OffsetSurface)&) PObj;
-    return MgtGeom::Translate(TOffsetSurface);
-  }
-  else {
-#ifdef OCCT_DEBUG
-    cout << "MgtGeom : Unknown surface type ????"<<endl;
-#endif
-    Standard_NullObject::Raise("No mapping for the current Persistent Surface");
-
-  }
-// POP pour NT
-  Handle(Geom_Surface) dummy;
-  return dummy;
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_Surface to a PGeom_Surface.
-//=======================================================================
-
-Handle(PGeom_Surface)  MgtGeom::Translate(const Handle(Geom_Surface)& TObj)
-{
-  Handle(Standard_Type) SurfaceType = TObj->DynamicType();
-
-  if (SurfaceType == STANDARD_TYPE(Geom_Plane)) {
-    Handle(Geom_Plane)& PPlane = 
-      (Handle(Geom_Plane)&) TObj;
-    return MgtGeom::Translate(PPlane);
-  }
-  else if (SurfaceType ==  STANDARD_TYPE(Geom_CylindricalSurface)) {
-    Handle(Geom_CylindricalSurface)& PCylindricalSurface = 
-      (Handle(Geom_CylindricalSurface)&) TObj;
-    return MgtGeom::Translate(PCylindricalSurface);
-  }
-  else if (SurfaceType ==  STANDARD_TYPE(Geom_ConicalSurface)) {
-    Handle(Geom_ConicalSurface)& PConicalSurface = 
-      (Handle(Geom_ConicalSurface)&) TObj;
-    return MgtGeom::Translate(PConicalSurface);
-  }
-  else if (SurfaceType ==  STANDARD_TYPE(Geom_SphericalSurface)) {
-    Handle(Geom_SphericalSurface)& PSphericalSurface = 
-      (Handle(Geom_SphericalSurface)&) TObj;
-    return MgtGeom::Translate(PSphericalSurface);
-  }
-  else if (SurfaceType ==  STANDARD_TYPE(Geom_ToroidalSurface)) {
-    Handle(Geom_ToroidalSurface)& PToroidalSurface = 
-      (Handle(Geom_ToroidalSurface)&) TObj;
-    return MgtGeom::Translate(PToroidalSurface);
-  }
-  else if (SurfaceType ==  STANDARD_TYPE(Geom_SurfaceOfLinearExtrusion)) {
-    Handle(Geom_SurfaceOfLinearExtrusion)& PSurfaceOfLinearExtrusion = 
-      (Handle(Geom_SurfaceOfLinearExtrusion)&) TObj;
-    return MgtGeom::Translate(PSurfaceOfLinearExtrusion);
-  }
-  else if (SurfaceType ==  STANDARD_TYPE(Geom_SurfaceOfRevolution)) {
-    Handle(Geom_SurfaceOfRevolution)& PSurfaceOfRevolution = 
-      (Handle(Geom_SurfaceOfRevolution)&) TObj;
-    return MgtGeom::Translate(PSurfaceOfRevolution);
-  }
-  else if (SurfaceType ==  STANDARD_TYPE(Geom_BezierSurface)) {
-    Handle(Geom_BezierSurface)& PBezierSurface = 
-      (Handle(Geom_BezierSurface)&) TObj;
-    return MgtGeom::Translate(PBezierSurface);
-  }
-  else if (SurfaceType ==  STANDARD_TYPE(Geom_BSplineSurface)) {
-    Handle(Geom_BSplineSurface)& PBSplineSurface = 
-      (Handle(Geom_BSplineSurface)&) TObj;
-    return MgtGeom::Translate(PBSplineSurface);
-  }
-  else if (SurfaceType ==  STANDARD_TYPE(Geom_RectangularTrimmedSurface)) {
-    Handle(Geom_RectangularTrimmedSurface)& PRectangularTrimmedSurface = 
-      (Handle(Geom_RectangularTrimmedSurface)&) TObj;
-    return MgtGeom::Translate(PRectangularTrimmedSurface);
-  }
-  else if (SurfaceType ==  STANDARD_TYPE(Geom_OffsetSurface)) {
-    Handle(Geom_OffsetSurface)& POffsetSurface = 
-      (Handle(Geom_OffsetSurface)&) TObj;
-    return MgtGeom::Translate(POffsetSurface);
-  }
-  else {
-#ifdef OCCT_DEBUG
-    cout << "MgtGeom : Unknown surface type ????"<<endl;
-#endif
-    Standard_NullObject::Raise("No mapping for the current Transient Surface");
-  }
-// POP pour NT
-  Handle(PGeom_Surface) dummy;
-  return dummy;
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_SurfaceOfLinearExtrusion to a
-//           Geom_SurfaceOfLinearExtrusion.
-//=======================================================================
-
-Handle(Geom_SurfaceOfLinearExtrusion)  MgtGeom::Translate
-       (const Handle(PGeom_SurfaceOfLinearExtrusion)& PObj)
-{
-  return new Geom_SurfaceOfLinearExtrusion
-    (MgtGeom::Translate(PObj->BasisCurve()),
-     PObj->Direction());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_SurfaceOfLinearExtrusion to a
-//           PGeom_SurfaceOfLinearExtrusion.
-//=======================================================================
-
-Handle(PGeom_SurfaceOfLinearExtrusion)  MgtGeom::Translate
-       (const Handle(Geom_SurfaceOfLinearExtrusion)& TObj)
-{
-  return new PGeom_SurfaceOfLinearExtrusion
-    (MgtGeom::Translate(TObj->BasisCurve()),
-     TObj->Direction());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_SurfaceOfRevolution to a
-//           Geom_SurfaceOfRevolution.
-//=======================================================================
-
-Handle(Geom_SurfaceOfRevolution)  MgtGeom::Translate
-       (const Handle(PGeom_SurfaceOfRevolution)& PObj)
-{
-  gp_Ax1 axis(PObj->Location(), PObj->Direction());
-  return new Geom_SurfaceOfRevolution(MgtGeom::Translate(PObj->BasisCurve()),
-                                     axis);
-
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_SurfaceOfRevolution to a
-//           PGeom_SurfaceOfRevolution.
-//=======================================================================
-
-Handle(PGeom_SurfaceOfRevolution)  MgtGeom::Translate
-       (const Handle(Geom_SurfaceOfRevolution)& TObj)
-{
-  return new PGeom_SurfaceOfRevolution(MgtGeom::Translate(TObj->BasisCurve()),
-                                      TObj->Direction(),
-                                      TObj->Location());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_ToroidalSurface to a Geom_ToroidalSurface.
-//=======================================================================
-
-Handle(Geom_ToroidalSurface)  MgtGeom::Translate
-       (const Handle(PGeom_ToroidalSurface)& PObj)
-{
-  return new Geom_ToroidalSurface(PObj->Position(),
-                                 PObj->MajorRadius(),
-                                 PObj->MinorRadius());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_ToroidalSurface to a PGeom_ToroidalSurface.
-//=======================================================================
-
-Handle(PGeom_ToroidalSurface)  MgtGeom::Translate
-       (const Handle(Geom_ToroidalSurface)& TObj)
-{
-  return new PGeom_ToroidalSurface(TObj->Position(),
-                                  TObj->MajorRadius(),
-                                  TObj->MinorRadius());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_Transformation to a Geom_Transformation.
-//=======================================================================
-
-Handle(Geom_Transformation)  MgtGeom::Translate
-       (const Handle(PGeom_Transformation)& PObj)
-{ return new Geom_Transformation(PObj->Trsf()); }
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_Transformation to a PGeom_Transformation.
-//=======================================================================
-
-Handle(PGeom_Transformation)  MgtGeom::Translate
-       (const Handle(Geom_Transformation)& TObj)
-{ return new PGeom_Transformation(TObj->Trsf()); }
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_TrimmedCurve to a Geom_TrimmedCurve.
-//=======================================================================
-
-Handle(Geom_TrimmedCurve)  MgtGeom::Translate
-       (const Handle(PGeom_TrimmedCurve)& PObj)
-{
-  return new Geom_TrimmedCurve(MgtGeom::Translate(PObj->BasisCurve()),
-                              PObj->FirstU(),
-                              PObj->LastU(),
-                              Standard_True); // En attendant sa suppression.
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_TrimmedCurve to a PGeom_TrimmedCurve.
-//=======================================================================
-
-Handle(PGeom_TrimmedCurve)  MgtGeom::Translate
-       (const Handle(Geom_TrimmedCurve)& TObj)
-{
-  return new PGeom_TrimmedCurve(MgtGeom::Translate(TObj->BasisCurve()),
-                               TObj->FirstParameter(),
-                               TObj->LastParameter());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom_VectorWithMagnitude to a
-//           Geom_VectorWithMagnitude.
-//=======================================================================
-
-Handle(Geom_VectorWithMagnitude)  MgtGeom::Translate
-       (const Handle(PGeom_VectorWithMagnitude)& PObj)
-{ return new Geom_VectorWithMagnitude(PObj->Vec()); }
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom_VectorWithMagnitude to a
-//           PGeom_VectorWithMagnitude.
-//=======================================================================
-
-Handle(PGeom_VectorWithMagnitude)  MgtGeom::Translate
-       (const Handle(Geom_VectorWithMagnitude)& TObj)
-{ return new PGeom_VectorWithMagnitude(TObj->Vec()); }
diff --git a/src/MgtGeom2d/MgtGeom2d.cdl b/src/MgtGeom2d/MgtGeom2d.cdl
deleted file mode 100644 (file)
index 2bbf948..0000000
+++ /dev/null
@@ -1,312 +0,0 @@
--- Created on: 1993-04-07
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- Update:      Frederic MAUPAS
-
-
-
-package MgtGeom2d 
-
-       ---Purpose: This  package   provides   methods  to   translate
-       --          transient   objects   from  Geom2d   to persistent
-       --          objects from PGeom2d and vice-versa. No track from
-       --          previous translation is kept.
-       --          
--- Data is not shared:
--- -   between transient and persistent objects,
---   or
--- -   between two successive translations of the same object.
-
-uses
-
-    Geom2d, PGeom2d
-
-is
-
-
-    -- AxisPlacement
-
-
-    Translate(PObj: AxisPlacement from PGeom2d)
-       returns AxisPlacement from Geom2d;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom2d.
-       ---Level: Advanced 
-
-
-    Translate(TObj: AxisPlacement from Geom2d)
-       returns AxisPlacement from PGeom2d;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom2d.
-       ---Level: Advanced 
-
-
-
-
-    -- BSplineCurve
-
-
-    Translate(PObj: BSplineCurve from PGeom2d)
-       returns BSplineCurve from Geom2d;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom2d.
-       ---Level: Advanced 
-
-
-    Translate(TObj: BSplineCurve from Geom2d)
-       returns BSplineCurve from PGeom2d;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom2d.
-       ---Level: Advanced 
-
-
-
-
-    -- BezierCurve
-
-
-    Translate(PObj: BezierCurve from PGeom2d)
-       returns BezierCurve from Geom2d;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom2d.
-       ---Level: Advanced 
-
-
-    Translate(TObj: BezierCurve from Geom2d)
-       returns BezierCurve from PGeom2d;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom2d.
-       ---Level: Advanced 
-
-
-
-
-    -- CartesianPoint
-
-
-    Translate(PObj: CartesianPoint from PGeom2d)
-       returns CartesianPoint from Geom2d;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom2d.
-       ---Level: Advanced 
-
-
-    Translate(TObj: CartesianPoint from Geom2d)
-       returns CartesianPoint from PGeom2d;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom2d.
-       ---Level: Advanced 
-
-
-
-
-    -- Circle
-
-
-    Translate(PObj: Circle from PGeom2d)
-       returns Circle from Geom2d;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom2d.
-       ---Level: Advanced 
-
-
-    Translate(TObj: Circle from Geom2d)
-       returns Circle from PGeom2d;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom2d.
-       ---Level: Advanced 
-
-
-
-
-    -- Curve
-
-
-    Translate(PObj: Curve from PGeom2d)
-       returns Curve     from Geom2d
-       raises NullObject from Standard;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom2d.
-       --          Raises Null Object if PObj has no mapping
-       ---Level: Advanced 
-
-
-    Translate(TObj: Curve from Geom2d)
-       returns Curve     from PGeom2d
-       raises NullObject from Standard;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom2d.
-       --          Raises NullObject if TObj has no mapping
-       ---Level: Advanced 
-
-
-
-
-    -- Direction
-
-
-    Translate(PObj: Direction from PGeom2d)
-       returns Direction from Geom2d;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom2d.
-       ---Level: Advanced 
-
-
-    Translate(TObj: Direction from Geom2d)
-       returns Direction from PGeom2d;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom2d.
-       ---Level: Advanced 
-
-
-
-
-    -- Ellipse
-
-
-    Translate(PObj: Ellipse from PGeom2d)
-       returns Ellipse from Geom2d;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom2d.
-       ---Level: Advanced 
-
-
-    Translate(TObj: Ellipse from Geom2d)
-       returns Ellipse from PGeom2d;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom2d.
-       ---Level: Advanced 
-
-
-
-
-    -- Hyperbola
-
-
-    Translate(PObj: Hyperbola from PGeom2d)
-       returns Hyperbola from Geom2d;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom2d.
-       ---Level: Advanced 
-
-
-    Translate(TObj: Hyperbola from Geom2d)
-       returns Hyperbola from PGeom2d;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom2d.
-       ---Level: Advanced 
-
-
-
-
-    -- Line
-
-
-    Translate(PObj: Line from PGeom2d)
-       returns Line from Geom2d;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom2d.
-       ---Level: Advanced 
-
-
-    Translate(TObj: Line from Geom2d)
-       returns Line from PGeom2d;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom2d.
-       ---Level: Advanced 
-
-
-
-
-    -- OffsetCurve
-
-
-    Translate(PObj: OffsetCurve from PGeom2d)
-       returns OffsetCurve from Geom2d;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom2d.
-       ---Level: Advanced 
-
-
-    Translate(TObj: OffsetCurve from Geom2d)
-       returns OffsetCurve from PGeom2d;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom2d.
-       ---Level: Advanced 
-
-
-
-
-    -- Parabola
-
-
-    Translate(PObj: Parabola from PGeom2d)
-       returns Parabola from Geom2d;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom2d.
-       ---Level: Advanced 
-
-
-    Translate(TObj: Parabola from Geom2d)
-       returns Parabola from PGeom2d;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom2d.
-       ---Level: Advanced 
-
-
-    -- Point
-
-
-    Translate(PObj: Point from PGeom2d)
-       returns Point from Geom2d;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom2d.
-       ---Level: Advanced 
-
-
-    Translate(TObj: Point from Geom2d)
-       returns Point from PGeom2d;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom2d.
-       ---Level: Advanced 
-
-
-
-
-    -- Transformation
-
-
-    Translate(PObj: Transformation from PGeom2d)
-       returns Transformation from Geom2d;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom2d.
-       ---Level: Advanced 
-
-
-    Translate(TObj: Transformation from Geom2d)
-       returns Transformation from PGeom2d;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom2d.
-       ---Level: Advanced 
-
-
-
-
-    -- TrimmedCurve
-
-
-    Translate(PObj: TrimmedCurve from PGeom2d)
-       returns TrimmedCurve from Geom2d;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom2d.
-       ---Level: Advanced 
-
-
-    Translate(TObj: TrimmedCurve from Geom2d)
-       returns TrimmedCurve from PGeom2d;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom2d.
-       ---Level: Advanced 
-
-
-
-
-    -- VectorWithMagnitude
-
-
-    Translate(PObj: VectorWithMagnitude from PGeom2d)
-       returns VectorWithMagnitude from Geom2d;
-       ---Purpose: Translate <PObj> to its Transient equivalent from Geom2d.
-       ---Level: Advanced 
-
-
-    Translate(TObj: VectorWithMagnitude from Geom2d)
-       returns VectorWithMagnitude from PGeom2d;
-       ---Purpose: Translate <TObj> to its Persistent equivalent from PGeom2d.
-       ---Level: Advanced 
-
-
-end MgtGeom2d;
diff --git a/src/MgtGeom2d/MgtGeom2d.cxx b/src/MgtGeom2d/MgtGeom2d.cxx
deleted file mode 100644 (file)
index e91e08e..0000000
+++ /dev/null
@@ -1,812 +0,0 @@
-// Created on: 1993-04-14
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MgtGeom2d.ixx>
-
-#include <Standard_Type.hxx>
-
-#include <PColStd_HArray1OfInteger.hxx>
-#include <PColStd_HArray2OfInteger.hxx>
-#include <PColStd_HArray1OfReal.hxx>
-#include <PColStd_HArray2OfReal.hxx>
-
-#include <TColStd_Array1OfInteger.hxx>
-#include <TColStd_Array2OfInteger.hxx>
-#include <TColStd_HArray1OfInteger.hxx>
-
-#include <TColStd_Array1OfReal.hxx>
-#include <TColStd_Array2OfReal.hxx>
-#include <TColStd_HArray1OfReal.hxx>
-#include <TColStd_HArray2OfReal.hxx>
-
-#include <TColgp_Array1OfPnt2d.hxx>
-#include <TColgp_Array2OfPnt2d.hxx>
-#include <TColgp_HArray1OfPnt2d.hxx>
-#include <TColgp_HArray2OfPnt2d.hxx>
-
-#include <PColgp_HArray1OfPnt2d.hxx>
-#include <PColgp_HArray2OfPnt2d.hxx>
-
-#include <gp_Vec.hxx>
-#include <gp_Ax1.hxx>
-
-//modif wok++
-#include <gp_Circ2d.hxx>
-#include <Standard_NullObject.hxx>
-#include <gp_Lin2d.hxx>
-
-// *******************************************************************
-// The following methods are subroutines used to copy elements
-// from structures to other structures, as array1 or array2.
-// *******************************************************************
-
-// *******************************************************************
-// Structures from TCollection to structures from PCollection.
-// *******************************************************************
-
-//=======================================================================
-//function : ArrayCopy
-//purpose  : Copy the gp_Pnt2d
-//           from an Array1 from TColgp (TCollection)
-//           to an HArray1 from PColgp (PCollection)
-//=======================================================================
-
-static Handle(PColgp_HArray1OfPnt2d) ArrayCopy
-       (const TColgp_Array1OfPnt2d& TArray)
-{
-  Standard_Integer Lower = TArray.Lower();
-  Standard_Integer Upper = TArray.Upper();
-  Standard_Integer Index;
-  Handle(PColgp_HArray1OfPnt2d) PArray = 
-    new PColgp_HArray1OfPnt2d(Lower, Upper);
-  for (Index = Lower; Index <= Upper; Index++) {
-    PArray->SetValue(Index, TArray(Index));
-  }
-  return PArray;
-}
-
-//=======================================================================
-//function : ArrayCopy
-//purpose  : Copy the Standard_Real
-//           from an Array1 from TColStd (TCollection)
-//           to an SingleArray from PCollection
-//=======================================================================
-
-static Handle(PColStd_HArray1OfReal) ArrayCopy
-       (const TColStd_Array1OfReal& TArray)
-{
-  Standard_Integer Lower = TArray.Lower();
-  Standard_Integer Upper = TArray.Upper();
-  Standard_Integer Index;
-  Handle(PColStd_HArray1OfReal) PArray =
-    new PColStd_HArray1OfReal(Lower, Upper);
-  for (Index = Lower; Index <= Upper; Index++) {
-    PArray->SetValue(Index, TArray(Index));
-  }
-  return PArray;
-}
-
-//=======================================================================
-//function : ArrayCopy
-//purpose  : Copy the Standard_Integer
-//           from an Array1 from TColStd (TCollection)
-//           to an SingleArray from PCollection
-//=======================================================================
-
-static Handle(PColStd_HArray1OfInteger) ArrayCopy
-       (const TColStd_Array1OfInteger& TArray)
-{
-  Standard_Integer Lower = TArray.Lower();
-  Standard_Integer Upper = TArray.Upper();
-  Standard_Integer Index;
-  Handle(PColStd_HArray1OfInteger) PArray =
-    new PColStd_HArray1OfInteger(Lower, Upper);
-  for (Index = Lower; Index <= Upper; Index++) {
-    PArray->SetValue(Index, TArray(Index));
-  }
-  return PArray;
-}
-
-// *******************************************************************
-// Structures from PCollection to structures from TCollection.
-// *******************************************************************
-
-//=======================================================================
-//function : ArrayCopy
-//purpose  : Copy the gp_Pnt2d
-//           from an HArray1 from PColgp (PCollection)
-//           to an Array1 from TColgp (TCollection)
-//=======================================================================
-
-static void ArrayCopy
-  (const Handle(PColgp_HArray1OfPnt2d)& PArray,
-   TColgp_Array1OfPnt2d& TArray)
-{
-  Standard_Integer Lower = PArray->Lower();
-  Standard_Integer Upper = PArray->Upper();
-  Standard_Integer Index;
-  for (Index = Lower; Index <= Upper; Index++) {
-    TArray(Index) = PArray->Value(Index);
-  }
-}
-
-//=======================================================================
-//function : ArrayCopy
-//purpose  : Copy the Standard_Real
-//           from an SingleArray from PCollection
-//           to an Array1 from TColStd (TCollection)
-//=======================================================================
-
-static void ArrayCopy
-  (const Handle(PColStd_HArray1OfReal)& PArray,
-   TColStd_Array1OfReal& TArray)
-{
-  Standard_Integer Lower = PArray->Lower();
-  Standard_Integer Upper = PArray->Upper();
-  Standard_Integer Index;
-  for (Index = Lower; Index <= Upper; Index++) {
-    TArray(Index) = PArray->Value(Index);
-  }
-}
-
-//=======================================================================
-//function : ArrayCopy
-//purpose  : Copy the Standard_Integer
-//           from an SingleArray from PCollection
-//           to an Array1 from TColStd (TCollection)
-//=======================================================================
-
-static void ArrayCopy
-  (const Handle(PColStd_HArray1OfInteger)& PArray,
-   TColStd_Array1OfInteger& TArray)
-{
-  Standard_Integer Lower = PArray->Lower();
-  Standard_Integer Upper = PArray->Upper();
-  Standard_Integer Index;
-  for (Index = Lower; Index <= Upper; Index++) {
-    TArray(Index) = PArray->Value(Index);
-  }
-}
-
-
-
-// *******************************************************************
-// Here is the implementation of the package methods.
-// *******************************************************************
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom2d_AxisPlacement to a Geom2d_AxisPlacement.
-//=======================================================================
-
-Handle(Geom2d_AxisPlacement)  MgtGeom2d::Translate
-       (const Handle(PGeom2d_AxisPlacement)& PObj)
-{
-  return new Geom2d_AxisPlacement(PObj->Axis());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom2d_AxisPlacement to a PGeom2d_AxisPlacement.
-//=======================================================================
-
-Handle(PGeom2d_AxisPlacement)  MgtGeom2d::Translate
-       (const Handle(Geom2d_AxisPlacement)& TObj)
-{
-  return new PGeom2d_AxisPlacement(TObj->Ax2d());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom2d_BSplineCurve to a Geom2d_BSplineCurve.
-//=======================================================================
-
-Handle(Geom2d_BSplineCurve)  MgtGeom2d::Translate
-       (const Handle(PGeom2d_BSplineCurve)& PObj)
-{
-  Handle(Geom2d_BSplineCurve)  TBSplC;
-
-  Handle(PColgp_HArray1OfPnt2d) oldPoles = PObj->Poles();
-  TColgp_Array1OfPnt2d newPoles (oldPoles->Lower(),oldPoles->Upper());
-  ArrayCopy(oldPoles,newPoles);
-
-  Handle(PColStd_HArray1OfInteger) oldMult = PObj->Multiplicities();
-  TColStd_Array1OfInteger newMultiplicities(oldMult->Lower(),oldMult->Upper());
-  ArrayCopy(oldMult,newMultiplicities);
-
-  Handle(PColStd_HArray1OfReal) oldKnots = PObj->Knots();
-  TColStd_Array1OfReal newKnots (oldKnots->Lower(),oldKnots->Upper());
-  ArrayCopy(oldKnots,newKnots);
-
-  if (PObj->Rational()) {
-    Handle(PColStd_HArray1OfReal) oldWeights = PObj->Weights();
-    TColStd_Array1OfReal newWeights (oldWeights->Lower(),oldWeights->Upper());
-    ArrayCopy(oldWeights,newWeights);
-    // modified by NIZHNY-MKK  Fri Oct 17 11:20:32 2003.BEGIN
-    TBSplC = new Geom2d_BSplineCurve
-      //       (newPoles, newWeights, newKnots, newMultiplicities, PObj->SpineDegree());
-      (newPoles, newWeights, newKnots, newMultiplicities, 
-       PObj->SpineDegree(), PObj->Periodic());
-    // modified by NIZHNY-MKK  Fri Oct 17 11:20:38 2003.END
-  }
-  else {
-    // modified by NIZHNY-MKK  Thu Oct 16 18:19:22 2003.BEGIN
-    TBSplC = new Geom2d_BSplineCurve
-      //       (newPoles, newKnots, newMultiplicities, PObj->SpineDegree());
-      (newPoles, newKnots, newMultiplicities, 
-       PObj->SpineDegree(), PObj->Periodic());
-    // modified by NIZHNY-MKK  Fri Oct 17 11:20:52 2003.END
-  }
-  // modified by NIZHNY-MKK  Thu Oct 16 18:19:12 2003
-  //   if (PObj->Periodic()) TBSplC->SetPeriodic();
-  return TBSplC;
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom2d_BSplineCurve to a PGeom2d_BSplineCurve.
-//=======================================================================
-
-Handle(PGeom2d_BSplineCurve)  MgtGeom2d::Translate
-       (const Handle(Geom2d_BSplineCurve)& TObj)
-{
-  Standard_Integer Upper;
-
-  Upper = TObj->NbPoles();
-
-  TColgp_Array1OfPnt2d oldPoles(1, Upper);
-  TObj->Poles(oldPoles);
-  Handle(PColgp_HArray1OfPnt2d) newPPoles = ArrayCopy(oldPoles);
-  
-  Handle(PColStd_HArray1OfReal) newPWeights;
-  if (TObj->IsRational()) {
-    TColStd_Array1OfReal oldWeights(1, Upper);
-    TObj->Weights(oldWeights);
-    newPWeights = ArrayCopy(oldWeights);
-  }
-  
-  Upper = TObj->NbKnots();
-
-  TColStd_Array1OfReal oldKnots(1, Upper);
-  TObj->Knots(oldKnots);
-  Handle(PColStd_HArray1OfReal) newPKnots = ArrayCopy(oldKnots);
-
-  TColStd_Array1OfInteger oldMultiplicities(1, Upper);
-  TObj->Multiplicities(oldMultiplicities);
-  Handle(PColStd_HArray1OfInteger) newPMultiplicities =
-    ArrayCopy(oldMultiplicities);
-
-  
-  Handle(PGeom2d_BSplineCurve) PBSplC = 
-    new PGeom2d_BSplineCurve(TObj->IsRational(),
-                            TObj->IsPeriodic(),
-                            TObj->Degree(),
-                            newPPoles,
-                            newPWeights,
-                            newPKnots,
-                            newPMultiplicities);
-  return PBSplC;
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom2d_BezierCurve to a Geom2d_BezierCurve.
-//=======================================================================
-
-Handle(Geom2d_BezierCurve)  MgtGeom2d::Translate
-       (const Handle(PGeom2d_BezierCurve)& PObj)
-{
-  Handle(Geom2d_BezierCurve) TBzC;
-
-  Handle(PColgp_HArray1OfPnt2d) oldPoles = PObj->Poles();
-  TColgp_Array1OfPnt2d newPoles (oldPoles->Lower(),oldPoles->Upper());
-  ArrayCopy(oldPoles,newPoles);
-
-  if (PObj->Rational()) {
-    Handle(PColStd_HArray1OfReal) oldWeights = PObj->Weights();
-    TColStd_Array1OfReal newWeights (oldWeights->Lower(),oldWeights->Upper());
-    ArrayCopy(oldWeights,newWeights);
-    TBzC = new Geom2d_BezierCurve(newPoles, newWeights);
-  }
-  else {
-    TBzC = new Geom2d_BezierCurve(newPoles);
-  }
-  return TBzC;
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom2d_BezierCurve to a PGeom2d_BezierCurve.
-//=======================================================================
-
-Handle(PGeom2d_BezierCurve)  MgtGeom2d::Translate
-       (const Handle(Geom2d_BezierCurve)& TObj)
-{
-  Standard_Integer Upper;
-
-  Upper = TObj->NbPoles();
-
-  TColgp_Array1OfPnt2d oldPoles(1, Upper);
-  TObj->Poles(oldPoles);
-  Handle(PColgp_HArray1OfPnt2d) newPPoles = ArrayCopy(oldPoles);
-  
-  Handle(PColStd_HArray1OfReal) newPWeights;
-  if (TObj->IsRational()) {
-    TColStd_Array1OfReal oldWeights(1, Upper);
-    TObj->Weights(oldWeights);
-    newPWeights = ArrayCopy(oldWeights);
-  }
-  
-  Handle(PGeom2d_BezierCurve) PBzC = new PGeom2d_BezierCurve
-    (newPPoles,
-     newPWeights,
-     TObj->IsRational());
-  return PBzC;
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom2d_CartesianPoint to a Geom2d_CartesianPoint.
-//=======================================================================
-
-Handle(Geom2d_CartesianPoint)  MgtGeom2d::Translate
-       (const Handle(PGeom2d_CartesianPoint)& PObj)
-{ return new Geom2d_CartesianPoint(PObj->Pnt()); }
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom2d_CartesianPoint to a PGeom2d_CartesianPoint.
-//=======================================================================
-
-Handle(PGeom2d_CartesianPoint)  MgtGeom2d::Translate
-       (const Handle(Geom2d_CartesianPoint)& TObj)
-{ return new PGeom2d_CartesianPoint(TObj->Pnt2d()); }
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom2d_Circle to a Geom2d_Circle.
-//=======================================================================
-
-Handle(Geom2d_Circle)  MgtGeom2d::Translate(const Handle(PGeom2d_Circle)& PObj)
-{
-  return new Geom2d_Circle(PObj->Position(),
-                          PObj->Radius());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom2d_Circle to a PGeom2d_Circle.
-//=======================================================================
-
-Handle(PGeom2d_Circle)  MgtGeom2d::Translate(const Handle(Geom2d_Circle)& TObj)
-{
-  return new PGeom2d_Circle(TObj->Circ2d().Position(),TObj->Circ2d().Radius());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom2d_Curve to a Geom2d_Curve.
-//=======================================================================
-
-Handle(Geom2d_Curve)  MgtGeom2d::Translate(const Handle(PGeom2d_Curve)& PObj)
-{
-  Handle(Standard_Type) CurveType = PObj->DynamicType();
-
-  if (CurveType == STANDARD_TYPE(PGeom2d_Line)) {
-    Handle(PGeom2d_Line)& TLine = 
-      (Handle(PGeom2d_Line)&) PObj;
-    return MgtGeom2d::Translate(TLine);
-  }
-  else if (CurveType ==  STANDARD_TYPE(PGeom2d_Circle)) {
-    Handle(PGeom2d_Circle)& TCircle = 
-      (Handle(PGeom2d_Circle)&) PObj;
-    return MgtGeom2d::Translate(TCircle);
-  }
-  else if (CurveType ==  STANDARD_TYPE(PGeom2d_Ellipse)) {
-    Handle(PGeom2d_Ellipse)& TEllipse = 
-      (Handle(PGeom2d_Ellipse)&) PObj;
-    return MgtGeom2d::Translate(TEllipse);
-  }
-  else if (CurveType ==  STANDARD_TYPE(PGeom2d_Hyperbola)) {
-    Handle(PGeom2d_Hyperbola)& THyperbola = 
-      (Handle(PGeom2d_Hyperbola)&) PObj;
-    return MgtGeom2d::Translate(THyperbola);
-  }
-  else if (CurveType ==  STANDARD_TYPE(PGeom2d_Parabola)) {
-    Handle(PGeom2d_Parabola)& TParabola = 
-      (Handle(PGeom2d_Parabola)&) PObj;
-    return MgtGeom2d::Translate(TParabola);
-  }
-  else if (CurveType ==  STANDARD_TYPE(PGeom2d_BezierCurve)) {
-    Handle(PGeom2d_BezierCurve)& TBezierCurve = 
-      (Handle(PGeom2d_BezierCurve)&) PObj;
-    return MgtGeom2d::Translate(TBezierCurve);
-  }
-  else if (CurveType ==  STANDARD_TYPE(PGeom2d_BSplineCurve)) {
-    Handle(PGeom2d_BSplineCurve)& TBSplineCurve = 
-      (Handle(PGeom2d_BSplineCurve)&) PObj;
-    return MgtGeom2d::Translate(TBSplineCurve);
-  }
-  else if (CurveType ==  STANDARD_TYPE(PGeom2d_TrimmedCurve)) {
-    Handle(PGeom2d_TrimmedCurve)& TTrimmedCurve = 
-      (Handle(PGeom2d_TrimmedCurve)&) PObj;
-    return MgtGeom2d::Translate(TTrimmedCurve);
-  }
-  else if (CurveType ==  STANDARD_TYPE(PGeom2d_OffsetCurve)) {
-    Handle(PGeom2d_OffsetCurve)& TOffsetCurve = 
-      (Handle(PGeom2d_OffsetCurve)&) PObj;
-    return MgtGeom2d::Translate(TOffsetCurve);
-  }
-  else {
-#ifdef OCCT_DEBUG
-    cout << "Unknown Geom2d curve type ???? " << endl;
-#endif
-    Standard_NullObject::Raise("No mapping for the current Persistent Curve");
-  }
-// POP pour NT
-  Handle(Geom2d_Curve) dummy;
-  return dummy;
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom2d_Curve to a PGeom2d_Curve.
-//=======================================================================
-
-Handle(PGeom2d_Curve)  MgtGeom2d::Translate(const Handle(Geom2d_Curve)& TObj)
-{
-  Handle(Standard_Type) CurveType = TObj->DynamicType();
-
-  if (CurveType == STANDARD_TYPE(Geom2d_Line)) {
-    Handle(Geom2d_Line)& PLine = 
-      (Handle(Geom2d_Line)&) TObj;
-    return MgtGeom2d::Translate(PLine);
-  }
-  else if (CurveType ==  STANDARD_TYPE(Geom2d_Circle)) {
-    Handle(Geom2d_Circle)& PCircle = 
-      (Handle(Geom2d_Circle)&) TObj;
-    return MgtGeom2d::Translate(PCircle);
-  }
-  else if (CurveType ==  STANDARD_TYPE(Geom2d_Ellipse)) {
-    Handle(Geom2d_Ellipse)& PEllipse = 
-      (Handle(Geom2d_Ellipse)&) TObj;
-    return MgtGeom2d::Translate(PEllipse);
-  }
-  else if (CurveType ==  STANDARD_TYPE(Geom2d_Hyperbola)) {
-    Handle(Geom2d_Hyperbola)& PHyperbola = 
-      (Handle(Geom2d_Hyperbola)&) TObj;
-    return MgtGeom2d::Translate(PHyperbola);
-  }
-  else if (CurveType ==  STANDARD_TYPE(Geom2d_Parabola)) {
-    Handle(Geom2d_Parabola)& PParabola = 
-      (Handle(Geom2d_Parabola)&) TObj;
-    return MgtGeom2d::Translate(PParabola);
-  }
-  else if (CurveType ==  STANDARD_TYPE(Geom2d_BezierCurve)) {
-    Handle(Geom2d_BezierCurve)& PBezierCurve = 
-      (Handle(Geom2d_BezierCurve)&) TObj;
-    return MgtGeom2d::Translate(PBezierCurve);
-  }
-  else if (CurveType ==  STANDARD_TYPE(Geom2d_BSplineCurve)) {
-    Handle(Geom2d_BSplineCurve)& PBSplineCurve = 
-      (Handle(Geom2d_BSplineCurve)&) TObj;
-    return MgtGeom2d::Translate(PBSplineCurve);
-  }
-  else if (CurveType ==  STANDARD_TYPE(Geom2d_TrimmedCurve)) {
-    Handle(Geom2d_TrimmedCurve)& PTrimmedCurve = 
-      (Handle(Geom2d_TrimmedCurve)&) TObj;
-    return MgtGeom2d::Translate(PTrimmedCurve);
-  }
-  else if (CurveType ==  STANDARD_TYPE(Geom2d_OffsetCurve)) {
-    Handle(Geom2d_OffsetCurve)& POffsetCurve = 
-      (Handle(Geom2d_OffsetCurve)&) TObj;
-    return MgtGeom2d::Translate(POffsetCurve);
-  }
-  else {
-#ifdef OCCT_DEBUG
-    cout << "Unknown Geom2d curve type ???? " << endl;
-#endif
-    Standard_NullObject::Raise("No mapping for the current Transient Curve");
-  }
-// POP pour NT
-  Handle(PGeom2d_Curve) dummy;
-  return dummy;
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom2d_Direction to a Geom2d_Direction.
-//=======================================================================
-
-Handle(Geom2d_Direction)  MgtGeom2d::Translate
-       (const Handle(PGeom2d_Direction)& PObj)
-{
-  gp_Vec2d vec = PObj->Vec();
-  return new Geom2d_Direction(vec.X(), vec.Y()); 
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom2d_Direction to a PGeom2d_Direction.
-//=======================================================================
-
-Handle(PGeom2d_Direction)  MgtGeom2d::Translate
-(const Handle(Geom2d_Direction)& TObj)
-{ return new PGeom2d_Direction(TObj->Vec2d()); }
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom2d_Ellipse to a Geom2d_Ellipse.
-//=======================================================================
-
-Handle(Geom2d_Ellipse)  MgtGeom2d::Translate
-(const Handle(PGeom2d_Ellipse)& PObj)
-{
-  return new Geom2d_Ellipse(PObj->Position(),
-                           PObj->MajorRadius(),
-                           PObj->MinorRadius());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom2d_Ellipse to a PGeom2d_Ellipse.
-//=======================================================================
-
-Handle(PGeom2d_Ellipse)  MgtGeom2d::Translate
-(const Handle(Geom2d_Ellipse)& TObj)
-{
-  return new PGeom2d_Ellipse(TObj->Position(),
-                            TObj->MajorRadius(),
-                            TObj->MinorRadius());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom2d_Hyperbola to a Geom2d_Hyperbola.
-//=======================================================================
-
-Handle(Geom2d_Hyperbola)  MgtGeom2d::Translate
-(const Handle(PGeom2d_Hyperbola)& PObj)
-{
-  return new Geom2d_Hyperbola(PObj->Position(),
-                             PObj->MajorRadius(),
-                             PObj->MinorRadius());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom2d_Hyperbola to a PGeom2d_Hyperbola.
-//=======================================================================
-
-Handle(PGeom2d_Hyperbola)  MgtGeom2d::Translate
-(const Handle(Geom2d_Hyperbola)& TObj)
-{
-  return new PGeom2d_Hyperbola(TObj->Position(),
-                              TObj->MajorRadius(),
-                              TObj->MinorRadius());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom2d_Line to a Geom2d_Line.
-//=======================================================================
-
-Handle(Geom2d_Line)  MgtGeom2d::Translate(const Handle(PGeom2d_Line)& PObj)
-{ return new Geom2d_Line(PObj->Position()); }
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom2d_Line to a PGeom2d_Line.
-//=======================================================================
-
-Handle(PGeom2d_Line)  MgtGeom2d::Translate(const Handle(Geom2d_Line)& TObj)
-{
-  return new PGeom2d_Line(TObj->Lin2d().Position());
-}
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom2d_OffsetCurve to a Geom2d_OffsetCurve.
-//=======================================================================
-
-Handle(Geom2d_OffsetCurve)  MgtGeom2d::Translate
-(const Handle(PGeom2d_OffsetCurve)& PObj)
-{
-  return new Geom2d_OffsetCurve(MgtGeom2d::Translate(PObj->BasisCurve()),
-                               PObj->OffsetValue());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom2d_OffsetCurve to a PGeom2d_OffsetCurve.
-//=======================================================================
-
-Handle(PGeom2d_OffsetCurve)  MgtGeom2d::Translate
-(const Handle(Geom2d_OffsetCurve)& TObj)
-{
-  return new PGeom2d_OffsetCurve(MgtGeom2d::Translate(TObj->BasisCurve()),
-                                TObj->Offset());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom2d_Parabola to a Geom2d_Parabola.
-//=======================================================================
-
-Handle(Geom2d_Parabola)  MgtGeom2d::Translate
-(const Handle(PGeom2d_Parabola)& PObj)
-{
-  return new Geom2d_Parabola(PObj->Position(),
-                            PObj->FocalLength());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom2d_Parabola to a PGeom2d_Parabola.
-//=======================================================================
-
-Handle(PGeom2d_Parabola)  MgtGeom2d::Translate
-(const Handle(Geom2d_Parabola)& TObj)
-{
-  return new PGeom2d_Parabola(TObj->Position(),
-                             TObj->Focal());
-}
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom2d_Point to a Geom2d_Point.
-//           Optimized valid until new subtypes of Geom2dPoint exist
-//=======================================================================
-
-Handle(Geom2d_Point)  MgtGeom2d::Translate
-(const Handle(PGeom2d_Point)& PObj)
-{
-/*
-  Handle(Geom2d_Point) Geom2dP;
-  Handle(Standard_Type) PointType = PObj->DynamicType();
-
-  if (PointType == STANDARD_TYPE(PGeom2d_CartesianPoint)) {
-    Handle(PGeom2d_CartesianPoint) PCPoint = 
-      Handle(PGeom2d_CartesianPoint)::DownCast(PObj);
-    Geom2dP = MgtGeom2d::Translate(PCPoint);
-  }
-  return Geom2dP;
-*/
-  Handle(PGeom2d_CartesianPoint)& PCPoint = 
-    (Handle(PGeom2d_CartesianPoint)&) PObj;
-  return new Geom2d_CartesianPoint(PCPoint->Pnt());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom2d_Point to a PGeom2d_Point.
-//           Optimized valid until new subtypes of Geom2dPoint exist
-//=======================================================================
-
-Handle(PGeom2d_Point)  MgtGeom2d::Translate
-(const Handle(Geom2d_Point)& TObj)
-{
-/*
-  Handle(PGeom2d_Point) PGeom2dP;
-  Handle(Standard_Type) PointType = TObj->DynamicType();
-
-  if (PointType == STANDARD_TYPE(Geom2d_CartesianPoint)) {
-    Handle(Geom2d_CartesianPoint) TCPoint = 
-      Handle(Geom2d_CartesianPoint)::DownCast(TObj);
-    PGeom2dP = MgtGeom2d::Translate(TCPoint);
-  }
-  return PGeom2dP;
-*/
-  Handle(Geom2d_CartesianPoint)& TCPoint = 
-    (Handle(Geom2d_CartesianPoint)&) TObj;
-  return new PGeom2d_CartesianPoint(TCPoint->Pnt2d());
-}
-
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom2d_Transformation to a Geom2d_Transformation.
-//=======================================================================
-
-Handle(Geom2d_Transformation)  MgtGeom2d::Translate
-(const Handle(PGeom2d_Transformation)& PObj)
-{ return new Geom2d_Transformation(PObj->Trsf()); }
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom2d_Transformation to a PGeom2d_Transformation.
-//=======================================================================
-
-Handle(PGeom2d_Transformation)  MgtGeom2d::Translate
-(const Handle(Geom2d_Transformation)& TObj)
-{ return new PGeom2d_Transformation(TObj->Trsf2d()); }
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom2d_TrimmedCurve to a Geom2d_TrimmedCurve.
-//=======================================================================
-
-Handle(Geom2d_TrimmedCurve)  MgtGeom2d::Translate
-(const Handle(PGeom2d_TrimmedCurve)& PObj)
-{
-  return new Geom2d_TrimmedCurve(MgtGeom2d::Translate(PObj->BasisCurve()),
-                                PObj->FirstU(),
-                                PObj->LastU(),
-                                Standard_True); // Warning : will desappear
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom2d_TrimmedCurve to a PGeom2d_TrimmedCurve.
-//=======================================================================
-
-Handle(PGeom2d_TrimmedCurve)  MgtGeom2d::Translate
-(const Handle(Geom2d_TrimmedCurve)& TObj)
-{
-  return new PGeom2d_TrimmedCurve(MgtGeom2d::Translate(TObj->BasisCurve()),
-                                 TObj->FirstParameter(),
-                                 TObj->LastParameter());
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a PGeom2d_VectorWithMagnitude to a
-//           Geom2d_VectorWithMagnitude.
-//=======================================================================
-
-Handle(Geom2d_VectorWithMagnitude)  MgtGeom2d::Translate
-(const Handle(PGeom2d_VectorWithMagnitude)& PObj)
-{ return new Geom2d_VectorWithMagnitude(PObj->Vec()); }
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translates a Geom2d_VectorWithMagnitude to a
-//           PGeom2d_VectorWithMagnitude.
-//=======================================================================
-
-Handle(PGeom2d_VectorWithMagnitude)  MgtGeom2d::Translate
-(const Handle(Geom2d_VectorWithMagnitude)& TObj)
-{ return new PGeom2d_VectorWithMagnitude(TObj->Vec2d()); }
diff --git a/src/MgtPoly/MgtPoly.cdl b/src/MgtPoly/MgtPoly.cdl
deleted file mode 100644 (file)
index c69661a..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
--- Created on: 1995-10-24
--- Created by: Mister rmi
--- Copyright (c) 1995-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package MgtPoly
-
-       ---Purpose: This  package   provides   methods  to   translate
-       --          transient objects from Poly to  persistent objects
-       --          from PPoly and vice-versa.
-       --          As far as objects can be shared (just as Geometry),
-       --          a map is given as translate argument.
-
-
-uses Poly,
-     PPoly,
-     PTColStd
-     
-is
-
-    -- Triangle (Storable)
-
-    Translate(POjb: Triangle from PPoly)
-       returns Triangle from Poly;
-       ---Purpose: translates Transient -> Persistent
-    
-    Translate(TObj: Triangle from Poly)
-       returns Triangle from PPoly;
-       ---Purpose: translates Persistent -> Transient
-
-    -- Triangulation
-
-    Translate(PObj : Triangulation from PPoly;
-             aMap : in out PersistentTransientMap from PTColStd)
-       returns Triangulation from Poly;
-       ---Purpose: translates Persistent -> Transient
-
-    Translate(TObj : Triangulation from Poly;
-             aMap : in out TransientPersistentMap from PTColStd)
-       returns Triangulation from PPoly;
-       ---Purpose: translates Transient -> Persistent
-    
-    -- Polygon3D
-
-    Translate(PObj : Polygon3D from PPoly;
-             aMap : in out PersistentTransientMap from PTColStd)
-       returns Polygon3D from Poly;
-       ---Purpose: translates Persistent -> Transient
-
-    Translate(TObj : Polygon3D from Poly;
-             aMap : in out TransientPersistentMap from PTColStd)
-       returns Polygon3D from PPoly;
-       ---Purpose: translates Transient -> Persistent
-
-    -- Polygon2D
-
-
-    Translate(PObj : Polygon2D from PPoly;
-             aMap : in out PersistentTransientMap from PTColStd)
-       returns Polygon2D from Poly;
-       ---Purpose: translates Persistent -> Transient
-
-    Translate(TObj : Polygon2D from Poly;
-             aMap : in out TransientPersistentMap from PTColStd)
-       returns Polygon2D from PPoly;
-       ---Purpose: translates Transient -> Persistent
-
-    -- PolygonOnTriangulation
-
-    Translate(PObj : PolygonOnTriangulation from PPoly;
-             aMap : in out PersistentTransientMap from PTColStd)
-       returns PolygonOnTriangulation from Poly;
-       ---Purpose: translates Persistent -> Transient
-
-    Translate(TObj : PolygonOnTriangulation from Poly;
-             aMap : in out TransientPersistentMap from PTColStd)
-       returns PolygonOnTriangulation from PPoly;
-       ---Purpose: translates Transient -> Persistent
-
-end MgtPoly;
diff --git a/src/MgtPoly/MgtPoly.cxx b/src/MgtPoly/MgtPoly.cxx
deleted file mode 100644 (file)
index bd860ff..0000000
+++ /dev/null
@@ -1,569 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MgtPoly.ixx>
-
-#include <TColgp_Array1OfPnt.hxx>
-#include <PColgp_HArray1OfPnt.hxx>
-#include <TColgp_Array1OfPnt2d.hxx>
-#include <PColgp_HArray1OfPnt2d.hxx>
-
-#include <TColStd_Array1OfReal.hxx>
-#include <TColStd_HArray1OfReal.hxx>
-#include <PColStd_HArray1OfReal.hxx>
-#include <TColStd_Array1OfInteger.hxx>
-#include <PColStd_HArray1OfInteger.hxx>
-
-#include <Poly_Array1OfTriangle.hxx>
-#include <PPoly_HArray1OfTriangle.hxx>
-
-//=======================================================================
-//function : ArrayCopy
-//purpose  : Copy the gp_Pnt
-//           from an Array1 from TColgp (TCollection)
-//           to an HArray1 from PColgp (PCollection)
-//=======================================================================
-
-static Handle(PColgp_HArray1OfPnt) ArrayCopy
-       (const TColgp_Array1OfPnt& TArray)
-{
-  Standard_Integer Lower = TArray.Lower();
-  Standard_Integer Upper = TArray.Upper();
-  Standard_Integer Index;
-  Handle(PColgp_HArray1OfPnt) PArray = new PColgp_HArray1OfPnt(Lower, Upper);
-  for (Index = Lower; Index <= Upper; Index++) {
-    PArray->SetValue(Index, TArray(Index));
-  }
-  return PArray;
-}
-
-//=======================================================================
-//function : ArrayCopy
-//purpose  : Copy the gp_Pnt
-//           from an HArray1 from PColgp (PCollection)
-//           to an Array1 from TColgp (TCollection)
-//=======================================================================
-
-static void ArrayCopy(const Handle(PColgp_HArray1OfPnt)& PArray,
-                     TColgp_Array1OfPnt& TArray)
-{
-  Standard_Integer Lower = PArray->Lower();
-  Standard_Integer Upper = PArray->Upper();
-  Standard_Integer Index;
-  for (Index = Lower; Index <= Upper; Index++) {
-    TArray(Index) = PArray->Value(Index);
-  }
-}
-
-//=======================================================================
-//function : ArrayCopy
-//purpose  : Copy the gp_Pnt2d
-//           from an Array1 from TColgp (TCollection)
-//           to an Array1 from PColgp (PCollection)
-//=======================================================================
-
-static Handle(PColgp_HArray1OfPnt2d) ArrayCopy
-       (const TColgp_Array1OfPnt2d& TArray)
-{
-  Standard_Integer Lower = TArray.Lower();
-  Standard_Integer Upper = TArray.Upper();
-  Standard_Integer Index;
-  Handle(PColgp_HArray1OfPnt2d) PArray = 
-    new PColgp_HArray1OfPnt2d(Lower, Upper);
-  for (Index = Lower; Index <= Upper; Index++) {
-    PArray->SetValue(Index, TArray(Index));
-  }
-  return PArray;
-}
-
-//=======================================================================
-//function : ArrayCopy
-//purpose  : Copy the gp_Pnt2d
-//           from an HArray1 from PColgp (PCollection)
-//           to an Array1 from TColgp (TCollection)
-//=======================================================================
-
-static void ArrayCopy
-  (const Handle(PColgp_HArray1OfPnt2d)& PArray,
-   TColgp_Array1OfPnt2d& TArray)
-{
-  Standard_Integer Lower = PArray->Lower();
-  Standard_Integer Upper = PArray->Upper();
-  Standard_Integer Index;
-  for (Index = Lower; Index <= Upper; Index++) {
-    TArray(Index) = PArray->Value(Index);
-  }
-}
-
-
-//=======================================================================
-//function : ArrayCopy
-//purpose  : Copy the Triangle
-//           from an Array1 from Poly (TCollection)
-//           to an HArray1 from PPoly (PCollection)
-//=======================================================================
-
-static Handle(PPoly_HArray1OfTriangle) ArrayCopy
-(const Poly_Array1OfTriangle& TArray)
-{
-  Standard_Integer Lower = TArray.Lower();
-  Standard_Integer Upper = TArray.Upper();
-  Standard_Integer Index;
-  Handle(PPoly_HArray1OfTriangle) PArray = 
-    new PPoly_HArray1OfTriangle(Lower, Upper);
-  for (Index = Lower; Index <= Upper; Index++) {
-    PPoly_Triangle aPTriangle = MgtPoly::Translate(TArray(Index));
-    PArray->SetValue(Index, aPTriangle);
-  }
-  return PArray;
-}
-
-//=======================================================================
-//function : ArrayCopy
-//purpose  : Copy the Triangle
-//           from an HArray1 from PPoly (PCollection)
-//           to an Array1 from Poly (TCollection)
-//=======================================================================
-
-static void ArrayCopy
-  (const Handle(PPoly_HArray1OfTriangle)& PArray,
-   Poly_Array1OfTriangle& TArray)
-{
-  Standard_Integer Lower = PArray->Lower();
-  Standard_Integer Upper = PArray->Upper();
-  Standard_Integer Index;
-  for (Index = Lower; Index <= Upper; Index++) {
-    Poly_Triangle aTTriangle = MgtPoly::Translate(PArray->Value(Index));
-    TArray(Index) = aTTriangle;
-  }
-}
-
-//=======================================================================
-//function : ArrayCopy
-//purpose  : Copy PColStd_HArray1OfInteger to TColStd_Array1OfInteger
-//=======================================================================
-
-static void ArrayCopy(const Handle(PColStd_HArray1OfInteger)& PArray,
-                     TColStd_Array1OfInteger&                TArray)
-{
-  Standard_Integer Lower = PArray->Lower();
-  Standard_Integer Upper = PArray->Upper();
-  Standard_Integer Index;
-  for (Index = Lower; Index <= Upper; Index++) {
-    TArray(Index) = PArray->Value(Index);
-  }
-}
-
-//=======================================================================
-//function : ArrayCopy
-//purpose  : Copy TColStd_Array1OfInteger to PColStd_HArray1OfInteger
-//=======================================================================
-
-static Handle(PColStd_HArray1OfInteger) 
-ArrayCopy(const TColStd_Array1OfInteger& TArray)
-{
-  Standard_Integer Lower = TArray.Lower();
-  Standard_Integer Upper = TArray.Upper();
-  Standard_Integer Index;
-  Handle(PColStd_HArray1OfInteger) PArray = 
-    new PColStd_HArray1OfInteger(Lower, Upper);
-  for (Index = Lower; Index <= Upper; Index++) {
-    PArray->SetValue(Index, TArray.Value(Index));
-  }
-  return PArray;
-}
-
-//=======================================================================
-//function : ArrayCopy
-//purpose  : Copy PColStd_HArray1OfReal to TColStd_Array1OfReal
-//=======================================================================
-
-static void ArrayCopy(const Handle(PColStd_HArray1OfReal)& PArray,
-                     TColStd_Array1OfReal&                TArray)
-{
-  Standard_Integer Lower = PArray->Lower();
-  Standard_Integer Upper = PArray->Upper();
-  Standard_Integer Index;
-  for (Index = Lower; Index <= Upper; Index++) {
-    TArray(Index) = PArray->Value(Index);
-  }
-}
-
-//=======================================================================
-//function : ArrayCopy
-//purpose  : Copy TColStd_Array1OfReal to PColStd_HArray1OfReal
-//=======================================================================
-
-static Handle(PColStd_HArray1OfReal) 
-ArrayCopy(const TColStd_Array1OfReal& TArray)
-{
-  Standard_Integer Lower = TArray.Lower();
-  Standard_Integer Upper = TArray.Upper();
-  Standard_Integer Index;
-  Handle(PColStd_HArray1OfReal) PArray = 
-    new PColStd_HArray1OfReal(Lower, Upper);
-  for (Index = Lower; Index <= Upper; Index++) {
-    PArray->SetValue(Index, TArray.Value(Index));
-  }
-  return PArray;
-}
-
-
-//=======================================================================
-//function : 
-//purpose  : Persistent -> Transient
-//=======================================================================
-
-Poly_Triangle MgtPoly::Translate(const PPoly_Triangle& PObj)
-{
-  Standard_Integer n1, n2, n3;
-  PObj.Get(n1,n2,n3);
-  Poly_Triangle TT(n1, n2, n3);
-  return TT;
-}
-
-//=======================================================================
-//function : 
-//purpose  : Transient -> Persistent
-//=======================================================================
-
-PPoly_Triangle MgtPoly::Translate(const Poly_Triangle& TObj)
-{
-  Standard_Integer n1, n2, n3;
-  TObj.Get(n1,n2,n3);
-  PPoly_Triangle PT(n1, n2, n3);
-  return PT;
-}
-
-//=======================================================================
-//function : Translate Triangulation
-//purpose  : Persistent -> Transient
-//=======================================================================
-
-Handle(Poly_Triangulation) MgtPoly::Translate
-(const Handle(PPoly_Triangulation)& PObj, 
- PTColStd_PersistentTransientMap& aMap)
-{
-  Handle(Poly_Triangulation) TT;
-  if (!PObj.IsNull()) {
-    if (aMap.IsBound(PObj)) {
-
-      Handle(Standard_Transient) aTrans = aMap.Find(PObj);
-      TT = (Handle(Poly_Triangulation)&) aTrans;
-    }
-    else {              // translate and bind
-      
-      // myNodes
-      Handle(PColgp_HArray1OfPnt) PNodes = PObj->Nodes();
-      TColgp_Array1OfPnt TNodes (PNodes->Lower(), PNodes->Upper());
-      ArrayCopy(PNodes, TNodes);
-
-      // myTriangles
-      Handle(PPoly_HArray1OfTriangle) PTriangles = PObj->Triangles();
-      Poly_Array1OfTriangle TTriangles (PTriangles->Lower(), 
-                                       PTriangles->Upper());
-      ArrayCopy(PTriangles, TTriangles);
-      
-      // myUVNodes
-      if (PObj->HasUVNodes()) {
-       Handle(PColgp_HArray1OfPnt2d) PUVNodes = PObj->UVNodes();
-       TColgp_Array1OfPnt2d TUVNodes(PUVNodes->Lower(), PUVNodes->Upper());
-       ArrayCopy(PUVNodes, TUVNodes);
-       // Constructor
-       TT = new Poly_Triangulation(TNodes, TUVNodes, TTriangles);
-      }
-      else {
-       // Constructor
-       TT = new Poly_Triangulation(TNodes, TTriangles);
-      }
-      // Set deflection
-      TT->Deflection(PObj->Deflection());
-      aMap.Bind(PObj, TT);
-    }
-  }
-  return TT;
-}
-
-//=======================================================================
-//function : Translate Triangulation
-//purpose  : Transient -> Persistent
-//=======================================================================
-
-Handle(PPoly_Triangulation) MgtPoly::Translate
-(const Handle(Poly_Triangulation)& TObj, 
- PTColStd_TransientPersistentMap& aMap)
-{
-  Handle(PPoly_Triangulation) PT;
-  if (!TObj.IsNull()) {
-    if (aMap.IsBound(TObj)) {
-      Handle(Standard_Persistent) aPers = aMap.Find(TObj);
-      PT = (Handle(PPoly_Triangulation)&) aPers;
-    }
-    else {
-      // myNodes
-      const TColgp_Array1OfPnt& TNodes = TObj->Nodes();
-      Handle(PColgp_HArray1OfPnt) PNodes = 
-       new PColgp_HArray1OfPnt(TNodes.Lower(), 
-                               TNodes.Upper());
-      PNodes = ArrayCopy(TNodes);
-      
-      // myTriangles
-      const Poly_Array1OfTriangle& TTriangle = TObj->Triangles();
-      Handle(PPoly_HArray1OfTriangle) PTriangle =
-       new PPoly_HArray1OfTriangle(TTriangle.Lower(), 
-                                   TTriangle.Upper());
-      PTriangle = ArrayCopy(TTriangle);
-      
-      // myUVNodes
-      Handle(PColgp_HArray1OfPnt2d) PUVNodes;
-      if (TObj->HasUVNodes()) {
-       const TColgp_Array1OfPnt2d& TUVNodes = TObj->UVNodes();
-       PUVNodes = 
-         new PColgp_HArray1OfPnt2d(TUVNodes.Lower(), 
-                                   TUVNodes.Upper());
-       PUVNodes = ArrayCopy(TUVNodes);
-      }
-      // Constructor + Deflection
-      PT = new PPoly_Triangulation(TObj->Deflection(),
-                                  PNodes, PUVNodes, PTriangle);
-      aMap.Bind(TObj, PT);
-    }
-  }
-  return PT;
-}
-
-//=======================================================================
-//function : Translate Polygon3D
-//purpose  : Persistent -> Transient
-//=======================================================================
-
-Handle(Poly_Polygon3D) MgtPoly::Translate
-(const Handle(PPoly_Polygon3D)& PObj, 
- PTColStd_PersistentTransientMap& aMap)
-{
-  Handle(Poly_Polygon3D) TP;
-  if (!PObj.IsNull()) {
-    if (aMap.IsBound(PObj)) {
-      Handle(Standard_Transient) aTrans = aMap.Find(PObj);
-      TP = (Handle(Poly_Polygon3D)&) aTrans;
-    }
-    else {
-
-      // myNodes
-      Handle(PColgp_HArray1OfPnt) PNodes = PObj->Nodes();
-      TColgp_Array1OfPnt TNodes(PNodes->Lower(), PNodes->Upper());
-      ArrayCopy(PNodes, TNodes);
-      
-      // myParameters
-
-      Handle(PColStd_HArray1OfReal) PParam = PObj->Parameters();
-      TColStd_Array1OfReal TParam(PParam->Lower(), PParam->Upper());
-      ArrayCopy(PParam, TParam);
-
-      // Constructor + Deflection
-      TP = new Poly_Polygon3D(TNodes, TParam);
-      TP->Deflection(PObj->Deflection());
-      aMap.Bind(PObj, TP);
-    }
-  }
-  return TP;
-}
-
-//=======================================================================
-//function : Translate Polygon3D
-//purpose  : Transient -> Persistent
-//=======================================================================
-
-Handle(PPoly_Polygon3D) MgtPoly::Translate
-(const Handle(Poly_Polygon3D)& TObj, 
- PTColStd_TransientPersistentMap& aMap)
-{
-  Handle(PPoly_Polygon3D) PT;
-  if (!TObj.IsNull()) {
-    if (aMap.IsBound(TObj)) {
-      Handle(Standard_Persistent) aPers = aMap.Find(TObj);
-      PT = (Handle(PPoly_Polygon3D)&) aPers;
-    }
-    else {
-      // myNodes
-      const TColgp_Array1OfPnt& TNodes = TObj->Nodes();
-      Handle(PColgp_HArray1OfPnt) PNodes = 
-       new PColgp_HArray1OfPnt(TNodes.Lower(), 
-                               TNodes.Upper());
-      PNodes = ArrayCopy(TNodes);
-
-      // myParameters
-      const TColStd_Array1OfReal& TParam = TObj->Parameters();
-      Handle(PColStd_HArray1OfReal) PParam = 
-       new PColStd_HArray1OfReal(TParam.Lower(), TParam.Upper());
-      PParam = ArrayCopy(TParam);
-
-      // constructor + Deflection
-      PT = new PPoly_Polygon3D(PNodes, PParam, TObj->Deflection());
-      aMap.Bind(TObj, PT);
-    }
-  }
-  return PT;  
-}
-
-//=======================================================================
-//function : Translate Polygon2D
-//purpose  : Persistent -> Transient
-//=======================================================================
-
-Handle(Poly_Polygon2D) MgtPoly::Translate
-(const Handle(PPoly_Polygon2D)& PObj, 
- PTColStd_PersistentTransientMap& aMap)
-{
-  Handle(Poly_Polygon2D) TP;
-  if (!PObj.IsNull()) {
-    if (aMap.IsBound(PObj)) {
-      Handle(Standard_Transient) aTrans = aMap.Find(PObj);
-      TP = (Handle(Poly_Polygon2D)&) aTrans;
-    }
-    else {
-      // myNodes
-      Handle(PColgp_HArray1OfPnt2d) PUVNodes = PObj->Nodes();
-      TColgp_Array1OfPnt2d TUVNodes(PUVNodes->Lower(), PUVNodes->Upper());
-      ArrayCopy(PUVNodes, TUVNodes);
-
-      // Constructor + Deflection
-      TP = new Poly_Polygon2D(TUVNodes);
-      TP->Deflection(PObj->Deflection());
-      aMap.Bind(PObj, TP);
-    }
-  }
-  return TP;
-}
-
-//=======================================================================
-//function : Translate Polygon2D
-//purpose  : Transient -> Persistent
-//=======================================================================
-
-Handle(PPoly_Polygon2D) MgtPoly::Translate
-(const Handle(Poly_Polygon2D)& TObj, 
- PTColStd_TransientPersistentMap& aMap)
-{
-  Handle(PPoly_Polygon2D) PT;
-  if (!TObj.IsNull()) {
-    if (aMap.IsBound(TObj)) {
-      Handle(Standard_Persistent) aPers = aMap.Find(TObj);
-      PT = (Handle(PPoly_Polygon2D)&) aPers;
-    }
-    else {
-      // myNodes
-      const TColgp_Array1OfPnt2d& TUVNodes = TObj->Nodes();
-      Handle(PColgp_HArray1OfPnt2d) PUVNodes = 
-       new PColgp_HArray1OfPnt2d(TUVNodes.Lower(), 
-                                 TUVNodes.Upper());
-      PUVNodes = ArrayCopy(TUVNodes);
-      
-      // constructor + Deflection
-      PT = new PPoly_Polygon2D(PUVNodes, TObj->Deflection());
-      aMap.Bind(TObj, PT);
-    }
-  }
-  return PT;
-}
-
-//=======================================================================
-//function : Translate PolygonOnTriangulation
-//purpose  : Persistent -> Transient
-//=======================================================================
-
-Handle(Poly_PolygonOnTriangulation) MgtPoly::Translate
-(const Handle(PPoly_PolygonOnTriangulation)& PObj, 
- PTColStd_PersistentTransientMap& aMap)
-{
-  Handle(Poly_PolygonOnTriangulation) TP;
-  if (!PObj.IsNull()) {
-    if (aMap.IsBound(PObj)) {
-      Handle(Standard_Transient) aTrans = aMap.Find(PObj);
-      TP = (Handle(Poly_PolygonOnTriangulation)&) aTrans;
-    }
-    else {
-
-      // myNodes
-      Handle(PColStd_HArray1OfInteger) PNodes = PObj->Nodes();
-      TColStd_Array1OfInteger TNodes(PNodes->Lower(), PNodes->Upper());
-      ArrayCopy(PNodes, TNodes);
-
-      // myParameters
-
-      if (PObj->HasParameters()) {
-       Handle(PColStd_HArray1OfReal) PParam = PObj->Parameters();
-       TColStd_Array1OfReal TParam(PParam->Lower(), PParam->Upper());
-       ArrayCopy(PParam, TParam);
-       
-       // Constructor + Deflection
-       TP = new Poly_PolygonOnTriangulation(TNodes, TParam);
-       TP->Deflection(PObj->Deflection());
-       aMap.Bind(PObj, TP);
-      }
-      else {
-       TP = new Poly_PolygonOnTriangulation(TNodes);
-       TP->Deflection(PObj->Deflection());
-       aMap.Bind(PObj, TP);
-      }
-    }
-  }
-  return TP;
-}
-
-//=======================================================================
-//function : Translate PolygonOnTriangulation
-//purpose  : Transient -> Persistent
-//=======================================================================
-
-Handle(PPoly_PolygonOnTriangulation) MgtPoly::Translate
-(const Handle(Poly_PolygonOnTriangulation)& TObj, 
- PTColStd_TransientPersistentMap& aMap)
-{
-  Handle(PPoly_PolygonOnTriangulation) PT;
-  if (!TObj.IsNull()) {
-    if (aMap.IsBound(TObj)) {
-      Handle(Standard_Persistent) aPers = aMap.Find(TObj);
-      PT = (Handle(PPoly_PolygonOnTriangulation)&) aPers;
-    }
-    else {
-      // myNodes
-      const TColStd_Array1OfInteger& TNodes = TObj->Nodes();
-      Handle(PColStd_HArray1OfInteger) PNodes = 
-       new PColStd_HArray1OfInteger(TNodes.Lower(), 
-                                    TNodes.Upper());
-      PNodes = ArrayCopy(TNodes);
-      
-      // myParameters
-
-      if (TObj->HasParameters()) {
-       const TColStd_Array1OfReal& TParam = TObj->Parameters()->Array1();
-       Handle(PColStd_HArray1OfReal) PParam =
-         new PColStd_HArray1OfReal(TParam.Lower(), TParam.Upper());
-       PParam = ArrayCopy(TParam);
-       // constructor + Deflection
-       PT = new PPoly_PolygonOnTriangulation(PNodes, TObj->Deflection(),
-                                             PParam);
-       aMap.Bind(TObj, PT);
-       
-      }
-      else {
-       // constructor + Deflection
-       PT = new PPoly_PolygonOnTriangulation(PNodes, TObj->Deflection());
-       aMap.Bind(TObj, PT);
-      }
-    }
-  }
-  return PT;
-}
diff --git a/src/MgtTopLoc/MgtTopLoc.cdl b/src/MgtTopLoc/MgtTopLoc.cdl
deleted file mode 100644 (file)
index a0da892..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
--- Created on: 1993-03-03
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- Update:      Frederic MAUPAS
-
-
-package MgtTopLoc 
-
-       ---Purpose: The package  MgtTopLoc provides methods   to store
-       --          and retrieve local    coordinate    systems.  i.e.
-       --          translationg them from Persistent to Transient and
-       --          vice-versa. 
-       --          
-       --          * Persistent local coordinate systems are provided
-       --          by the package PTopLoc.
-       --          
-       --          * Transient local  coordinate systems are provided
-       --          by the package TopLoc.
-       --          
-       --          This package keeps  track of previous translations
-       --          to preserve the incremental  feature of coordinate
-       --          systems. i.e.  once a  data  has  been translated,
-       --          translating it back will give the original data.
-       --          
-       --          Two kinds of objects are managed :
-       --          
-       --          *   Datum3D :  A  Datum3D   is an elementary local
-       --          coordinate system handled by reference.
-       --          
-       --          *  Location   : A Location   is  a  complex  local
-       --          coordinate system   made   by  linking  elementary
-       --          coordinate systems  (Datum3D).  If  a Location  is
-       --          translated twice only the local coordinate systems
-       --          will be the same.  This  is not a problem  as  the
-       --          comparison of Locations is based on the comparison
-       --          of local coordinate systems.
-
-uses
-
-    TopLoc,
-    PTopLoc,
-    PTColStd
-    
-is
-    Translate(D : Datum3D from TopLoc;
-             M : in out TransientPersistentMap from PTColStd) 
-    returns Datum3D from PTopLoc;
-       ---Purpose: Translate a  transient   Datum3D to  a  persistant
-       --          Datum3D.
-       ---Level: Internal 
-       
-    Translate(D : Datum3D from PTopLoc;
-             M : in out PersistentTransientMap from PTColStd)
-    returns Datum3D from TopLoc;
-       ---Purpose: Translate a  persistant   Datum3D to  a  transient
-       --          Datum3D.
-       ---Level: Internal 
-       
-       
-    Translate(L : Location from TopLoc;
-             M : in out TransientPersistentMap from PTColStd)  
-    returns Location from PTopLoc;
-       ---Purpose: Translate a non  storable  Location to  a storable
-       --          Location.
-       ---Level: Internal 
-       
-    Translate(L : Location from PTopLoc;
-             M : in out PersistentTransientMap from PTColStd)   
-    returns Location from TopLoc;
-       ---Purpose: Translate a storable  Location  to a non  storable
-       --          Location.
-       ---Level: Internal      
-    
-
-end MgtTopLoc;
diff --git a/src/MgtTopLoc/MgtTopLoc.cxx b/src/MgtTopLoc/MgtTopLoc.cxx
deleted file mode 100644 (file)
index e5cdfc4..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-// Update:      Frederic Maupas
-
-#include <MgtTopLoc.ixx>
-
-// Used for testing DownCast time
-#define MgtTopLocSpeedDownCast
-
-#ifdef chrono
-#include<OSD_Timer.hxx>
-extern OSD_Timer LocTimer;
-#endif
-
-//=======================================================================
-//function : Translate
-//purpose  : ... from Transient to Persistent
-//=======================================================================
-
-Handle(PTopLoc_Datum3D)  
-     MgtTopLoc::Translate(const Handle(TopLoc_Datum3D)& D,
-                         PTColStd_TransientPersistentMap& aMap)
-{
-
-  Handle(PTopLoc_Datum3D) PD;
-  if (aMap.IsBound(D)) {
-#ifdef MgtTopLocSpeedDownCast
-    Handle(Standard_Persistent) aPers = aMap.Find(D);
-    PD = (Handle(PTopLoc_Datum3D)&) aPers;
-#else
-    PD = Handle(PTopLoc_Datum3D)::DownCast(aMap.Find(D));
-#endif
-  }
-  else {
-    PD = new PTopLoc_Datum3D(D->Transformation());
-    aMap.Bind(D,PD);
-  }
-
-  return PD;
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : ... from Persistent to Transient
-//=======================================================================
-
-Handle(TopLoc_Datum3D)  
-     MgtTopLoc::Translate(const Handle(PTopLoc_Datum3D)& D,
-                         PTColStd_PersistentTransientMap& aMap)
-{
-  Handle(TopLoc_Datum3D) TD;
-  if (aMap.IsBound(D)) {
-#ifdef MgtTopLocSpeedDownCast
-    Handle(Standard_Transient) aTrans = aMap.Find(D);
-    TD = (Handle(TopLoc_Datum3D)&) aTrans;
-#else
-    TD = Handle(TopLoc_Datum3D)::DownCast(aMap.Find(D));
-#endif
-  }
-  else {
-    TD = new TopLoc_Datum3D(D->Transformation());
-    aMap.Bind(D, TD);
-  }
-
-  return TD;
-}
-
-//=======================================================================
-//function : Translate
-//purpose  : .. from Transient to Persistent
-//=======================================================================
-
-PTopLoc_Location  
-MgtTopLoc::Translate(const TopLoc_Location& L,
-                    PTColStd_TransientPersistentMap& aMap)
-{
-  PTopLoc_Location result;
-  if (!L.IsIdentity()) {
-    result = PTopLoc_Location(Translate(L.FirstDatum(), aMap),
-                             L.FirstPower(),
-                             Translate(L.NextLocation(), aMap));
-  }
-
-  return result;
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : .. from Persistent to Transient
-//=======================================================================
-
-TopLoc_Location 
-MgtTopLoc::Translate(const PTopLoc_Location& L,
-                    PTColStd_PersistentTransientMap& aMap)
-{
-#ifdef chrono
-  LocTimer.Start();
-#endif
-
-  TopLoc_Location result;
-  if (!L.IsIdentity()) {
-    result = Translate(L.Next(),aMap) * 
-      TopLoc_Location(Translate(L.Datum3D(),aMap)).Powered(L.Power());
-  }
-#ifdef chrono
-  LocTimer.Stop();
-#endif
-
-  return result;
-}
-
-
diff --git a/src/MgtTopoDS/MgtTopoDS.cdl b/src/MgtTopoDS/MgtTopoDS.cdl
deleted file mode 100644 (file)
index 0e417f4..0000000
+++ /dev/null
@@ -1,110 +0,0 @@
--- Created on: 1993-03-09
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- Update:      Frederic MAUPAS
-
-
-
-package MgtTopoDS 
-
-       ---Purpose: The  package  MgtTopoDS  provides methods to store
-       --          and  retrieve Topological  Data  Structure objects
-       --          from the Database.
-       --          
-       --          The  objects are  translated  between  a transient
-       --          topology and a persitent topology.
-       --          
-       --          *   The TopoDS  package   describes  the transient
-       --          topology.
-       --          
-       --          *  The  PTopoDS  package describes  the persistent
-       --          topology.
-       --          
-       --          As the topological data structure may be completed
-       --          by  inheritance  the  MgtTopoDS package provides a
-       --          mechanism to support  the translation of inherited
-       --          data structure. This mechanism is supported by the
-       --          TranslateTool class.
-       --          
-       --          An error is  raised if  the TranslateTool does not
-       --          match with  the DataStructure  to  translate. This
-       --          check is done with the type of the Model.
-       --          
-       --          This   package   does   not  provides  methods  to
-       --          translate directly Shapes from TopoDS  and PTopoDS
-       --          because the   data structures  are  deferred.   It
-       --          provides methods to support  the implementation of
-       --          Translate methods in the inherited DataStructures.
-       --          
-       --          In  an   inherited data  structure  the  Translate
-       --          method must :
-       --          
-       --          * Create a TranslateTool of the correct type.
-       --          
-       --          * Call the Translate method of MgtTopoDS with this
-       --          Tool.
-
-uses
-
-    TopoDS,
-    TopTools,
-    PTopoDS,
-    PTColStd,
-    MMgt
-
-is
-
-    deferred class TranslateTool;
-
-    deferred class TranslateTool1;
-
-
-    ---Category: Old translate methods.
-    --           ======================
-
-    Translate(S : Shape                         from TopoDS;  
-             T : TranslateTool                 from MgtTopoDS;
-             M : in out TransientPersistentMap from PTColStd)
-       returns HShape from PTopoDS
-       raises TypeMismatch from Standard;
-       ---Purpose: Translates a Transient Shape onto a Persistent Shape
-
-    Translate(S  : HShape                        from PTopoDS; 
-             T  : TranslateTool                 from MgtTopoDS;
-             M  : in out PersistentTransientMap from PTColStd;
-             Sh : in out Shape from TopoDS) 
-       raises TypeMismatch from Standard;
-       ---Purpose: Translates a Persistent Shape onto a Transient Shape
-
-
-    ---Category: New translate methods.
-    --           ======================
-
-    Translate1(aShape : Shape from TopoDS;  
-              T : TranslateTool1 from MgtTopoDS;
-              M : in out TransientPersistentMap from PTColStd;
-              aPShape : in out Shape1 from PTopoDS)
-       raises TypeMismatch from Standard;
-       ---Purpose: Translates a Transient Shape onto a Persistent Shape
-
-    Translate1(aPShape : Shape1 from PTopoDS; 
-              T : TranslateTool1 from MgtTopoDS;
-              M : in out PersistentTransientMap from PTColStd;
-              aShape : in out Shape from TopoDS) 
-       raises TypeMismatch from Standard;
-       ---Purpose: Translates a Persistent Shape onto a Transient Shape
-
-end MgtTopoDS;
diff --git a/src/MgtTopoDS/MgtTopoDS.cxx b/src/MgtTopoDS/MgtTopoDS.cxx
deleted file mode 100644 (file)
index 7622061..0000000
+++ /dev/null
@@ -1,507 +0,0 @@
-// Created on: 1993-03-09
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MgtTopoDS.ixx>
-#include <MgtTopLoc.hxx>
-
-#include <PTopoDS_HShape.hxx>
-#include <PTopoDS_TShape.hxx>
-#include <PTopoDS_Shape1.hxx>
-#include <PTopoDS_TShape1.hxx>
-
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_TShape.hxx>
-#include <TopoDS_Iterator.hxx>
-
-#include <PTopoDS_HArray1OfHShape.hxx>
-#include <PTopoDS_HArray1OfShape1.hxx>
-
-#include <BRepTools.hxx>
-
-#include <PTColStd_TransientPersistentMap.hxx>
-#include <PTColStd_PersistentTransientMap.hxx>
-
-#ifdef chrono
-#include <OSD_Timer.hxx>
-extern OSD_Timer VertexTimer;
-extern OSD_Timer EdgeTimer;
-extern OSD_Timer WireTimer;
-extern OSD_Timer FaceTimer;
-extern OSD_Timer ShellTimer;
-extern OSD_Timer SolidTimer;
-extern OSD_Timer StoreEdgeTimer;
-#define TIMER_START(THETIMER) THETIMER.Start()
-#define TIMER_STOP(THETIMER) THETIMER.Stop()
-#else
-#define TIMER_START(THETIMER)
-#define TIMER_STOP(THETIMER)
-#endif
-
-//=======================================================================
-//function : Translate
-//purpose  : Translation Transient Shape -> Persistent Shape
-//           Used for upwards compatibility.
-//=======================================================================
-
-Handle(PTopoDS_HShape) MgtTopoDS::Translate
-(const TopoDS_Shape& aShape,
- const Handle(MgtTopoDS_TranslateTool)& TrTool,
- PTColStd_TransientPersistentMap &aMap)
-{
-  if (aShape.IsNull()) 
-    return new PTopoDS_HShape();
-
-  // Translate the top-level shape
-  Handle(PTopoDS_HShape) pHShape = new PTopoDS_HShape();
-
-  Standard_Boolean translated = aMap.IsBound(aShape.TShape());
-  if (translated) {
-    // get the translated TShape
-    
-    Handle(Standard_Persistent) aPers = aMap.Find(aShape.TShape());
-    Handle(PTopoDS_TShape)& pTS = (Handle(PTopoDS_TShape)&) aPers;
-
-    pHShape->TShape(pTS);
-  }
-  else {
-
-    // create if not translated and update
-    
-    switch (aShape.ShapeType()) {
-      
-    case TopAbs_VERTEX :
-      TrTool->MakeVertex(pHShape);
-      TrTool->UpdateVertex(aShape,pHShape, aMap);
-      break;
-      
-    case TopAbs_EDGE :
-#ifdef chrono
-      StoreEdgeTimer.Start();
-#endif
-      TrTool->MakeEdge(pHShape);
-      TrTool->UpdateEdge(aShape,pHShape, aMap);
-#ifdef chrono
-      StoreEdgeTimer.Stop();
-#endif
-      break;
-      
-    case TopAbs_WIRE :
-      TrTool->MakeWire(pHShape);
-      //TrTool.UpdateWire(aShape,pHShape);
-      TrTool->UpdateShape(aShape,pHShape);
-      break;
-      
-    case TopAbs_FACE :
-      TrTool->MakeFace(pHShape);
-      TrTool->UpdateFace(aShape,pHShape, aMap);
-      break;
-    
-    case TopAbs_SHELL :
-      TrTool->MakeShell(pHShape);
-      //TrTool.UpdateShell(aShape,pHShape);
-      TrTool->UpdateShape(aShape,pHShape);
-      break;
-    
-    case TopAbs_SOLID :
-      TrTool->MakeSolid(pHShape);
-      //TrTool.UpdateSolid(aShape,pHShape);
-      TrTool->UpdateShape(aShape,pHShape);
-      break;
-      
-    case TopAbs_COMPSOLID :
-      TrTool->MakeCompSolid(pHShape);
-      //TrTool.UpdateCompSolid(aShape,pHShape);
-      TrTool->UpdateShape(aShape,pHShape);
-      break;
-      
-  case TopAbs_COMPOUND :
-      TrTool->MakeCompound(pHShape);
-      //TrTool.UpdateCompound(aShape,pHShape);
-      TrTool->UpdateShape(aShape,pHShape);
-      break;
-    default:
-      break;
-    }
-  
-    // bind and copy the sub-elements
-
-    aMap.Bind(aShape.TShape(),pHShape->TShape());
-    // copy current Shape
-    TopoDS_Shape S = aShape;
-    S.Orientation(TopAbs_FORWARD);
-    S.Location(TopLoc_Location());
-    // count the number of <sub-shape> of the Shape's TShape
-    Standard_Integer nbElem = 0;
-    TopoDS_Iterator ItCount(S);
-    while (ItCount.More()){
-      nbElem ++;
-      ItCount.Next();
-    }
-
-    if (nbElem != 0) {
-      Handle(PTopoDS_HArray1OfHShape) myArray = 
-       new PTopoDS_HArray1OfHShape(1,nbElem);
-      // translate <sub-shapes>
-      TopoDS_Iterator ItTrans(S);
-      Standard_Integer i = 1;
-      while(ItTrans.More()) {
-       myArray->SetValue(i, MgtTopoDS::Translate(ItTrans.Value(),
-                                                 TrTool, aMap));
-       i++;
-       ItTrans.Next();
-      }
-      pHShape->TShape()->Shapes(myArray);
-    }
-    
-  }
-  
-  pHShape->Orientation(aShape.Orientation());
-  pHShape->Location(MgtTopLoc::Translate(aShape.Location(), aMap));
-  return pHShape;
-}
-
-
-//=======================================================================
-//function : Translate
-//purpose  : Translation Persistent HShape -> Transient Shape
-//           Used for upwards compatibility.
-//=======================================================================
-
-void MgtTopoDS::Translate
-(const Handle(PTopoDS_HShape)&             aHShape, 
- const Handle(MgtTopoDS_TranslateTool)&    TrTool,
- PTColStd_PersistentTransientMap&          aMap,
- TopoDS_Shape&                             theShape)
-{
-  if (aHShape->TShape().IsNull()) return;
-
-  // Translate the top-level shape
-#ifndef OCCT_DEBUG // Linux porting - to avoid warnings
-  if ( aMap.IsBound(aHShape->TShape()) ) {
-#else
-  Standard_Boolean translated = aMap.IsBound(aHShape->TShape());
-  if (translated) {
-#endif
-    // get the translated TShape
-    Handle(TopoDS_TShape) TS = 
-      *((Handle(TopoDS_TShape)*) &aMap.Find(aHShape->TShape()));
-    theShape.TShape(TS);
-  }
-
-  else {
-    // create if not translated and update
-    switch (aHShape->TShape()->ShapeType()) {
-      
-    case TopAbs_VERTEX :
-      TIMER_START(VertexTimer);
-      TrTool->MakeVertex(theShape);
-      TrTool->UpdateVertex(aHShape,theShape, aMap);
-      TIMER_STOP(VertexTimer);
-      break;
-      
-    case TopAbs_EDGE :
-      TIMER_START(EdgeTimer);
-      TrTool->MakeEdge(theShape);
-      TrTool->UpdateEdge(aHShape,theShape, aMap);
-      TIMER_STOP(EdgeTimer);
-      break;
-      
-    case TopAbs_WIRE :
-      TIMER_START(WireTimer);
-      TrTool->MakeWire(theShape);
-      //TrTool.UpdateWire(aHShape,theShape);
-      TrTool->UpdateShape(aHShape,theShape);
-      TIMER_STOP(WireTimer);
-      break;
-      
-    case TopAbs_FACE :
-      TIMER_START(FaceTimer);
-      TrTool->MakeFace(theShape);
-      TrTool->UpdateFace(aHShape,theShape, aMap);
-      TIMER_STOP(FaceTimer);
-      break;
-      
-    case TopAbs_SHELL :
-      TIMER_START(ShellTimer);
-      TrTool->MakeShell(theShape);
-      //TrTool.UpdateShell(aHShape,theShape);
-      TrTool->UpdateShape(aHShape,theShape);
-      TIMER_STOP(ShellTimer);
-      break;
-      
-    case TopAbs_SOLID :
-      TIMER_START(SolidTimer);
-      TrTool->MakeSolid(theShape);
-      //TrTool.UpdateSolid(aHShape,theShape);
-      TrTool->UpdateShape(aHShape,theShape);
-      TIMER_STOP(SolidTimer);
-      break;
-      
-    case TopAbs_COMPSOLID :
-      TrTool->MakeCompSolid(theShape);
-      //TrTool.UpdateCompSolid(aHShape,theShape);
-      TrTool->UpdateShape(aHShape,theShape);
-      break;
-      
-    case TopAbs_COMPOUND :
-      TrTool->MakeCompound(theShape);
-      //TrTool.UpdateCompound(aHShape,theShape);
-      TrTool->UpdateShape(aHShape,theShape);
-      break;
-    default:
-      break;
-    }
-    
-    // bind and copy the sub-elements
-
-    Standard_Boolean wasFree = theShape.Free();
-    theShape.Free(Standard_True);
-    aMap.Bind(aHShape->TShape(), theShape.TShape());
-    // count the number of <sub-shape> of the Shape's TShape
-    // Is there any sub-shape 
-    if (!aHShape->TShape()->Shapes().IsNull()) {
-#ifndef OCCT_DEBUG // Linux porting - to avoid warnings
-      for (Standard_Integer i = 1 ; i<= aHShape->TShape()->Shapes()->Length(); i++) {
-#else
-      Standard_Integer nbElem = aHShape->TShape()->Shapes()->Length();
-      for (Standard_Integer i = 1 ; i<=nbElem ; i++) {
-#endif
-       TopoDS_Shape subShape;
-       MgtTopoDS::Translate(aHShape->TShape()->Shapes(i),
-                            TrTool, aMap, subShape);
-       TrTool->Add(theShape,subShape);
-      }
-    }
-    theShape.Free(wasFree);
-  }
-
-  theShape.Orientation(aHShape->Orientation());
-  theShape.Location(MgtTopLoc::Translate(aHShape->Location(), aMap));
-}
-
-
-//=======================================================================
-//function : Translate1
-//purpose  : Translation Transient Shape1 -> Persistent Shape
-//=======================================================================
-
-void MgtTopoDS::Translate1
-(const TopoDS_Shape& aShape,
- const Handle(MgtTopoDS_TranslateTool1)& TrTool,
- PTColStd_TransientPersistentMap &aMap,
- PTopoDS_Shape1& aPShape)
-{
-  if (aShape.IsNull()) return;
-
-  if (aMap.IsBound(aShape.TShape())) {
-    // get the translated TShape
-    Handle(PTopoDS_TShape1) pTS = 
-      *((Handle(PTopoDS_TShape1)*) &aMap.Find(aShape.TShape()));
-    aPShape.TShape(pTS);
-  }
-  else {
-
-    // create if not translated and update
-    
-    switch (aShape.ShapeType()) {
-      
-    case TopAbs_VERTEX :
-      TrTool->MakeVertex(aPShape);
-      TrTool->UpdateVertex(aShape,aPShape,aMap);
-      break;
-      
-    case TopAbs_EDGE :
-      TIMER_START(StoreEdgeTimer);
-      TrTool->MakeEdge(aPShape);
-      TrTool->UpdateEdge(aShape,aPShape,aMap);
-      TIMER_STOP(StoreEdgeTimer);
-      break;
-      
-    case TopAbs_WIRE :
-      TrTool->MakeWire(aPShape);
-      TrTool->UpdateShape(aShape,aPShape);
-      break;
-      
-    case TopAbs_FACE :
-      TrTool->MakeFace(aPShape);
-      TrTool->UpdateFace(aShape,aPShape,aMap);
-      break;
-    
-    case TopAbs_SHELL :
-      TrTool->MakeShell(aPShape);
-      TrTool->UpdateShape(aShape,aPShape);
-      break;
-    
-    case TopAbs_SOLID :
-      TrTool->MakeSolid(aPShape);
-      TrTool->UpdateShape(aShape,aPShape);
-      break;
-      
-    case TopAbs_COMPSOLID :
-      TrTool->MakeCompSolid(aPShape);
-      TrTool->UpdateShape(aShape,aPShape);
-      break;
-      
-  case TopAbs_COMPOUND :
-      TrTool->MakeCompound(aPShape);
-      TrTool->UpdateShape(aShape,aPShape);
-      break;
-    default:
-      break;
-    }
-  
-    // bind and copy the sub-elements
-    aMap.Bind(aShape.TShape(),aPShape.TShape());
-    // copy current Shape
-    TopoDS_Shape S = aShape;
-    S.Orientation(TopAbs_FORWARD);
-    S.Location(TopLoc_Location());
-    // count the number of <sub-shape> of the Shape's TShape
-    Standard_Integer nbElem = 0;
-    TopoDS_Iterator itr(S);
-    for (;itr.More();++nbElem,itr.Next());
-
-    if (nbElem) {
-      Handle(PTopoDS_HArray1OfShape1) myArray = 
-       new PTopoDS_HArray1OfShape1(1,nbElem);
-      // translate <sub-shapes>
-      
-      PTopoDS_Shape1 pSh;
-      nbElem = 1;
-      for (itr.Initialize(S);itr.More();++nbElem,itr.Next()) {
-       MgtTopoDS::Translate1(itr.Value(),TrTool,aMap,pSh);
-       myArray->SetValue(nbElem,pSh);
-       pSh.Nullify();
-      }
-      aPShape.TShape()->Shapes(myArray);
-    }
-    
-  }
-  
-  aPShape.Orientation(aShape.Orientation());
-  aPShape.Location(MgtTopLoc::Translate(aShape.Location(), aMap));
-}
-
-
-//=======================================================================
-//function : Translate1
-//purpose  : Translation Persistent Shape -> Transient Shape
-//=======================================================================
-
-void MgtTopoDS::Translate1
-(const PTopoDS_Shape1& aPShape, 
- const Handle(MgtTopoDS_TranslateTool1)& TrTool,
- PTColStd_PersistentTransientMap& aMap,
- TopoDS_Shape& aShape)
-{
-  if (aPShape.TShape().IsNull()) return;
-  
-  // Translate the top-level shape
-  if (aMap.IsBound(aPShape.TShape())) {
-    // get the translated TShape
-    Handle(TopoDS_TShape) TS = 
-      *((Handle(TopoDS_TShape)*) &aMap.Find(aPShape.TShape()));
-    aShape.TShape(TS);
-  }
-  else {
-
-    // create if not translated and update
-    
-    switch (aPShape.TShape()->ShapeType()) {
-      
-    case TopAbs_VERTEX :
-      TIMER_START(VertexTimer);
-      TrTool->MakeVertex(aShape);
-      TrTool->UpdateVertex(aPShape,aShape, aMap);
-      TIMER_STOP(VertexTimer);
-      break;
-      
-    case TopAbs_EDGE :
-      TIMER_START(EdgeTimer);
-      TrTool->MakeEdge(aShape);
-      TrTool->UpdateEdge(aPShape,aShape, aMap);
-      TIMER_STOP(EdgeTimer);
-      break;
-      
-    case TopAbs_WIRE :
-      TIMER_START(WireTimer);
-      TrTool->MakeWire(aShape);
-      //TrTool.UpdateWire(aPShape,aShape);
-      TrTool->UpdateShape(aPShape,aShape);
-      TIMER_STOP(WireTimer);
-      break;
-      
-    case TopAbs_FACE :
-      TIMER_START(FaceTimer);
-      TrTool->MakeFace(aShape);
-      TrTool->UpdateFace(aPShape,aShape, aMap);
-      TIMER_STOP(FaceTimer);
-      break;
-      
-    case TopAbs_SHELL :
-      TIMER_START(ShellTimer);
-      TrTool->MakeShell(aShape);
-      //TrTool.UpdateShell(aPShape,aShape);
-      TrTool->UpdateShape(aPShape,aShape);
-      TIMER_STOP(ShellTimer);
-      break;
-      
-    case TopAbs_SOLID :
-      TIMER_START(SolidTimer);
-      TrTool->MakeSolid(aShape);
-      //TrTool.UpdateSolid(aPShape,aShape);
-      TrTool->UpdateShape(aPShape,aShape);
-      TIMER_STOP(SolidTimer);
-      break;
-      
-    case TopAbs_COMPSOLID :
-      TrTool->MakeCompSolid(aShape);
-      //TrTool.UpdateCompSolid(aPShape,aShape);
-      TrTool->UpdateShape(aPShape,aShape);
-      break;
-      
-    case TopAbs_COMPOUND :
-      TrTool->MakeCompound(aShape);
-      //TrTool.UpdateCompound(aPShape,aShape);
-      TrTool->UpdateShape(aPShape,aShape);
-      break;
-    default:
-      break;
-    }
-    
-    // bind and copy the sub-elements
-
-    Standard_Boolean wasFree = aShape.Free();
-    aShape.Free(Standard_True);
-    aMap.Bind(aPShape.TShape(), aShape.TShape());
-    // count the number of <sub-shape> of the Shape's TShape
-    // Is there any sub-shape 
-    if (!aPShape.TShape()->Shapes().IsNull()) {
-      Standard_Integer nbElem = aPShape.TShape()->Shapes()->Length();
-      for (Standard_Integer i = 1 ; i<=nbElem ; i++) {
-       TopoDS_Shape subShape;
-       MgtTopoDS::Translate1(aPShape.TShape()->Shapes(i),
-                             TrTool, aMap,
-                             subShape);
-       TrTool->Add(aShape,subShape);
-      }
-    }
-    aShape.Free(wasFree);
-  }
-
-  aShape.Orientation(aPShape.Orientation());
-  aShape.Location(MgtTopLoc::Translate(aPShape.Location(), aMap));
-}
diff --git a/src/MgtTopoDS/MgtTopoDS_TranslateTool.cdl b/src/MgtTopoDS/MgtTopoDS_TranslateTool.cdl
deleted file mode 100644 (file)
index 4ead31f..0000000
+++ /dev/null
@@ -1,297 +0,0 @@
--- Created on: 1993-03-09
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- Update:      frederic MAUPAS
-
-
-
-deferred class TranslateTool from MgtTopoDS inherits TShared from MMgt
-    
-       ---Purpose: The TranslateTool class is provided to support the
-       --          translation of inherited parts of topological data
-       --          structures.
-       --          Root of all translation tools.
-uses
-
-    TransientPersistentMap from PTColStd,
-    PersistentTransientMap from PTColStd,
-    Shape                  from TopoDS,
-    HShape                 from PTopoDS
-    
-raises
-    TypeMismatch from Standard
-
-is
-
-    --
-    --     The Add method is used to insert a shape in an other shape.
-    --     
-    
-    Add(me;
-       S1 : in out Shape from TopoDS;
-       S2 : Shape from TopoDS)
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    --
-    --       The Make methods should create a new empty  object of the
-    --       given type with  the given Model.   They should raise the
-    --       TypeMismatch   exception  if  the Model   is  not of  the
-    --       expected type.
-    --       
-
-
-    MakeVertex(me; 
-              S  : out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeVertex(me; 
-              S  : HShape from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeEdge(me; 
-            S  : out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeEdge(me; 
-            S  : HShape from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeWire(me; 
-            S  : out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeWire(me; 
-            S  : HShape from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeFace(me; 
-            S  : out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeFace(me; 
-            S  : HShape from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeShell(me; 
-             S  : out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeShell(me; 
-             S  : HShape from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeSolid(me; 
-             S  : out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeSolid(me; 
-             S  : HShape from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeCompSolid(me; 
-                 S  : out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeCompSolid(me; 
-                 S  : HShape from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeCompound(me; 
-                S  : out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeCompound(me; 
-                S  : HShape from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    --
-    --     The Update methods should transfer the data from  the first
-    --     shape to the second.
-    --     
-    --     When an update method  is redefined it  should transfer the
-    --     data then call the Update  redefined method to transfer the
-    --     inherited data.
-    --     
-    
-    UpdateShape(me;
-               S1 :         Shape  from TopoDS;
-               S2 : HShape from PTopoDS)
-       ---Purpose: Basic update method
-       ---Level: Internal 
-    is static;
-    
-    UpdateShape(me;
-                S1 :        HShape from PTopoDS;
-                S2 : in out Shape  from TopoDS)
-       ---Purpose: Basic update method
-       ---Level: Internal 
-    is static;
-    
-    UpdateVertex(me;
-                S1 :         Shape                  from TopoDS;
-                S2 : HShape                 from PTopoDS;
-                M  : in out  TransientPersistentMap from PTColStd)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateVertex(me;
-                S1 :        HShape                 from PTopoDS;
-                S2 : in out Shape                  from TopoDS;
-                M  : in out PersistentTransientMap from PTColStd)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateEdge(me;
-              S1 :         Shape                  from TopoDS;
-              S2 : HShape                 from PTopoDS;
-              M  : in out  TransientPersistentMap from PTColStd)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateEdge(me;
-              S1 :        HShape                 from PTopoDS;
-              S2 : in out Shape                  from TopoDS;
-              M  : in out PersistentTransientMap from PTColStd)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateWire(me;
-              S1 :         Shape  from TopoDS;
-              S2 : HShape from PTopoDS)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateWire(me;
-              S1 :        HShape from PTopoDS;
-              S2 : in out Shape  from TopoDS)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateFace(me;
-              S1 :         Shape                  from TopoDS;
-              S2 : HShape                 from PTopoDS;
-              M  : in out  TransientPersistentMap from PTColStd)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateFace(me;
-              S1 :        HShape                 from PTopoDS;
-              S2 : in out Shape                  from TopoDS;
-              M  : in out PersistentTransientMap from PTColStd)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateShell(me;
-               S1 :         Shape  from TopoDS;
-               S2 : HShape from PTopoDS)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateShell(me;
-               S1 :         HShape from PTopoDS;
-               S2 : in out  Shape  from TopoDS)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateSolid(me;
-               S1 :         Shape  from TopoDS;
-               S2 : HShape from PTopoDS)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateSolid(me;
-               S1 :        HShape from PTopoDS;
-               S2 : in out Shape  from TopoDS)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateCompSolid(me;
-                   S1 :         Shape  from TopoDS;
-                   S2 : HShape from PTopoDS)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateCompSolid(me;
-                   S1 :        HShape from PTopoDS;
-                   S2 : in out Shape  from TopoDS)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateCompound(me;
-                  S1 :         Shape  from TopoDS;
-                  S2 : HShape from PTopoDS)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateCompound(me;
-                  S1 :        HShape from PTopoDS;
-                  S2 : in out Shape  from TopoDS)
-       ---Level: Internal 
-    is virtual;
-    
-end TranslateTool;
-
diff --git a/src/MgtTopoDS/MgtTopoDS_TranslateTool.cxx b/src/MgtTopoDS/MgtTopoDS_TranslateTool.cxx
deleted file mode 100644 (file)
index aa1822c..0000000
+++ /dev/null
@@ -1,267 +0,0 @@
-// Created on: 1993-03-09
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <MgtTopoDS_TranslateTool.ixx>
-#include <TopoDS_TShape.hxx>
-#include <PTopoDS_TShape.hxx>
-
-
-//=======================================================================
-//function : UpdateShape
-//purpose  : Transient->Persistent
-//=======================================================================
-
-void  
-MgtTopoDS_TranslateTool::UpdateShape(const TopoDS_Shape& S1,
-                                    const Handle(PTopoDS_HShape)& S2) const 
-{
-  // Transfert the flags
-  // S2->TShape()->Free(S1.TShape()->Free());
-  S2->TShape()->Modified(S1.TShape()->Modified());
-  S2->TShape()->Checked(S1.TShape()->Checked());
-  S2->TShape()->Orientable(S1.TShape()->Orientable());
-  S2->TShape()->Closed(S1.TShape()->Closed());
-  S2->TShape()->Infinite(S1.TShape()->Infinite());
-  S2->TShape()->Convex(S1.TShape()->Convex());
-}
-
-//=======================================================================
-//function : UpdateShape
-//purpose  : Persistent->Transient
-//=======================================================================
-
-void  MgtTopoDS_TranslateTool::UpdateShape(const Handle(PTopoDS_HShape)& S1, 
-                                          TopoDS_Shape& S2) const 
-{
-  // Transfert the flags
-  S2.TShape()->Free(Standard_False); // Always frozen when coming from D.B.
-  // S2.TShape()->Free(S1->TShape()->Free());
-  S2.TShape()->Modified(S1->TShape()->Modified());
-  S2.TShape()->Checked(S1->TShape()->Checked());
-  S2.TShape()->Orientable(S1->TShape()->Orientable());
-  S2.TShape()->Closed(S1->TShape()->Closed());
-  S2.TShape()->Infinite(S1->TShape()->Infinite());
-  S2.TShape()->Convex(S1->TShape()->Convex());
-}
-
-//=======================================================================
-//function : UpdateVertex
-//purpose  : Transient->Persistent
-//=======================================================================
-
-void  MgtTopoDS_TranslateTool::UpdateVertex
-(const TopoDS_Shape& S1,
- const Handle(PTopoDS_HShape)& S2,
-// PTColStd_TransientPersistentMap& aMap) const 
- PTColStd_TransientPersistentMap& ) const 
-{
-  UpdateShape(S1,S2);
-}
-
-//=======================================================================
-//function : UpdateVertex
-//purpose  : Persistent->Transient
-//=======================================================================
-
-void  MgtTopoDS_TranslateTool::UpdateVertex
-(const Handle(PTopoDS_HShape)& S1, 
- TopoDS_Shape& S2,
-// PTColStd_PersistentTransientMap& aMap)  const 
- PTColStd_PersistentTransientMap& )  const 
-{
-  UpdateShape(S1,S2);
-}
-
-//=======================================================================
-//function : UpdateEdge
-//purpose  : Transient->Persistent
-//=======================================================================
-
-void MgtTopoDS_TranslateTool::UpdateEdge
-(const TopoDS_Shape& S1,
- const Handle(PTopoDS_HShape)& S2,
-// PTColStd_TransientPersistentMap& aMap) const 
- PTColStd_TransientPersistentMap& ) const 
-{
-  UpdateShape(S1,S2);
-}
-
-//=======================================================================
-//function : UpdateEdge
-//purpose  : Persistent->Transient
-//=======================================================================
-
-void MgtTopoDS_TranslateTool::UpdateEdge
-(const Handle(PTopoDS_HShape)& S1, 
- TopoDS_Shape& S2,
-// PTColStd_PersistentTransientMap& aMap) const 
- PTColStd_PersistentTransientMap& ) const 
-{
-  UpdateShape(S1,S2);
-}
-
-//=======================================================================
-//function : UpdateWire
-//purpose  : Transient->Persistent
-//=======================================================================
-
-void  
-MgtTopoDS_TranslateTool::UpdateWire(const TopoDS_Shape& S1,
-                                   const Handle(PTopoDS_HShape)& S2) const 
-{
-  UpdateShape(S1,S2);
-}
-
-
-//=======================================================================
-//function : UpdateWire
-//purpose  : Persistent->Transient
-//=======================================================================
-
-void  MgtTopoDS_TranslateTool::UpdateWire(const Handle(PTopoDS_HShape)& S1, 
-                                         TopoDS_Shape& S2) const 
-{
-  UpdateShape(S1,S2);
-}
-
-
-//=======================================================================
-//function : UpdateFace
-//purpose  : Transient->Persistent
-//=======================================================================
-
-void MgtTopoDS_TranslateTool::UpdateFace
-(const TopoDS_Shape& S1,
- const Handle(PTopoDS_HShape)& S2,
-// PTColStd_TransientPersistentMap& aMap) const 
- PTColStd_TransientPersistentMap& ) const 
-{
-  UpdateShape(S1,S2);
-}
-
-//=======================================================================
-//function : UpdateFace
-//purpose  : Persistent->Transient
-//=======================================================================
-
-void MgtTopoDS_TranslateTool::UpdateFace
-(const Handle(PTopoDS_HShape)& S1, 
- TopoDS_Shape& S2,
-// PTColStd_PersistentTransientMap& aMap) const 
- PTColStd_PersistentTransientMap& ) const 
-{
-  UpdateShape(S1,S2);
-}
-
-//=======================================================================
-//function : UpdateShell
-//purpose  : Transient->Persistent
-//=======================================================================
-
-void  
-MgtTopoDS_TranslateTool::UpdateShell(const TopoDS_Shape& S1,
-                                    const Handle(PTopoDS_HShape)& S2) const 
-{
-  UpdateShape(S1,S2);
-}
-
-
-//=======================================================================
-//function : UpdateShell
-//purpose  : Persistent->Transient
-//=======================================================================
-
-void  MgtTopoDS_TranslateTool::UpdateShell(const Handle(PTopoDS_HShape)& S1,
-                                          TopoDS_Shape& S2)  const 
-{
-  UpdateShape(S1,S2);
-}
-
-
-//=======================================================================
-//function : UpdateSolid
-//purpose  : Transient->Persistent
-//=======================================================================
-
-void  
-MgtTopoDS_TranslateTool::UpdateSolid(const TopoDS_Shape& S1,
-                                    const Handle(PTopoDS_HShape)& S2) const 
-{
-  UpdateShape(S1,S2);
-}
-
-
-//=======================================================================
-//function : UpdateSolid
-//purpose  : Persistent->Transient
-//=======================================================================
-
-void  MgtTopoDS_TranslateTool::UpdateSolid(const Handle(PTopoDS_HShape)& S1, 
-                                          TopoDS_Shape& S2) const 
-{
-  UpdateShape(S1,S2);
-}
-
-
-//=======================================================================
-//function : UpdateCompSolid
-//purpose  : Transient->Persistent
-//=======================================================================
-
-void  MgtTopoDS_TranslateTool::UpdateCompSolid
-(const TopoDS_Shape& S1, 
- const Handle(PTopoDS_HShape)& S2) const 
-{
-  UpdateShape(S1,S2);
-}
-
-
-//=======================================================================
-//function : UpdateCompSolid
-//purpose  : Persistent->Transient
-//=======================================================================
-
-void  MgtTopoDS_TranslateTool::UpdateCompSolid
-(const Handle(PTopoDS_HShape)& S1, 
- TopoDS_Shape& S2) const 
-{
-  UpdateShape(S1,S2);
-}
-
-
-//=======================================================================
-//function : UpdateCompound
-//purpose  : Transient->Persistent
-//=======================================================================
-
-void  
-MgtTopoDS_TranslateTool::UpdateCompound(const TopoDS_Shape& S1, 
-                                       const Handle(PTopoDS_HShape)& S2) const
-{
-  UpdateShape(S1,S2);
-}
-
-
-//=======================================================================
-//function : UpdateCompound
-//purpose  : Persistent->Transient
-//=======================================================================
-
-void  MgtTopoDS_TranslateTool::UpdateCompound(const Handle(PTopoDS_HShape)& S1,
-                                             TopoDS_Shape& S2) const 
-{
-  UpdateShape(S1,S2);
-}
diff --git a/src/MgtTopoDS/MgtTopoDS_TranslateTool1.cdl b/src/MgtTopoDS/MgtTopoDS_TranslateTool1.cdl
deleted file mode 100644 (file)
index e4d1e59..0000000
+++ /dev/null
@@ -1,282 +0,0 @@
--- Created by: DAUTRY Philippe
--- Copyright (c) 1998-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
---             ----------------------------
-
----Version:    0.0
---Version      Date            Purpose
---             0.0     Feb  3 1998     Creation
-
-
-deferred class TranslateTool1 from MgtTopoDS inherits TShared from MMgt
-    
-       ---Purpose: The TranslateTool1 class is provided to support the
-       --          translation of inherited parts of topological data
-       --          structures.
-       --          Root of all translation tools.
-uses
-
-    TransientPersistentMap from PTColStd,
-    PersistentTransientMap from PTColStd,
-    Shape from TopoDS,
-    Shape1 from PTopoDS
-    
-raises
-    TypeMismatch from Standard
-
-is
-
-    --
-    --     The Add method is used to insert a shape in an other shape.
-    --     
-    
-    Add(me;
-       S1 : in out Shape from TopoDS;
-       S2 : Shape from TopoDS)
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    --
-    --       The Make methods should create a new empty  object of the
-    --       given type with  the given Model.   They should raise the
-    --       TypeMismatch   exception  if  the Model   is  not of  the
-    --       expected type.
-    --       
-
-
-    MakeVertex(me; S  : in out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeVertex(me; S  : in out Shape1 from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeEdge(me; S  : in out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeEdge(me; S  : in out Shape1 from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeWire(me; S  : in out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeWire(me; S  : in out Shape1 from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeFace(me; S  : in out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeFace(me; S  : in out Shape1 from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeShell(me; S  : in out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeShell(me; S  : in out Shape1 from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeSolid(me; S  : in out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeSolid(me; S  : in out Shape1 from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeCompSolid(me; S  : in out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeCompSolid(me; S  : in out Shape1 from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeCompound(me; S  : in out Shape from TopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    MakeCompound(me; S  : in out Shape1 from PTopoDS) 
-       ---Level: Internal 
-    raises
-       TypeMismatch from Standard
-    is deferred;
-    
-    --
-    --     The Update methods should transfer the data from  the first
-    --     shape to the second.
-    --     
-    --     When an update method  is redefined it  should transfer the
-    --     data then call the Update  redefined method to transfer the
-    --     inherited data.
-    --     
-    
-    UpdateShape(me;
-               S1 : Shape from TopoDS;
-               S2 : in out Shape1 from PTopoDS)
-       ---Purpose: Basic update method
-       ---Level: Internal 
-    is static;
-    
-    UpdateShape(me;
-                S1 : Shape1 from PTopoDS;
-                S2 : in out Shape from TopoDS)
-       ---Purpose: Basic update method
-       ---Level: Internal 
-    is static;
-    
-    UpdateVertex(me;
-                S1 : Shape from TopoDS;
-                S2 : in out Shape1  from PTopoDS;
-                M  : in out TransientPersistentMap from PTColStd)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateVertex(me;
-                S1 : Shape1  from PTopoDS;
-                S2 : in out Shape from TopoDS;
-                M  : in out PersistentTransientMap from PTColStd)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateEdge(me;
-              S1 : Shape from TopoDS;
-              S2 : in out Shape1 from PTopoDS;
-              M  : in out TransientPersistentMap from PTColStd)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateEdge(me;
-              S1 : Shape1 from PTopoDS;
-              S2 : in out Shape from TopoDS;
-              M  : in out PersistentTransientMap from PTColStd)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateWire(me;
-              S1 : Shape from TopoDS;
-              S2 : in out Shape1 from PTopoDS)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateWire(me;
-              S1 : Shape1 from PTopoDS;
-              S2 : in out Shape from TopoDS)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateFace(me;
-              S1 : Shape from TopoDS;
-              S2 : in out Shape1 from PTopoDS;
-              M  : in out TransientPersistentMap from PTColStd)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateFace(me;
-              S1 : Shape1 from PTopoDS;
-              S2 : in out Shape from TopoDS;
-              M  : in out PersistentTransientMap from PTColStd)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateShell(me;
-               S1 : Shape from TopoDS;
-               S2 : in out Shape1 from PTopoDS)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateShell(me;
-               S1 : Shape1 from PTopoDS;
-               S2 : in out Shape from TopoDS)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateSolid(me;
-               S1 : Shape from TopoDS;
-               S2 : in out Shape1 from PTopoDS)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateSolid(me;
-               S1 : Shape1 from PTopoDS;
-               S2 : in out Shape from TopoDS)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateCompSolid(me;
-                   S1 : Shape from TopoDS;
-                   S2 : in out Shape1 from PTopoDS)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateCompSolid(me;
-                   S1 : Shape1 from PTopoDS;
-                   S2 : in out Shape from TopoDS)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateCompound(me;
-                  S1 : Shape from TopoDS;
-                  S2 : in out Shape1 from PTopoDS)
-       ---Level: Internal 
-    is virtual;
-    
-    UpdateCompound(me;
-                  S1 : Shape1 from PTopoDS;
-                  S2 : in out Shape from TopoDS)
-       ---Level: Internal 
-    is virtual;
-    
-end TranslateTool1;
diff --git a/src/MgtTopoDS/MgtTopoDS_TranslateTool1.cxx b/src/MgtTopoDS/MgtTopoDS_TranslateTool1.cxx
deleted file mode 100644 (file)
index fdf577d..0000000
+++ /dev/null
@@ -1,248 +0,0 @@
-// Created by: DAUTRY Philippe
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-//             ---------------------------
-
-// Version:    0.0
-//Version      Date            Purpose
-//             0.0     Feb  3 1998     Creation
-
-
-
-#include <MgtTopoDS_TranslateTool1.ixx>
-
-#include <TopoDS_TShape.hxx>
-#include <PTopoDS_TShape1.hxx>
-
-
-//=======================================================================
-//function : UpdateShape
-//purpose  : Transient->Persistent
-//=======================================================================
-
-void MgtTopoDS_TranslateTool1::UpdateShape
-(const TopoDS_Shape& S1,
- PTopoDS_Shape1& S2) const 
-{
-  // Transfert the flags
-  // S2.TShape()->Free(S1.TShape()->Free());
-  S2.TShape()->Modified(S1.TShape()->Modified());
-  S2.TShape()->Checked(S1.TShape()->Checked());
-  S2.TShape()->Orientable(S1.TShape()->Orientable());
-  S2.TShape()->Closed(S1.TShape()->Closed());
-  S2.TShape()->Infinite(S1.TShape()->Infinite());
-  S2.TShape()->Convex(S1.TShape()->Convex());
-}
-
-//=======================================================================
-//function : UpdateShape
-//purpose  : Persistent->Transient
-//=======================================================================
-
-void MgtTopoDS_TranslateTool1::UpdateShape
-(const PTopoDS_Shape1& S1, 
- TopoDS_Shape& S2) const 
-{
-  // Transfert the flags
-  S2.TShape()->Free(Standard_False); // Always frozen when coming from D.B.
-  // S2.TShape()->Free(S1.TShape()->Free());
-  S2.TShape()->Modified(S1.TShape()->Modified());
-  S2.TShape()->Checked(S1.TShape()->Checked());
-  S2.TShape()->Orientable(S1.TShape()->Orientable());
-  S2.TShape()->Closed(S1.TShape()->Closed());
-  S2.TShape()->Infinite(S1.TShape()->Infinite());
-  S2.TShape()->Convex(S1.TShape()->Convex());
-}
-
-//=======================================================================
-//function : UpdateVertex
-//purpose  : Transient->Persistent
-//=======================================================================
-
-void MgtTopoDS_TranslateTool1::UpdateVertex
-(const TopoDS_Shape& S1,
- PTopoDS_Shape1& S2,
-// PTColStd_TransientPersistentMap& aMap) const 
- PTColStd_TransientPersistentMap& ) const 
-{ UpdateShape(S1,S2); }
-
-//=======================================================================
-//function : UpdateVertex
-//purpose  : Persistent->Transient
-//=======================================================================
-
-void MgtTopoDS_TranslateTool1::UpdateVertex
-(const PTopoDS_Shape1& S1, 
- TopoDS_Shape& S2,
-// PTColStd_PersistentTransientMap& aMap)  const 
- PTColStd_PersistentTransientMap& )  const 
-{ UpdateShape(S1,S2); }
-
-//=======================================================================
-//function : UpdateEdge
-//purpose  : Transient->Persistent
-//=======================================================================
-
-void MgtTopoDS_TranslateTool1::UpdateEdge
-(const TopoDS_Shape& S1,
- PTopoDS_Shape1& S2,
-// PTColStd_TransientPersistentMap& aMap) const 
- PTColStd_TransientPersistentMap& ) const 
-{ UpdateShape(S1,S2); }
-
-//=======================================================================
-//function : UpdateEdge
-//purpose  : Persistent->Transient
-//=======================================================================
-
-void MgtTopoDS_TranslateTool1::UpdateEdge
-(const PTopoDS_Shape1& S1, 
- TopoDS_Shape& S2,
-// PTColStd_PersistentTransientMap& aMap) const 
- PTColStd_PersistentTransientMap& ) const 
-{ UpdateShape(S1,S2); }
-
-//=======================================================================
-//function : UpdateWire
-//purpose  : Transient->Persistent
-//=======================================================================
-
-void MgtTopoDS_TranslateTool1::UpdateWire
-(const TopoDS_Shape& S1,
- PTopoDS_Shape1& S2) const 
-{ UpdateShape(S1,S2); }
-
-
-//=======================================================================
-//function : UpdateWire
-//purpose  : Persistent->Transient
-//=======================================================================
-
-void MgtTopoDS_TranslateTool1::UpdateWire
-(const PTopoDS_Shape1& S1, 
- TopoDS_Shape& S2) const 
-{ UpdateShape(S1,S2); }
-
-
-//=======================================================================
-//function : UpdateFace
-//purpose  : Transient->Persistent
-//=======================================================================
-
-void MgtTopoDS_TranslateTool1::UpdateFace
-(const TopoDS_Shape& S1,
- PTopoDS_Shape1& S2,
-// PTColStd_TransientPersistentMap& aMap) const 
- PTColStd_TransientPersistentMap& ) const 
-{ UpdateShape(S1,S2); }
-
-//=======================================================================
-//function : UpdateFace
-//purpose  : Persistent->Transient
-//=======================================================================
-
-void MgtTopoDS_TranslateTool1::UpdateFace
-(const PTopoDS_Shape1& S1, 
- TopoDS_Shape& S2,
-// PTColStd_PersistentTransientMap& aMap) const 
- PTColStd_PersistentTransientMap& ) const 
-{ UpdateShape(S1,S2); }
-
-//=======================================================================
-//function : UpdateShell
-//purpose  : Transient->Persistent
-//=======================================================================
-
-void MgtTopoDS_TranslateTool1::UpdateShell
-(const TopoDS_Shape& S1,
- PTopoDS_Shape1& S2) const 
-{ UpdateShape(S1,S2); }
-
-
-//=======================================================================
-//function : UpdateShell
-//purpose  : Persistent->Transient
-//=======================================================================
-
-void  MgtTopoDS_TranslateTool1::UpdateShell
-(const PTopoDS_Shape1& S1,
- TopoDS_Shape& S2)  const 
-{ UpdateShape(S1,S2); }
-
-
-//=======================================================================
-//function : UpdateSolid
-//purpose  : Transient->Persistent
-//=======================================================================
-
-void MgtTopoDS_TranslateTool1::UpdateSolid
-(const TopoDS_Shape& S1,
- PTopoDS_Shape1& S2) const 
-{ UpdateShape(S1,S2); }
-
-
-//=======================================================================
-//function : UpdateSolid
-//purpose  : Persistent->Transient
-//=======================================================================
-
-void MgtTopoDS_TranslateTool1::UpdateSolid
-(const PTopoDS_Shape1& S1, 
- TopoDS_Shape& S2) const 
-{ UpdateShape(S1,S2); }
-
-
-//=======================================================================
-//function : UpdateCompSolid
-//purpose  : Transient->Persistent
-//=======================================================================
-
-void MgtTopoDS_TranslateTool1::UpdateCompSolid
-(const TopoDS_Shape& S1, 
- PTopoDS_Shape1& S2) const 
-{ UpdateShape(S1,S2); }
-
-
-//=======================================================================
-//function : UpdateCompSolid
-//purpose  : Persistent->Transient
-//=======================================================================
-
-void MgtTopoDS_TranslateTool1::UpdateCompSolid
-(const PTopoDS_Shape1& S1, 
- TopoDS_Shape& S2) const 
-{ UpdateShape(S1,S2); }
-
-
-//=======================================================================
-//function : UpdateCompound
-//purpose  : Transient->Persistent
-//=======================================================================
-
-void MgtTopoDS_TranslateTool1::UpdateCompound
-(const TopoDS_Shape& S1, 
- PTopoDS_Shape1& S2) const
-{ UpdateShape(S1,S2); }
-
-
-//=======================================================================
-//function : UpdateCompound
-//purpose  : Persistent->Transient
-//=======================================================================
-
-void MgtTopoDS_TranslateTool1::UpdateCompound
-(const PTopoDS_Shape1& S1,
- TopoDS_Shape& S2) const 
-{ UpdateShape(S1,S2); }
index 372d10d..a376751 100644 (file)
 ;# 
 proc ApplicationFramework:toolkits { } {
     return [list \
-               PTKernel \
-               TKPShape \
                TKCDF \
                TKLCAF \
                 TKCAF \
                 TKBinL \
                 TKXmlL \
-               TKShapeSchema \
-                TKPLCAF \
                 TKBin \
                 TKXml \
-               TKPCAF \
                FWOSPlugin \
-               TKStdLSchema \
-                TKStdSchema \
                 TKTObj \
                 TKBinTObj \
                 TKXmlTObj \
index ca9d26e..249c2c9 100644 (file)
@@ -16,7 +16,7 @@
 ;# 
 proc DataExchange:toolkits { } {
     return [list TKXSBase TKSTEPBase TKSTEPAttr TKSTEP209 TKSTEP TKIGES \
-               TKXCAF TKXCAFSchema TKXDEIGES TKXDESTEP \
+               TKXCAF TKXDEIGES TKXDESTEP \
                TKSTL TKVRML TKXmlXCAF TKBinXCAF]
 }
 ;#
diff --git a/src/ObjMgt/ObjMgt.cdl b/src/ObjMgt/ObjMgt.cdl
deleted file mode 100644 (file)
index 705ee44..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
--- Copyright (c) 1995-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
----Version:     1.2 
-
---  Version    Date            Purpose
---             Feb  3 1995     Creation
---             Dec  15 1996    Version CSFDB
-
-package ObjMgt 
-
----Purpose: This package defines services to manage the storage grain of data 
---          produced by applications and those classes to manage persistent 
---          extern reference.
-
-uses
-
-    PCollection,
-    Storage,
-    CDM,PCDM, TCollection
-
-is
-
-    --deferred class RetrievalDriver;
-    --- to retrieve ExternShareable objects in the framework.
-
-    deferred class ExternShareable;
-
-
-    private class ExternRef;
-
-    private class PSeqOfExtRef instantiates HSequence from 
-           PCollection (ExternRef from ObjMgt);
-
-end ObjMgt;
diff --git a/src/ObjMgt/ObjMgt_ExternRef.cdl b/src/ObjMgt/ObjMgt_ExternRef.cdl
deleted file mode 100644 (file)
index a74c42b..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-private class ExternRef from ObjMgt inherits Persistent from Standard
-    ---Purpose: Defines (objet-relais) to implement extern reference.
-
-uses HAsciiString from PCollection
-is
-
-fields
-
-    myEntryId   : HAsciiString;
-    myBindingIndex : Integer;
-
-end ExternRef;
diff --git a/src/ObjMgt/ObjMgt_ExternRef.cxx b/src/ObjMgt/ObjMgt_ExternRef.cxx
deleted file mode 100644 (file)
index 8884d48..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <ObjMgt_ExternRef.ixx>
-
-
diff --git a/src/ObjMgt/ObjMgt_ExternShareable.cdl b/src/ObjMgt/ObjMgt_ExternShareable.cdl
deleted file mode 100644 (file)
index c2a0288..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class ExternShareable from ObjMgt 
-
-inherits Persistent from Standard
-    ---Purpose: Defines the root persistent object which can be persistent
-    --          extern reference.
-
-uses HAsciiString from PCollection
-
-is
-fields
-
-    myEntry: HAsciiString ;
-
-end ExternShareable;
diff --git a/src/ObjMgt/ObjMgt_ExternShareable.cxx b/src/ObjMgt/ObjMgt_ExternShareable.cxx
deleted file mode 100644 (file)
index ce3acad..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <ObjMgt_ExternShareable.ixx>
-
diff --git a/src/PBRep/PBRep.cdl b/src/PBRep/PBRep.cdl
deleted file mode 100644 (file)
index abb96c9..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
--- Created on: 1993-07-16
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- Update:      Frederic MAUPAS
-
-
-package PBRep 
-
-       ---Purpose: This  package    describes  a persistent  Boundary
-       --          Representation  Data Structure inherited from  the
-       --          abstract Topology  defined in the PTopoDS package.
-       --          The  geometric data  are provided by the PGeom and
-       --          PGeom2d packages.
-
-uses
-    gp,          -- Elementary geometry
-    PTopLoc,     -- Local coordinate systems
-    TopAbs,      -- Enumerations : Orientation, ShapeType
-    PTopoDS,     -- Abstract topological data structure
-    GeomAbs,     -- Enumerations : Shape
-    PGeom,       -- 3D geometry : curves and surfaces
-    PGeom2d,     -- 2D geometry : curves in parametric space
-    PPoly,       -- Persistent Triangulations and Polygons
-    PColStd      -- Persistent Standard Collection 
-    
-is
-
-    deferred class CurveRepresentation;
-
-    deferred class GCurve;
-
-    class Curve3D;
-
-    class CurveOnSurface;
-
-    class CurveOnClosedSurface;
-
-    class Polygon3D;
-
-    class PolygonOnTriangulation;
-
-    class PolygonOnClosedTriangulation;
-
-    class PolygonOnSurface;
-
-    class PolygonOnClosedSurface;
-
-    class CurveOn2Surfaces;
-
-    deferred class PointRepresentation;
-
-    class PointOnCurve;
-
-    deferred class PointsOnSurface;
-
-    class PointOnCurveOnSurface;
-
-    class PointOnSurface;
-
-    class TFace;
-
-    class TEdge;
-
-    class TVertex;
-
-    class TFace1;
-
-    class TEdge1;
-
-    class TVertex1;
-
-end PBRep;
diff --git a/src/PBRep/PBRep_Curve3D.cdl b/src/PBRep/PBRep_Curve3D.cdl
deleted file mode 100644 (file)
index ca0df2f..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
--- Created on: 1993-07-06
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Curve3D from PBRep inherits GCurve from PBRep
-
-       ---Purpose: Representation of a curve by a 3D curve.
-
-uses
-
-    Location from PTopLoc,
-    Curve    from PGeom
-
-is
-
-    Create(C  : Curve    from PGeom;
-          CF : Real     from Standard;
-          CL : Real     from Standard;
-          L  : Location from PTopLoc) 
-    returns Curve3D from PBRep;
-       ---Purpose : CF is curve first param
-       --           CL is curve last param
-       --           As far as they can't be computed from a Persistent Curve
-       --          they are given in the Curve3D constructor
-
-    Curve3D(me) returns Curve from PGeom
-    is static;
-
-    IsCurve3D(me) returns Boolean
-        ---Purpose: Returns True.
-    is redefined;
-       
-fields
-    
-    myCurve3D : Curve from PGeom;
-
-end Curve3D;
diff --git a/src/PBRep/PBRep_Curve3D.cxx b/src/PBRep/PBRep_Curve3D.cxx
deleted file mode 100644 (file)
index 53f24f2..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-// Created on: 1993-07-26
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-// Update:      Frederic MAUPAS
-
-#include <PBRep_Curve3D.ixx>
-
-
-//=======================================================================
-//function : PBRep_Curve3D
-//purpose  : 
-//=======================================================================
-
-PBRep_Curve3D::PBRep_Curve3D(const Handle(PGeom_Curve)& C,
-                            const Standard_Real CF,
-                            const Standard_Real CL,
-                            const PTopLoc_Location& L) 
-: PBRep_GCurve(L, CF, CL),
-  myCurve3D(C)
-{
-}
-
-
-//=======================================================================
-//function : Curve3D
-//purpose  : 
-//=======================================================================
-
-Handle(PGeom_Curve)  PBRep_Curve3D::Curve3D()const 
-{
-  return myCurve3D;
-}
-
-//=======================================================================
-//function : IsCurve3D
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PBRep_Curve3D::IsCurve3D()const 
-{
-  return Standard_True;
-}
-
diff --git a/src/PBRep/PBRep_CurveOn2Surfaces.cdl b/src/PBRep/PBRep_CurveOn2Surfaces.cdl
deleted file mode 100644 (file)
index f049a64..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
--- Created on: 1993-07-06
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class CurveOn2Surfaces from PBRep inherits CurveRepresentation from PBRep
-
-       ---Purpose: Defines a continuity between two surfaces.
-
-uses
-    Surface  from PGeom,
-    Location from PTopLoc,
-    Shape    from GeomAbs
-    
-raises
-    NullObject from Standard
-    
-is
-
-    Create(S1 , S2  : Surface  from PGeom;
-          L1 , L2  : Location from PTopLoc;
-          C        : Shape    from GeomAbs)
-    returns CurveOn2Surfaces from PBRep;
-
-    Surface(me) returns any Surface from PGeom
-    is static;
-
-    Surface2(me) returns any Surface from PGeom
-    is static;
-
-    Location2(me) returns Location from PTopLoc
-    is static;
-
-    Continuity(me) returns Shape from GeomAbs
-    is static;
-    
-    IsRegularity(me) returns Boolean
-       ---Purpose: Returns True.
-    is redefined;
-    
-fields
-    mySurface    : Surface  from PGeom;
-    mySurface2   : Surface  from PGeom;
-    myLocation2  : Location from PTopLoc;
-    myContinuity : Shape    from GeomAbs;
-
-end CurveOn2Surfaces;
diff --git a/src/PBRep/PBRep_CurveOn2Surfaces.cxx b/src/PBRep/PBRep_CurveOn2Surfaces.cxx
deleted file mode 100644 (file)
index 66d6e04..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-// Created on: 1993-07-26
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PBRep_CurveOn2Surfaces.ixx>
-
-
-//=======================================================================
-//function : PBRep_CurveOn2Surfaces
-//purpose  : 
-//=======================================================================
-
-PBRep_CurveOn2Surfaces::PBRep_CurveOn2Surfaces
-  (const Handle(PGeom_Surface)& S1,
-   const Handle(PGeom_Surface)& S2,
-   const PTopLoc_Location& L1, 
-   const PTopLoc_Location& L2, 
-   const GeomAbs_Shape C) :
-  PBRep_CurveRepresentation(L1),
-  mySurface(S1),
-  mySurface2(S2),
-  myLocation2(L2),
-  myContinuity(C)
-{
-}
-
-
-//=======================================================================
-//function : Surface
-//purpose  : 
-//=======================================================================
-
-Handle(PGeom_Surface)  PBRep_CurveOn2Surfaces::Surface()const 
-{
-  return mySurface;
-}
-
-
-//=======================================================================
-//function : Surface2
-//purpose  : 
-//=======================================================================
-
-Handle(PGeom_Surface)  PBRep_CurveOn2Surfaces::Surface2()const 
-{
-  return mySurface2;
-}
-
-
-//=======================================================================
-//function : Location2
-//purpose  : 
-//=======================================================================
-
-PTopLoc_Location  PBRep_CurveOn2Surfaces::Location2()const 
-{
-  return myLocation2;
-}
-
-
-//=======================================================================
-//function : Continuity
-//purpose  : 
-//=======================================================================
-
-GeomAbs_Shape  PBRep_CurveOn2Surfaces::Continuity()const 
-{
-  return myContinuity;
-}
-
-//=======================================================================
-//function : IsRegularity
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PBRep_CurveOn2Surfaces::IsRegularity()const 
-{
-  return Standard_True;
-}
-
-
diff --git a/src/PBRep/PBRep_CurveOnClosedSurface.cdl b/src/PBRep/PBRep_CurveOnClosedSurface.cdl
deleted file mode 100644 (file)
index 5979700..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
--- Created on: 1993-07-06
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- Update:      Frederic MAUPAS
-
-
-class CurveOnClosedSurface from PBRep inherits CurveOnSurface from PBRep
-
-       ---Purpose: Representation  of a    curve by two  pcurves   on
-       --          a closed surface.
-
-uses
-    Curve    from PGeom2d,
-    Surface  from PGeom,
-    Location from PTopLoc,
-    Pnt2d    from gp,
-    Shape    from GeomAbs
-
-is
-
-    Create(PC1, PC2 : Curve    from PGeom2d;
-          CF       : Real     from Standard;
-          CL       : Real     from Standard;
-          S        : Surface  from PGeom;
-          L        : Location from PTopLoc;
-          C        : Shape    from GeomAbs)
-    returns CurveOnClosedSurface from PBRep;
-       ---Purpose: CF is curve first parameter
-       --          CL is curve last parameter
-       --          The two curves are SameParameter.
-       --          As far as they can't be computed from a Persistent Curve
-       --          they are given in the CurveOnClosedSurface constructor
-
-    PCurve2(me) returns  Curve from PGeom2d
-    is static;
-       ---Level: Internal 
-    
-    Continuity(me) returns Shape from GeomAbs
-    is static;
-       ---Level: Internal 
-
-    IsCurveOnClosedSurface(me) returns Boolean
-       ---Purpose: Returns True.
-    is redefined;
-    
-    IsRegularity(me) returns Boolean
-       ---Purpose: Returns True
-    is redefined;
-    
-    SetUVPoints2(me : mutable; Pnt1, Pnt2 : Pnt2d from gp);
-    
-    FirstUV2(me) returns Pnt2d from gp;
-
-    LastUV2(me) returns Pnt2d from gp;
-    
-fields
-
-    myPCurve2    : Curve from PGeom2d;
-    myContinuity : Shape from GeomAbs;
-    myUV21       : Pnt2d from gp;
-    myUV22       : Pnt2d from gp;
-
-end CurveOnClosedSurface;
-
-
-
-
-
diff --git a/src/PBRep/PBRep_CurveOnClosedSurface.cxx b/src/PBRep/PBRep_CurveOnClosedSurface.cxx
deleted file mode 100644 (file)
index 515b957..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-// Created on: 1993-07-26
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PBRep_CurveOnClosedSurface.ixx>
-
-
-//=======================================================================
-//function : PBRep_CurveOnClosedSurface
-//purpose  : 
-//=======================================================================
-
-PBRep_CurveOnClosedSurface::PBRep_CurveOnClosedSurface
-  (const Handle(PGeom2d_Curve)& PC1,
-   const Handle(PGeom2d_Curve)& PC2,
-   const Standard_Real          CF,
-   const Standard_Real          CL,
-   const Handle(PGeom_Surface)& S,
-   const PTopLoc_Location& L,
-   const GeomAbs_Shape C) :
-  PBRep_CurveOnSurface(PC1, CF, CL, S, L),
-  myPCurve2(PC2),
-  myContinuity(C)
-{
-}
-
-
-//=======================================================================
-//function : PCurve2
-//purpose  : 
-//=======================================================================
-
-Handle(PGeom2d_Curve)  PBRep_CurveOnClosedSurface::PCurve2()const 
-{
-  return myPCurve2;
-}
-
-
-//=======================================================================
-//function : Continuity
-//purpose  : 
-//=======================================================================
-
-GeomAbs_Shape  PBRep_CurveOnClosedSurface::Continuity()const 
-{
-  return myContinuity;
-}
-
-//=======================================================================
-//function : IsCurveOnClosedSurface
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PBRep_CurveOnClosedSurface::IsCurveOnClosedSurface()const 
-{
-  return Standard_True;
-}
-
-//=======================================================================
-//function : IsRegularity
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PBRep_CurveOnClosedSurface::IsRegularity()const 
-{
-  return Standard_True;
-}
-
-//=======================================================================
-//function : SetUVPoints2
-//purpose  : 
-//=======================================================================
-
-void PBRep_CurveOnClosedSurface::SetUVPoints2(const gp_Pnt2d& Pnt1,
-                                             const gp_Pnt2d& Pnt2) 
-{
-  myUV21 = Pnt1;
-  myUV22 = Pnt2;
-}
-
-//=======================================================================
-//function : FirstUV2
-//purpose  : 
-//=======================================================================
-
-gp_Pnt2d PBRep_CurveOnClosedSurface::FirstUV2() const 
-{
-  return myUV21;
-}
-
-//=======================================================================
-//function : LastUV2
-//purpose  : 
-//=======================================================================
-
-gp_Pnt2d PBRep_CurveOnClosedSurface::LastUV2() const 
-{
-  return myUV22;
-}
-
diff --git a/src/PBRep/PBRep_CurveOnSurface.cdl b/src/PBRep/PBRep_CurveOnSurface.cdl
deleted file mode 100644 (file)
index 9a80553..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
--- Created on: 1993-07-06
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class CurveOnSurface from PBRep inherits GCurve from PBRep
-
-       ---Purpose: Representation  of a  curve   by a   curve  in the
-       --          parametric space of a surface.
-
-uses
-    Curve    from PGeom2d,
-    Surface  from PGeom,
-    Pnt2d    from gp,
-    Location from PTopLoc
-
-is
-
-    Create(PC : Curve    from PGeom2d;
-          CF : Real     from Standard;
-          CL : Real     from Standard;
-          S  : Surface  from PGeom; 
-          L  : Location from PTopLoc)
-    returns CurveOnSurface from PBRep;
-       ---Purpose: CF is curve first parameter
-       --          CL is curve last parameter
-       --          As far as they can't be computed from a Persistent Curve
-       --          they are given in the CurveOnSurface constructor
-
-    Surface(me) returns  Surface from PGeom
-    is static;
-       ---Level: Internal 
-
-    PCurve(me) returns  Curve from PGeom2d
-    is static;
-       ---Level: Internal 
-
-    IsCurveOnSurface(me) returns Boolean
-       ---Purpose: Returns True.
-    is redefined;
-    
-    SetUVPoints(me : mutable; Pnt1, Pnt2 : Pnt2d from gp);
-    
-    FirstUV(me) returns Pnt2d from gp;
-
-    LastUV(me) returns Pnt2d from gp;
-    
-fields
-    
-    myPCurve      : Curve   from PGeom2d;
-    mySurface     : Surface from PGeom;
-    myUV1         : Pnt2d   from gp;
-    myUV2         : Pnt2d   from gp;
-    
-end CurveOnSurface;
diff --git a/src/PBRep/PBRep_CurveOnSurface.cxx b/src/PBRep/PBRep_CurveOnSurface.cxx
deleted file mode 100644 (file)
index 44fb188..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-// Created on: 1993-07-26
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PBRep_CurveOnSurface.ixx>
-
-
-//=======================================================================
-//function : PBRep_CurveOnSurface
-//purpose  : 
-//=======================================================================
-
-PBRep_CurveOnSurface::PBRep_CurveOnSurface(const Handle(PGeom2d_Curve)& PC,
-                                          const Standard_Real          CF,
-                                          const Standard_Real          CL,
-                                          const Handle(PGeom_Surface)& S,
-                                          const PTopLoc_Location&      L) :
-       PBRep_GCurve(L, CF, CL),
-       myPCurve(PC),
-       mySurface(S)
-{
-}
-
-
-//=======================================================================
-//function : Surface
-//purpose  : 
-//=======================================================================
-
-Handle(PGeom_Surface)  PBRep_CurveOnSurface::Surface()const 
-{
-  return mySurface;
-}
-
-
-//=======================================================================
-//function : PCurve
-//purpose  : 
-//=======================================================================
-
-Handle(PGeom2d_Curve)  PBRep_CurveOnSurface::PCurve()const 
-{
-  return myPCurve;
-}
-
-
-
-//=======================================================================
-//function : IsCurveOnSurface
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PBRep_CurveOnSurface::IsCurveOnSurface()const 
-{
-  return Standard_True;
-}
-
-
-//=======================================================================
-//function : SetUVPoints
-//purpose  : 
-//=======================================================================
-
-void PBRep_CurveOnSurface::SetUVPoints(const gp_Pnt2d& Pnt1,
-                                      const gp_Pnt2d& Pnt2) 
-{
-  myUV1 = Pnt1;
-  myUV2 = Pnt2;
-}
-
-//=======================================================================
-//function : FirstUV
-//purpose  : 
-//=======================================================================
-
-gp_Pnt2d PBRep_CurveOnSurface::FirstUV() const 
-{
-  return myUV1;
-}
-
-//=======================================================================
-//function : LastUV
-//purpose  : 
-//=======================================================================
-
-gp_Pnt2d PBRep_CurveOnSurface::LastUV() const 
-{
-  return myUV2;
-}
-
diff --git a/src/PBRep/PBRep_CurveRepresentation.cdl b/src/PBRep/PBRep_CurveRepresentation.cdl
deleted file mode 100644 (file)
index 9028467..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
--- Created on: 1993-07-05
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- Update:      Frederic MAUPAS
-
-
-
-deferred class CurveRepresentation from PBRep inherits Persistent
-
-       ---Purpose: Root class for the curve representations.
-
-uses
-    Location from PTopLoc
-
-
-is
-
-    Initialize(L : Location from PTopLoc);
-       ---Level: Internal 
-
-    Location(me) returns Location from PTopLoc
-    is static;
-       ---Level: Internal 
-    
-    Next(me) returns CurveRepresentation from PBRep
-    is static;
-       ---Level: Internal 
-               
-    Next(me : mutable; N :  CurveRepresentation from PBRep)
-    is static;
-       ---Level: Internal 
-
-    ------------------------------------------------------
-    -- What kind of representation : used to speed Mapping
-    ------------------------------------------------------
-
-    IsCurve3D(me)               returns Boolean
-        ---Purpose: A 3D curve representation.
-    is virtual;
-
-    IsCurveOnSurface(me)        returns Boolean
-       ---Purpose: A curve in the parametric space of a surface.
-    is virtual;
-
-    IsRegularity(me)            returns Boolean
-       ---Purpose: A continuity between two surfaces.
-    is virtual;
-    
-    IsCurveOnClosedSurface(me)  returns Boolean
-       ---Purpose: A curve with two parametric   curves  on the  same
-       --          surface. 
-    is virtual;
-
-    IsGCurve(me) returns Boolean from Standard
-       ---Purpose:
-    is virtual;
-    
-    IsPolygon3D(me) returns Boolean
-       ---Purpose: 
-    is virtual;
-    
-    IsPolygonOnTriangulation(me) returns Boolean
-       ---Purpose: 
-    is virtual;
-
-    IsPolygonOnClosedTriangulation(me) returns Boolean
-       ---Purpose: 
-    is virtual;
-
-    IsPolygonOnSurface(me) returns Boolean
-       ---Purpose: 
-    is virtual;
-
-    IsPolygonOnClosedSurface(me) returns Boolean
-       ---Purpose: 
-    is virtual;
-    
-    
-fields
-    
-    myLocation : Location from PTopLoc;
-    myNext     : CurveRepresentation from PBRep;
-
-end CurveRepresentation;
diff --git a/src/PBRep/PBRep_CurveRepresentation.cxx b/src/PBRep/PBRep_CurveRepresentation.cxx
deleted file mode 100644 (file)
index f6a24b1..0000000
+++ /dev/null
@@ -1,165 +0,0 @@
-// Created on: 1993-07-26
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PBRep_CurveRepresentation.ixx>
-
-//=======================================================================
-//function : PBRep_CurveRepresentation
-//purpose  : 
-//=======================================================================
-
-PBRep_CurveRepresentation::PBRep_CurveRepresentation(const PTopLoc_Location& L) :
-  myLocation(L)
-{
-}
-
-
-//=======================================================================
-//function : Location
-//purpose  : 
-//=======================================================================
-
-PTopLoc_Location  PBRep_CurveRepresentation::Location()const 
-{
-  return myLocation;
-}
-
-//=======================================================================
-//function : Next
-//purpose  : 
-//=======================================================================
-
-Handle(PBRep_CurveRepresentation)  PBRep_CurveRepresentation::Next()const 
-{
-  return myNext;
-}
-
-
-//=======================================================================
-//function : Next
-//purpose  : 
-//=======================================================================
-
-void  PBRep_CurveRepresentation::Next
-  (const Handle(PBRep_CurveRepresentation)& N)
-{
-  myNext = N;
-}
-
-//=======================================================================
-//function : IsGCurve
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PBRep_CurveRepresentation::IsGCurve()const 
-{
-  return Standard_False;
-}
-
-
-//=======================================================================
-//function : IsCurve3D
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PBRep_CurveRepresentation::IsCurve3D()const 
-{
-  return Standard_False;
-}
-
-
-//=======================================================================
-//function : IsCurveOnSurface
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PBRep_CurveRepresentation::IsCurveOnSurface()const 
-{
-  return Standard_False;
-}
-
-
-//=======================================================================
-//function : IsCurveOnClosedSurface
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PBRep_CurveRepresentation::IsCurveOnClosedSurface()const 
-{
-  return Standard_False;
-}
-
-
-//=======================================================================
-//function : IsRegularity
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PBRep_CurveRepresentation::IsRegularity()const 
-{
-  return Standard_False;
-}
-
-//=======================================================================
-//function : IsPolygon3D
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PBRep_CurveRepresentation::IsPolygon3D()const 
-{
-  return Standard_False;
-}
-
-//=======================================================================
-//function : IsPolygonOnTriangulation
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PBRep_CurveRepresentation::IsPolygonOnTriangulation()const 
-{
-  return Standard_False;
-}
-
-
-//=======================================================================
-//function : IsPolygonOnClosedTriangulation
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PBRep_CurveRepresentation::IsPolygonOnClosedTriangulation()const 
-{
-  return Standard_False;
-}
-
-//=======================================================================
-//function : IsPolygonOnSurface
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PBRep_CurveRepresentation::IsPolygonOnSurface()const 
-{
-  return Standard_False;
-}
-
-//=======================================================================
-//function : IsPolygonOnClosedSurface
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PBRep_CurveRepresentation::IsPolygonOnClosedSurface()const 
-{
-  return Standard_False;
-}
diff --git a/src/PBRep/PBRep_GCurve.cdl b/src/PBRep/PBRep_GCurve.cdl
deleted file mode 100644 (file)
index aea6d56..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
--- Created on: 1995-10-23
--- Created by: Mister rmi
--- Copyright (c) 1995-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class GCurve from PBRep inherits CurveRepresentation from PBRep
-
-       ---Purpose: Root   class    for    the    geometric     curves
-       --          representation. Contains a range.
-       --          Contains a first and a last parameter.
-
-uses
-
-    Location from PTopLoc,
-    Pnt      from gp
-
-is
-
-    Initialize(L : Location from PTopLoc;
-              First , Last : Real from Standard);
-
-    First(me) returns Real
-    is static;
-
-    Last(me) returns Real
-    is static;
-
-    First(me : mutable; F : Real)
-    is static;
-
-    Last(me : mutable; L : Real)
-    is static;
-
-    IsGCurve(me) returns Boolean from Standard
-       ---Purpose: returns TRUE
-    is redefined;
-
-fields
-
-    myFirst    : Real;
-    myLast     : Real;
-
-end GCurve;
diff --git a/src/PBRep/PBRep_GCurve.cxx b/src/PBRep/PBRep_GCurve.cxx
deleted file mode 100644 (file)
index 1fd0805..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PBRep_GCurve.ixx>
-
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-PBRep_GCurve::PBRep_GCurve(const PTopLoc_Location& L, 
-                          const Standard_Real First, 
-                          const Standard_Real Last) :
-                          PBRep_CurveRepresentation(L),
-                          myFirst(First),
-                          myLast(Last)
-{
-}
-
-//=======================================================================
-//function : First
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PBRep_GCurve::First()const 
-{
-  return myFirst;
-}
-
-
-//=======================================================================
-//function : First
-//purpose  : 
-//=======================================================================
-
-void  PBRep_GCurve::First(const Standard_Real F)
-{
-  myFirst = F;
-}
-
-
-//=======================================================================
-//function : Last
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PBRep_GCurve::Last()const 
-{
-  return myLast;
-}
-
-
-//=======================================================================
-//function : Last
-//purpose  : 
-//=======================================================================
-
-void  PBRep_GCurve::Last(const Standard_Real L)
-{
-  myLast = L;
-}
-
-
-//=======================================================================
-//function : IsGCurve
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PBRep_GCurve::IsGCurve() const 
-{
-  return Standard_True;
-}
-
diff --git a/src/PBRep/PBRep_PointOnCurve.cdl b/src/PBRep/PBRep_PointOnCurve.cdl
deleted file mode 100644 (file)
index 645aa92..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
--- Created on: 1993-08-11
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class PointOnCurve from PBRep inherits PointRepresentation from PBRep
-  ---Purpose: Representation by a parameter on a 3D curve.
-uses
-    Curve    from PGeom,
-    Location from PTopLoc
-
-is
-    Create(P : Real;
-          C : Curve    from PGeom;
-          L : Location from PTopLoc)
-    returns PointOnCurve from PBRep;
-       ---Level: Internal 
-    
-
-    Curve(me) returns any Curve from PGeom
-    is static;
-       ---Level: Internal 
-
-    IsPointOnCurve(me) returns Boolean from Standard
-       ---Purpose: Returns True;
-    is redefined;
-    
-fields
-
-    myCurve : Curve from PGeom;
-
-end PointOnCurve;
diff --git a/src/PBRep/PBRep_PointOnCurve.cxx b/src/PBRep/PBRep_PointOnCurve.cxx
deleted file mode 100644 (file)
index bf821ce..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-// Created on: 1993-08-11
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PBRep_PointOnCurve.ixx>
-
-//=======================================================================
-//function : PBRep_PointOnCurve
-//purpose  : 
-//=======================================================================
-
-PBRep_PointOnCurve::PBRep_PointOnCurve(const Standard_Real P,
-                                      const Handle(PGeom_Curve)& C, 
-                                      const PTopLoc_Location& L) :
-       PBRep_PointRepresentation(P,L),
-       myCurve(C)
-{
-}
-
-
-//=======================================================================
-//function : Curve
-//purpose  : 
-//=======================================================================
-
-Handle(PGeom_Curve)  PBRep_PointOnCurve::Curve()const 
-{
-  return myCurve;
-}
-
-//=======================================================================
-//function : IsPointOnCurve
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean PBRep_PointOnCurve::IsPointOnCurve() const
-{
-  return Standard_True;
-}
-
diff --git a/src/PBRep/PBRep_PointOnCurveOnSurface.cdl b/src/PBRep/PBRep_PointOnCurveOnSurface.cdl
deleted file mode 100644 (file)
index 39b9584..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
--- Created on: 1993-08-11
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class PointOnCurveOnSurface from PBRep inherits PointsOnSurface from PBRep
-       ---Purpose: Representation by   a parameter on  a curve   on a
-       --          surface.
-uses
-
-    Curve    from PGeom2d,
-    Surface  from PGeom,
-    Location from PTopLoc
-
-is
-
-    Create(P : Real;
-          C : Curve from PGeom2d;
-          S : Surface from PGeom;
-          L : Location from PTopLoc)
-    returns PointOnCurveOnSurface from PBRep;
-       ---Level: Internal 
-    
-    PCurve(me) returns Curve from PGeom2d
-    is static;
-       ---Level: Internal 
-
-    IsPointOnCurveOnSurface(me) returns Boolean from Standard
-       ---Purpose: Returns True
-    is redefined;
-    
-fields
-
-    myPCurve : Curve from PGeom2d;
-
-end PointOnCurveOnSurface;
diff --git a/src/PBRep/PBRep_PointOnCurveOnSurface.cxx b/src/PBRep/PBRep_PointOnCurveOnSurface.cxx
deleted file mode 100644 (file)
index 0f124e2..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-// Created on: 1993-08-11
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PBRep_PointOnCurveOnSurface.ixx>
-
-
-//=======================================================================
-//function : PBRep_PointOnCurveOnSurface
-//purpose  : 
-//=======================================================================
-
-PBRep_PointOnCurveOnSurface::PBRep_PointOnCurveOnSurface
-  (const Standard_Real P, 
-   const Handle(PGeom2d_Curve)& C, 
-   const Handle(PGeom_Surface)& S, 
-   const PTopLoc_Location& L) :
-  PBRep_PointsOnSurface(P,S,L),
-  myPCurve(C)
-{
-}
-
-
-//=======================================================================
-//function : PCurve
-//purpose  : 
-//=======================================================================
-
-Handle(PGeom2d_Curve)  PBRep_PointOnCurveOnSurface::PCurve()const 
-{
-  return myPCurve;
-}
-
-//=======================================================================
-//function : IsPointOnCurveOnSurface
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean PBRep_PointOnCurveOnSurface::IsPointOnCurveOnSurface() const
-{
-  return Standard_True;
-}
-
diff --git a/src/PBRep/PBRep_PointOnSurface.cdl b/src/PBRep/PBRep_PointOnSurface.cdl
deleted file mode 100644 (file)
index 302fc99..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
--- Created on: 1993-08-11
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class PointOnSurface from PBRep inherits PointsOnSurface from PBRep
-       ---Purpose: Representation by two parameters on a surface.
-uses
-    Surface  from PGeom,
-    Location from PTopLoc
-
-is
-
-    Create(P1,P2 : Real;
-          S : Surface from PGeom;
-          L : Location from PTopLoc)
-    returns PointOnSurface from PBRep;
-       ---Level: Internal 
-    
-    Parameter2(me) returns Real
-    is static;
-       ---Level: Internal 
-               
-    IsPointOnSurface(me) returns Boolean from Standard
-       ---Purpose: Returns True
-    is redefined;
-
-fields
-
-    myParameter2 : Real;
-
-end PointOnSurface;
diff --git a/src/PBRep/PBRep_PointOnSurface.cxx b/src/PBRep/PBRep_PointOnSurface.cxx
deleted file mode 100644 (file)
index 58b0f55..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-// Created on: 1993-08-11
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PBRep_PointOnSurface.ixx>
-
-
-//=======================================================================
-//function : PBRep_PointOnSurface
-//purpose  : 
-//=======================================================================
-
-PBRep_PointOnSurface::PBRep_PointOnSurface(const Standard_Real P1,
-                                          const Standard_Real P2, 
-                                          const Handle(PGeom_Surface)& S, 
-                                          const PTopLoc_Location& L) :
-       PBRep_PointsOnSurface(P1,S,L),
-       myParameter2(P2)
-{
-}
-
-
-//=======================================================================
-//function : Parameter2
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PBRep_PointOnSurface::Parameter2()const 
-{
-  return myParameter2;
-}
-
-//=======================================================================
-//function : IsPointOnSurface
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean PBRep_PointOnSurface::IsPointOnSurface() const
-{
-  return Standard_True;
-}
-
diff --git a/src/PBRep/PBRep_PointRepresentation.cdl b/src/PBRep/PBRep_PointRepresentation.cdl
deleted file mode 100644 (file)
index 9208a1a..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
--- Created on: 1993-08-11
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class PointRepresentation from PBRep inherits Persistent
-
-       ---Purpose: Root class for points representations.
-
-uses
-    Location from PTopLoc
-
-is
-    Initialize(P : Real;
-              L : Location from PTopLoc);
-       ---Level: Internal 
-              
-    Location(me) returns Location from PTopLoc
-    is static;
-       ---Level: Internal 
-               
-    Parameter(me) returns Real
-    is static;
-       ---Level: Internal 
-               
-    Parameter(me : mutable; P : Real)
-    is static;
-       ---Level: Internal 
-               
-    Next(me) returns PointRepresentation from PBRep
-    is static;
-       ---Level: Internal 
-               
-    Next(me : mutable; N :  PointRepresentation from PBRep)
-    is static;
-       ---Level: Internal 
-
-    ------------------------------------------------------
-    -- What kind of representation : used to speed Mapping
-    ------------------------------------------------------
-
-    IsPointOnCurve(me)          returns Boolean
-       ---Purpose: A point on a 3d curve.
-    is virtual;
-       
-    IsPointOnCurveOnSurface(me) returns Boolean
-       ---Purpose: A point on a 2d curve on a surface.
-    is virtual;
-
-    IsPointOnSurface(me)        returns Boolean
-       ---Purpose: A point on a surface.
-    is virtual;
-    
-fields
-    
-    myLocation  : Location from PTopLoc;
-    myParameter : Real;
-    myNext      : PointRepresentation from PBRep;
-
-end PointRepresentation;
diff --git a/src/PBRep/PBRep_PointRepresentation.cxx b/src/PBRep/PBRep_PointRepresentation.cxx
deleted file mode 100644 (file)
index c6fcd43..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
-// Created on: 1993-08-11
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PBRep_PointRepresentation.ixx>
-
-//=======================================================================
-//function : PBRep_PointRepresentation
-//purpose  : 
-//=======================================================================
-
-PBRep_PointRepresentation::PBRep_PointRepresentation
-  (const Standard_Real P,
-   const PTopLoc_Location& L) :
-   myLocation(L),
-   myParameter(P)
-  
-{
-}
-
-
-//=======================================================================
-//function : Location
-//purpose  : 
-//=======================================================================
-
-PTopLoc_Location  PBRep_PointRepresentation::Location()const 
-{
-  return myLocation;
-}
-
-
-//=======================================================================
-//function : Parameter
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PBRep_PointRepresentation::Parameter()const 
-{
-  return myParameter;
-}
-
-
-//=======================================================================
-//function : Parameter
-//purpose  : 
-//=======================================================================
-
-void  PBRep_PointRepresentation::Parameter(const Standard_Real P)
-{
-  myParameter = P;
-}
-
-
-//=======================================================================
-//function : Next
-//purpose  : 
-//=======================================================================
-
-Handle(PBRep_PointRepresentation)  PBRep_PointRepresentation::Next()const 
-{
-  return myNext;
-}
-
-
-//=======================================================================
-//function : Next
-//purpose  : 
-//=======================================================================
-
-void  PBRep_PointRepresentation::Next(const Handle(PBRep_PointRepresentation)& N)
-{
-  myNext = N;
-}
-
-//=======================================================================
-//function : IsPointOnCurve
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean PBRep_PointRepresentation::IsPointOnCurve() const
-{
-  return Standard_False;
-}
-
-//=======================================================================
-//function : IsPointOnCurveOnSurface
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean PBRep_PointRepresentation::IsPointOnCurveOnSurface() const
-{
-  return Standard_False;
-}
-
-//=======================================================================
-//function : IsPointOnSurface
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean PBRep_PointRepresentation::IsPointOnSurface() const
-{
-  return Standard_False;
-}
diff --git a/src/PBRep/PBRep_PointsOnSurface.cdl b/src/PBRep/PBRep_PointsOnSurface.cdl
deleted file mode 100644 (file)
index 6209980..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
--- Created on: 1993-08-11
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class PointsOnSurface from PBRep inherits PointRepresentation from PBRep
-  ---Purpose: Root for points on surface.
-uses
-
-    Surface  from PGeom,
-    Location from PTopLoc
-
-is
-
-    Initialize (P : Real;
-               S : Surface  from PGeom;
-               L : Location from PTopLoc);
-       ---Level: Internal 
-               
-
-    Surface(me) returns Surface from PGeom
-    is static;
-       ---Level: Internal 
-    
-fields
-
-    mySurface : Surface from PGeom;
-
-end PointsOnSurface;
diff --git a/src/PBRep/PBRep_PointsOnSurface.cxx b/src/PBRep/PBRep_PointsOnSurface.cxx
deleted file mode 100644 (file)
index fef2930..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-// Created on: 1993-08-11
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PBRep_PointsOnSurface.ixx>
-
-//=======================================================================
-//function : PBRep_PointsOnSurface
-//purpose  : 
-//=======================================================================
-
-PBRep_PointsOnSurface::PBRep_PointsOnSurface
-  (const Standard_Real P, 
-   const Handle(PGeom_Surface)& S, 
-   const PTopLoc_Location& L) :
-  PBRep_PointRepresentation(P,L),
-  mySurface(S)
-{
-}
-
-
-//=======================================================================
-//function : Surface
-//purpose  : 
-//=======================================================================
-
-Handle(PGeom_Surface)  PBRep_PointsOnSurface::Surface()const 
-{
-  return mySurface;
-}
-
-
diff --git a/src/PBRep/PBRep_Polygon3D.cdl b/src/PBRep/PBRep_Polygon3D.cdl
deleted file mode 100644 (file)
index c6db65e..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
--- Created on: 1995-10-23
--- Created by: Mister rmi
--- Copyright (c) 1995-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Polygon3D from PBRep inherits CurveRepresentation from PBRep
-
-       ---Purpose: Representation by a 3D polygon.
-
-uses
-    Polygon3D           from PPoly,
-    CurveRepresentation from PBRep,
-    Location            from PTopLoc
-
-is
-
-    Create(P: Polygon3D from PPoly;
-          L: Location  from PTopLoc) 
-       ---Purpose:
-    returns Polygon3D from PBRep;
-        
-    IsPolygon3D(me) returns Boolean
-       ---Purpose: Returns True.
-    is redefined;
-    
-    Polygon3D(me) returns any Polygon3D from PPoly;
-
-fields
-
-    myPolygon3D: Polygon3D from PPoly;
-
-end Polygon3D;
diff --git a/src/PBRep/PBRep_Polygon3D.cxx b/src/PBRep/PBRep_Polygon3D.cxx
deleted file mode 100644 (file)
index fb9ab77..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PBRep_Polygon3D.ixx>
-
-
-
-//=======================================================================
-//function : PBRep_Polygon3D::PBRep_Polygon3D
-//purpose  : 
-//=======================================================================
-
-PBRep_Polygon3D::PBRep_Polygon3D(const Handle(PPoly_Polygon3D)& aPPol,
-                                const PTopLoc_Location&        aPLoc) : 
-    PBRep_CurveRepresentation(aPLoc),
-    myPolygon3D(aPPol)
-     
-{
-}
-
-//=======================================================================
-//function : PBRep_Polygon3D::IsPolygon3D
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean PBRep_Polygon3D::IsPolygon3D() const 
-{
-  return Standard_True;
-}
-
-//=======================================================================
-//function : PBRep_Polygon3D::IsPolygon3D
-//purpose  : 
-//=======================================================================
-
-Handle(PPoly_Polygon3D) PBRep_Polygon3D::Polygon3D() const 
-{
-  return myPolygon3D;
-}
-
diff --git a/src/PBRep/PBRep_PolygonOnClosedSurface.cdl b/src/PBRep/PBRep_PolygonOnClosedSurface.cdl
deleted file mode 100644 (file)
index 3325697..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
--- Created on: 1995-10-24
--- Created by: Mister rmi
--- Copyright (c) 1995-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class PolygonOnClosedSurface from PBRep
-
-    inherits PolygonOnSurface from PBRep
-    
-       ---Purpose: Representation by two 2d polygons in the parametric
-       --          space of a surface.
-
-uses Polygon2D           from PPoly,
-     Surface             from PGeom,
-     Location            from PTopLoc
-
-
-
-is
-    Create(P1: Polygon2D from PPoly;
-          P2: Polygon2D from PPoly;
-          S:  Surface   from PGeom;
-          L:  Location  from PTopLoc)
-    returns PolygonOnClosedSurface from PBRep;
-    
-    IsPolygonOnClosedSurface(me) returns Boolean
-       ---Purpose: returns True.
-    is redefined;
-
-    Polygon2(me) returns any Polygon2D from PPoly;
-
-    
-fields
-
-    myPolygon2: Polygon2D from PPoly;
-
-end PolygonOnClosedSurface;
diff --git a/src/PBRep/PBRep_PolygonOnClosedSurface.cxx b/src/PBRep/PBRep_PolygonOnClosedSurface.cxx
deleted file mode 100644 (file)
index a5afb58..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PBRep_PolygonOnClosedSurface.ixx>
-
-
-//=======================================================================
-//function : PBRep_PolygonOnClosedSurface
-//purpose  : 
-//=======================================================================
-
-PBRep_PolygonOnClosedSurface::PBRep_PolygonOnClosedSurface
-(const Handle(PPoly_Polygon2D)& aPPol2d1,
- const Handle(PPoly_Polygon2D)& aPPol2d2,
- const Handle(PGeom_Surface)&   aPSurf,
- const PTopLoc_Location&        aPLoc) :
- PBRep_PolygonOnSurface( aPPol2d1, aPSurf, aPLoc),
- myPolygon2(aPPol2d2)
-{
-}
-
-
-//=======================================================================
-//function : PBRep_PolygonOnClosedSurface::IsPolygonOnClosedSurface
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean PBRep_PolygonOnClosedSurface::IsPolygonOnClosedSurface() const 
-{
-  return Standard_True;
-}
-
-//=======================================================================
-//function : PBRep_PolygonOnSurface::Polygon2
-//purpose  : 
-//=======================================================================
-
-Handle(PPoly_Polygon2D) PBRep_PolygonOnClosedSurface::Polygon2() const 
-{
-  return myPolygon2;
-}
diff --git a/src/PBRep/PBRep_PolygonOnClosedTriangulation.cdl b/src/PBRep/PBRep_PolygonOnClosedTriangulation.cdl
deleted file mode 100644 (file)
index a0e384f..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
--- Created on: 1995-10-24
--- Created by: Mister rmi
--- Copyright (c) 1995-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class PolygonOnClosedTriangulation from PBRep 
-    
-    inherits PolygonOnTriangulation  from  PBRep
-
-
-       ---Purpose: A representation by two arrays of nodes on a 
-       --          triangulation.
-
-
-uses PolygonOnTriangulation from PPoly,
-     Location               from PTopLoc,
-     Triangulation          from PPoly
-
-
-is
-
-    Create(P1, P2   : PolygonOnTriangulation from PPoly;
-          S        : Triangulation    from PPoly;
-          L        : Location         from PTopLoc)
-    returns PolygonOnClosedTriangulation from PBRep;
-
-
-    IsPolygonOnClosedTriangulation(me)    returns Boolean
-       ---Purpose: Returns True.
-    is redefined;
-
-    PolygonOnTriangulation2(me) 
-    returns any PolygonOnTriangulation from PPoly;
-
-fields
-
-    myPolygon2:  PolygonOnTriangulation from PPoly;
-
-end PolygonOnClosedTriangulation;
diff --git a/src/PBRep/PBRep_PolygonOnClosedTriangulation.cxx b/src/PBRep/PBRep_PolygonOnClosedTriangulation.cxx
deleted file mode 100644 (file)
index 0fb4506..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PBRep_PolygonOnClosedTriangulation.ixx>
-
-
-//=======================================================================
-//function : PBRep_PolygonOnClosedTriangulation
-//purpose  : 
-//=======================================================================
-
-PBRep_PolygonOnClosedTriangulation::PBRep_PolygonOnClosedTriangulation
-(const Handle(PPoly_PolygonOnTriangulation)& aP1,
- const Handle(PPoly_PolygonOnTriangulation)& aP2,
- const Handle(PPoly_Triangulation)&      aPPol,
- const PTopLoc_Location&                 aPLoc) :
- PBRep_PolygonOnTriangulation(aP1, aPPol, aPLoc),
- myPolygon2(aP2)
-{
-}
-
-
-//=======================================================================
-//function : PBRep_PolygonOnClosedTriangulation::IsPolygonOnTriangulation
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean PBRep_PolygonOnClosedTriangulation::IsPolygonOnClosedTriangulation() const 
-{
-  return Standard_True;
-}
-
-//=======================================================================
-//function : PBRep_CurveRepresentation::PolygonOnTriangulation2
-//purpose  : 
-//=======================================================================
-
-Handle(PPoly_PolygonOnTriangulation) 
-     PBRep_PolygonOnClosedTriangulation::PolygonOnTriangulation2() const 
-{
-  return myPolygon2;
-}
diff --git a/src/PBRep/PBRep_PolygonOnSurface.cdl b/src/PBRep/PBRep_PolygonOnSurface.cdl
deleted file mode 100644 (file)
index 95a7e8a..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
--- Created on: 1995-10-24
--- Created by: Mister rmi
--- Copyright (c) 1995-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class PolygonOnSurface from PBRep inherits CurveRepresentation from PBRep 
-
-       ---Purpose: Representation of a 2D polygon in the parametric
-       --          space of a surface.
-
-
-uses
-    Polygon2D           from PPoly,
-    Surface             from PGeom,
-    Location            from PTopLoc
-
-is
-
-    Create(P: Polygon2D from PPoly;
-          S: Surface   from PGeom;
-          L: Location  from PTopLoc)
-    returns PolygonOnSurface from PBRep;
-
-
-    IsPolygonOnSurface(me)  returns Boolean
-       ---Purpose: A   2D polygon  representation  in the  parametric
-       --          space of a surface.
-    is redefined;
-
-    Surface(me) returns any Surface from PGeom;
-
-    Polygon(me) returns any Polygon2D from PPoly;
-
-
-fields
-
-    myPolygon2D: Polygon2D from PPoly;
-    mySurface  : Surface   from PGeom;
-
-
-end PolygonOnSurface;
diff --git a/src/PBRep/PBRep_PolygonOnSurface.cxx b/src/PBRep/PBRep_PolygonOnSurface.cxx
deleted file mode 100644 (file)
index 148180c..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PBRep_PolygonOnSurface.ixx>
-
-
-//=======================================================================
-//function : PBRep_PolygonOnSurface
-//purpose  : 
-//=======================================================================
-
-PBRep_PolygonOnSurface::PBRep_PolygonOnSurface
-(const Handle(PPoly_Polygon2D)& aPPol2d,
- const Handle(PGeom_Surface)&   aPSurf,
- const PTopLoc_Location&        aPLoc) :
- PBRep_CurveRepresentation(aPLoc),
- myPolygon2D(aPPol2d),
- mySurface(aPSurf)
-{
-}
-
-
-//=======================================================================
-//function : PBRep_PolygonOnSurface::IsPolygonOnSurface
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean PBRep_PolygonOnSurface::IsPolygonOnSurface() const 
-{
-  return Standard_True;
-}
-
-
-//=======================================================================
-//function : PBRep_PolygonOnSurface::Surface
-//purpose  : 
-//=======================================================================
-
-Handle(PGeom_Surface) PBRep_PolygonOnSurface::Surface() const 
-{
-  return mySurface;
-}
-
-//=======================================================================
-//function : PBRep_PolygonOnSurface::Polygon
-//purpose  : 
-//=======================================================================
-
-Handle(PPoly_Polygon2D) PBRep_PolygonOnSurface::Polygon() const 
-{
-  return myPolygon2D;
-}
diff --git a/src/PBRep/PBRep_PolygonOnTriangulation.cdl b/src/PBRep/PBRep_PolygonOnTriangulation.cdl
deleted file mode 100644 (file)
index 7a4ee02..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
--- Created on: 1995-10-23
--- Created by: Mister rmi
--- Copyright (c) 1995-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class PolygonOnTriangulation from PBRep inherits CurveRepresentation from PBRep
-
-
-       ---Purpose: A representation by an array of nodes on a 
-       --          triangulation.
-
-
-uses Location               from PTopLoc,
-     PolygonOnTriangulation from PPoly,
-     Triangulation          from PPoly
-
-is
-
-    Create(P: PolygonOnTriangulation from PPoly;
-          T: Triangulation          from PPoly;
-          L: Location               from PTopLoc)
-    returns PolygonOnTriangulation from PBRep;
-    
-    
-    IsPolygonOnTriangulation(me) returns Boolean
-       ---Purpose: returns True.
-    is redefined;
-
-    PolygonOnTriangulation(me) returns any PolygonOnTriangulation from PPoly;
-
-    Triangulation(me) returns any Triangulation from PPoly;
-        
-fields
-
-    myPolygon       : PolygonOnTriangulation from PPoly;
-    myTriangulation : Triangulation          from PPoly;
-
-end PolygonOnTriangulation;
diff --git a/src/PBRep/PBRep_PolygonOnTriangulation.cxx b/src/PBRep/PBRep_PolygonOnTriangulation.cxx
deleted file mode 100644 (file)
index 68e43cf..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PBRep_PolygonOnTriangulation.ixx>
-
-
-//=======================================================================
-//function : PBRep_PolygonOnTriangulation
-//purpose  : 
-//=======================================================================
-
-PBRep_PolygonOnTriangulation::PBRep_PolygonOnTriangulation
-(const Handle(PPoly_PolygonOnTriangulation)& aPPOT,
- const Handle(PPoly_Triangulation)&          aPPol,
- const PTopLoc_Location&                     aPLoc) :
- PBRep_CurveRepresentation(aPLoc),
- myPolygon(aPPOT),
- myTriangulation(aPPol)
-
-{
-}
-
-
-//=======================================================================
-//function : PBRep_PolygonOnTriangulation::IsPolygonOnTriangulation
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean PBRep_PolygonOnTriangulation::IsPolygonOnTriangulation() const 
-{
-  return Standard_True;
-}
-
-
-//=======================================================================
-//function : PBRep_PolygonOnTriangulation::Triangulation
-//purpose  : 
-//=======================================================================
-
-Handle(PPoly_Triangulation) PBRep_PolygonOnTriangulation::Triangulation() const 
-{
-  return myTriangulation;
-}
-
-
-//=======================================================================
-//function : PBRep_CurveRepresentation::PolygonOnTriangulation
-//purpose  : 
-//=======================================================================
-
-Handle(PPoly_PolygonOnTriangulation) 
-     PBRep_PolygonOnTriangulation::PolygonOnTriangulation() const 
-{
-  return myPolygon;
-}
diff --git a/src/PBRep/PBRep_TEdge.cdl b/src/PBRep/PBRep_TEdge.cdl
deleted file mode 100644 (file)
index e1b29a4..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
--- Created on: 1992-05-27
--- Created by: Remi LEQUETTE
--- Copyright (c) 1992-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TEdge from PBRep inherits TEdge from PTopoDS
-
-       ---Purpose: The TEdge from PBRep is  inherited from  the  TEdge
-       --          from TopoDS. It contains the geometric data.
-       --          
-       --          The TEdge contains :
-       --           
-       --           * Flags : SameParameter, SameRange, Degenerated
-       --          
-       --           * A tolerance.
-       --           
-       --           * A list of representations.
-       --           
-
-uses
-    CurveRepresentation       from PBRep
-
-is
-    Create returns TEdge from PBRep;
-       ---Purpose: Creates an empty TEdge.
-       ---Level: Internal 
-
-    Tolerance(me) returns Real
-    is static;
-       ---Level: Internal 
-       
-    Tolerance(me : mutable; T : Real)
-    is static;
-       ---Level: Internal 
-    
-    SameParameter(me) returns Boolean
-    is static;
-       ---Level: Internal 
-    
-    SameParameter(me : mutable; S : Boolean)
-    is static;
-       ---Level: Internal 
-    
-    SameRange(me) returns Boolean
-    is static;
-       ---Level: Internal 
-    
-    SameRange(me : mutable; S : Boolean)
-    is static;
-       ---Level: Internal 
-    
-    Degenerated(me) returns Boolean
-    is static;
-       ---Level: Internal 
-    
-    Degenerated(me : mutable; S : Boolean)
-    is static;
-       ---Level: Internal 
-    
-    Curves(me) returns CurveRepresentation from PBRep
-    is static;
-       ---Level: Internal 
-    
-    Curves(me : mutable; C : CurveRepresentation from PBRep)
-    is static;
-       ---Level: Internal 
-    
-
-fields
-
-    myTolerance     : Real;
-    myFlags         : Integer;
-    myCurves        : CurveRepresentation from PBRep;
-
-end TEdge;
diff --git a/src/PBRep/PBRep_TEdge.cxx b/src/PBRep/PBRep_TEdge.cxx
deleted file mode 100644 (file)
index ed86f97..0000000
+++ /dev/null
@@ -1,145 +0,0 @@
-// Created on: 1993-07-26
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PBRep_TEdge.ixx>
-
-static const Standard_Integer ParameterMask       = 1;
-static const Standard_Integer RangeMask           = 2;
-static const Standard_Integer DegeneratedMask     = 4;
-
-//=======================================================================
-//function : PBRep_TEdge
-//purpose  : 
-//=======================================================================
-
-PBRep_TEdge::PBRep_TEdge() : 
-    myTolerance(0.),
-    myFlags(0)
-{
-}
-
-//=======================================================================
-//function : Tolerance
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PBRep_TEdge::Tolerance()const 
-{
-  return myTolerance;
-}
-
-
-//=======================================================================
-//function : Tolerance
-//purpose  : 
-//=======================================================================
-
-void  PBRep_TEdge::Tolerance(const Standard_Real T)
-{
-  myTolerance = T;
-}
-
-
-//=======================================================================
-//function : SameParameter
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PBRep_TEdge::SameParameter()const 
-{
-  return myFlags & ParameterMask;
-}
-
-
-//=======================================================================
-//function : SameParameter
-//purpose  : 
-//=======================================================================
-
-void  PBRep_TEdge::SameParameter(const Standard_Boolean S)
-{
-  if (S) myFlags |= ParameterMask;
-  else   myFlags &= ~ParameterMask;
-}
-
-
-//=======================================================================
-//function : SameRange
-//purpose  : 
-//=======================================================================
-
- Standard_Boolean  PBRep_TEdge::SameRange()const 
-{
-  return myFlags & RangeMask;
-}
-
-
-//=======================================================================
-//function : SameRange
-//purpose  : 
-//=======================================================================
-
- void  PBRep_TEdge::SameRange(const Standard_Boolean S)
-{
-  if (S) myFlags |= RangeMask;
-  else   myFlags &= ~RangeMask;
-}
-
-//=======================================================================
-//function : Degenerated
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PBRep_TEdge::Degenerated()const 
-{
-  return myFlags & DegeneratedMask;
-}
-
-
-//=======================================================================
-//function : Degenerated
-//purpose  : 
-//=======================================================================
-
-void  PBRep_TEdge::Degenerated(const Standard_Boolean S)
-{
-  if (S) myFlags |= DegeneratedMask; 
-  else   myFlags &= ~DegeneratedMask;
-}
-
-
-//=======================================================================
-//function : Curves
-//purpose  : 
-//=======================================================================
-
-Handle(PBRep_CurveRepresentation)  PBRep_TEdge::Curves()const 
-{
-  return myCurves;
-}
-
-
-//=======================================================================
-//function : Curves
-//purpose  : 
-//=======================================================================
-
-void  PBRep_TEdge::Curves(const Handle(PBRep_CurveRepresentation)& C)
-{
-  myCurves = C;
-}
-
-
diff --git a/src/PBRep/PBRep_TEdge1.cdl b/src/PBRep/PBRep_TEdge1.cdl
deleted file mode 100644 (file)
index 3f2f4e9..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
--- Created on: 1992-05-27
--- Created by: Remi LEQUETTE
--- Copyright (c) 1992-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TEdge1 from PBRep inherits TEdge1 from PTopoDS
-
-       ---Purpose: The TEdge1 from PBRep is  inherited from  the  TEdge1
-       --          from TopoDS. It contains the geometric data.
-       --          
-       --          The TEdge1 contains :
-       --           
-       --           * Flags : SameParameter, SameRange, Degenerated
-       --          
-       --           * A tolerance.
-       --           
-       --           * A list of representations.
-       --           
-
-uses
-    CurveRepresentation       from PBRep
-
-is
-    Create returns TEdge1 from PBRep;
-       ---Purpose: Creates an empty TEdge1.
-       ---Level: Internal 
-
-    Tolerance(me) returns Real
-    is static;
-       ---Level: Internal 
-       
-    Tolerance(me : mutable; T : Real)
-    is static;
-       ---Level: Internal 
-    
-    SameParameter(me) returns Boolean
-    is static;
-       ---Level: Internal 
-    
-    SameParameter(me : mutable; S : Boolean)
-    is static;
-       ---Level: Internal 
-    
-    SameRange(me) returns Boolean
-    is static;
-       ---Level: Internal 
-    
-    SameRange(me : mutable; S : Boolean)
-    is static;
-       ---Level: Internal 
-    
-    Degenerated(me) returns Boolean
-    is static;
-       ---Level: Internal 
-    
-    Degenerated(me : mutable; S : Boolean)
-    is static;
-       ---Level: Internal 
-    
-    Curves(me) returns CurveRepresentation from PBRep
-    is static;
-       ---Level: Internal 
-    
-    Curves(me : mutable; C : CurveRepresentation from PBRep)
-    is static;
-       ---Level: Internal 
-    
-
-fields
-
-    myTolerance     : Real;
-    myFlags         : Integer;
-    myCurves        : CurveRepresentation from PBRep;
-
-end TEdge1;
diff --git a/src/PBRep/PBRep_TEdge1.cxx b/src/PBRep/PBRep_TEdge1.cxx
deleted file mode 100644 (file)
index 4fefd21..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
-// Created on: 1993-07-26
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PBRep_TEdge1.ixx>
-
-// Enum terms are better than statics who must be intialized.
-enum {
-  PBRep_ParameterMask       = 1,
-  PBRep_RangeMask           = 2,
-  PBRep_DegeneratedMask     = 4
-};
-
-//=======================================================================
-//function : PBRep_TEdge1
-//purpose  : 
-//=======================================================================
-
-PBRep_TEdge1::PBRep_TEdge1() : 
-    myTolerance(0.),
-    myFlags(0)
-{
-}
-
-//=======================================================================
-//function : Tolerance
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PBRep_TEdge1::Tolerance()const 
-{
-  return myTolerance;
-}
-
-
-//=======================================================================
-//function : Tolerance
-//purpose  : 
-//=======================================================================
-
-void  PBRep_TEdge1::Tolerance(const Standard_Real T)
-{
-  myTolerance = T;
-}
-
-
-//=======================================================================
-//function : SameParameter
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PBRep_TEdge1::SameParameter()const 
-{
-  return myFlags & PBRep_ParameterMask;
-}
-
-
-//=======================================================================
-//function : SameParameter
-//purpose  : 
-//=======================================================================
-
-void  PBRep_TEdge1::SameParameter(const Standard_Boolean S)
-{
-  if (S) myFlags |= PBRep_ParameterMask;
-  else   myFlags &= ~PBRep_ParameterMask;
-}
-
-
-//=======================================================================
-//function : SameRange
-//purpose  : 
-//=======================================================================
-
- Standard_Boolean  PBRep_TEdge1::SameRange()const 
-{
-  return myFlags & PBRep_RangeMask;
-}
-
-
-//=======================================================================
-//function : SameRange
-//purpose  : 
-//=======================================================================
-
- void  PBRep_TEdge1::SameRange(const Standard_Boolean S)
-{
-  if (S) myFlags |= PBRep_RangeMask;
-  else   myFlags &= ~PBRep_RangeMask;
-}
-
-//=======================================================================
-//function : Degenerated
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PBRep_TEdge1::Degenerated()const 
-{
-  return myFlags & PBRep_DegeneratedMask;
-}
-
-
-//=======================================================================
-//function : Degenerated
-//purpose  : 
-//=======================================================================
-
-void  PBRep_TEdge1::Degenerated(const Standard_Boolean S)
-{
-  if (S) myFlags |= PBRep_DegeneratedMask; 
-  else   myFlags &= ~PBRep_DegeneratedMask;
-}
-
-
-//=======================================================================
-//function : Curves
-//purpose  : 
-//=======================================================================
-
-Handle(PBRep_CurveRepresentation)  PBRep_TEdge1::Curves()const 
-{
-  return myCurves;
-}
-
-
-//=======================================================================
-//function : Curves
-//purpose  : 
-//=======================================================================
-
-void  PBRep_TEdge1::Curves(const Handle(PBRep_CurveRepresentation)& C)
-{
-  myCurves = C;
-}
-
-
diff --git a/src/PBRep/PBRep_TFace.cdl b/src/PBRep/PBRep_TFace.cdl
deleted file mode 100644 (file)
index cbf7566..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
--- Created on: 1992-05-27
--- Created by: Remi LEQUETTE
--- Copyright (c) 1992-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TFace from PBRep inherits TFace from PTopoDS
-
-       ---Purpose: The Tface from PBRep  is  based  on the TFace  from
-       --          TopoDS. The TFace contains :
-       --          
-       --          * A surface, a tolerance, a location
-       --          
-       --          * A NaturalRestriction flag,   when this  flag  is
-       --          True the  boundary of the  face is known to be the
-       --          parametric space (Umin, UMax, VMin, VMax).
-
-uses
-    Surface       from PGeom,
-    Triangulation from PPoly,
-    Location      from PTopLoc
-    
-is
-
-    Create returns TFace from PBRep;
-       ---Purpose: Creates an empty TFace.
-       ---Level: Internal 
-       
-    
-    Surface(me) returns Surface from PGeom
-    is static;
-       ---Level: Internal 
-
-    Triangulation(me) returns any Triangulation from PPoly
-    is static;
-       ---Level: Internal    
-
-    Location(me) returns Location from PTopLoc
-    is static;
-       ---Level: Internal 
-       
-    Tolerance(me) returns Real
-    is static;
-       ---Level: Internal 
-
-    Surface(me : mutable; S : Surface from PGeom)
-    is static;
-       ---Level: Internal 
-
-    Triangulation(me : mutable; T : Triangulation from PPoly)
-    is static;
-       ---Level: Internal 
-       
-    Location(me : mutable; L : Location from PTopLoc)
-    is static;
-       ---Level: Internal 
-       
-    Tolerance(me : mutable; T : Real)
-    is static;
-       ---Level: Internal 
-
-    NaturalRestriction(me) returns Boolean
-    is static;
-       ---Level: Internal 
-    
-    NaturalRestriction(me : mutable; N : Boolean)
-    is static;
-       ---Level: Internal 
-    
-fields
-
-    mySurface            : Surface  from PGeom;
-    myTriangulation      : Triangulation from PPoly;
-    myLocation           : Location from PTopLoc;
-    myTolerance          : Real;
-    myNaturalRestriction : Boolean;
-
-end TFace;
-
diff --git a/src/PBRep/PBRep_TFace.cxx b/src/PBRep/PBRep_TFace.cxx
deleted file mode 100644 (file)
index 10ab6ee..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-// Created on: 1993-07-26
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PBRep_TFace.ixx>
-
-
-//=======================================================================
-//function : PBRep_TFace
-//purpose  : 
-//=======================================================================
-
-PBRep_TFace::PBRep_TFace() :
-    myTolerance(0.),
-    myNaturalRestriction(Standard_False)
-{
-}
-
-//=======================================================================
-//function : Surface
-//purpose  : 
-//=======================================================================
-
-Handle(PGeom_Surface)  PBRep_TFace::Surface() const
-{
-  return mySurface;
-}
-
-//=======================================================================
-//function : Triangulation
-//purpose  : 
-//=======================================================================
-
-Handle(PPoly_Triangulation)  PBRep_TFace::Triangulation() const
-{
-  return myTriangulation;
-}
-
-
-//=======================================================================
-//function : Location
-//purpose  : 
-//=======================================================================
-
-PTopLoc_Location  PBRep_TFace::Location() const
-{
-  return myLocation;
-}
-
-
-//=======================================================================
-//function : Tolerance
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PBRep_TFace::Tolerance() const
-{
-  return myTolerance;
-}
-
-
-//=======================================================================
-//function : Surface
-//purpose  : 
-//=======================================================================
-
-void  PBRep_TFace::Surface(const Handle(PGeom_Surface)& S)
-{
-  mySurface = S;
-}
-
-
-//=======================================================================
-//function : Triangulation
-//purpose  : 
-//=======================================================================
-
-void  PBRep_TFace::Triangulation(const Handle(PPoly_Triangulation)& T)
-{
-  myTriangulation = T;
-}
-
-//=======================================================================
-//function : Location
-//purpose  : 
-//=======================================================================
-
-void  PBRep_TFace::Location(const PTopLoc_Location& L)
-{
-  myLocation = L;
-}
-
-
-//=======================================================================
-//function : Tolerance
-//purpose  : 
-//=======================================================================
-
-void  PBRep_TFace::Tolerance(const Standard_Real T)
-{
-  myTolerance = T;
-}
-
-//=======================================================================
-//function : NaturalRestriction
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PBRep_TFace::NaturalRestriction()const 
-{
-  return myNaturalRestriction;
-}
-
-
-//=======================================================================
-//function : NaturalRestriction
-//purpose  : 
-//=======================================================================
-
-void  PBRep_TFace::NaturalRestriction(const Standard_Boolean N)
-{
-  myNaturalRestriction = N;
-}
-
-
diff --git a/src/PBRep/PBRep_TFace1.cdl b/src/PBRep/PBRep_TFace1.cdl
deleted file mode 100644 (file)
index 53772b0..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
--- Created on: 1992-05-27
--- Created by: Remi LEQUETTE
--- Copyright (c) 1992-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TFace1 from PBRep inherits TFace1 from PTopoDS
-
-       ---Purpose: The TFace1 from PBRep  is  based  on the TFace1  from
-       --          TopoDS. The TFace1 contains :
-       --          
-       --          * A surface, a tolerance, a location
-       --          
-       --          * A NaturalRestriction flag,   when this  flag  is
-       --          True the  boundary of the  face is known to be the
-       --          parametric space (Umin, UMax, VMin, VMax).
-
-uses
-    Surface       from PGeom,
-    Triangulation from PPoly,
-    Location      from PTopLoc
-    
-is
-
-    Create returns TFace1 from PBRep;
-       ---Purpose: Creates an empty TFace1.
-       ---Level: Internal 
-       
-    
-    Surface(me) returns Surface from PGeom
-    is static;
-       ---Level: Internal 
-
-    Triangulation(me) returns any Triangulation from PPoly
-    is static;
-       ---Level: Internal    
-
-    Location(me) returns Location from PTopLoc
-    is static;
-       ---Level: Internal 
-       
-    Tolerance(me) returns Real
-    is static;
-       ---Level: Internal 
-
-    Surface(me : mutable; S : Surface from PGeom)
-    is static;
-       ---Level: Internal 
-
-    Triangulation(me : mutable; T : Triangulation from PPoly)
-    is static;
-       ---Level: Internal 
-       
-    Location(me : mutable; L : Location from PTopLoc)
-    is static;
-       ---Level: Internal 
-       
-    Tolerance(me : mutable; T : Real)
-    is static;
-       ---Level: Internal 
-
-    NaturalRestriction(me) returns Boolean
-    is static;
-       ---Level: Internal 
-    
-    NaturalRestriction(me : mutable; N : Boolean)
-    is static;
-       ---Level: Internal 
-    
-fields
-
-    mySurface            : Surface  from PGeom;
-    myTriangulation      : Triangulation from PPoly;
-    myLocation           : Location from PTopLoc;
-    myTolerance          : Real;
-    myNaturalRestriction : Boolean;
-
-end TFace1;
-
diff --git a/src/PBRep/PBRep_TFace1.cxx b/src/PBRep/PBRep_TFace1.cxx
deleted file mode 100644 (file)
index 11d2934..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-// Created on: 1993-07-26
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PBRep_TFace1.ixx>
-
-
-//=======================================================================
-//function : PBRep_TFace1
-//purpose  : 
-//=======================================================================
-
-PBRep_TFace1::PBRep_TFace1() :
-    myTolerance(0.),
-    myNaturalRestriction(Standard_False)
-{
-}
-
-//=======================================================================
-//function : Surface
-//purpose  : 
-//=======================================================================
-
-Handle(PGeom_Surface)  PBRep_TFace1::Surface() const
-{
-  return mySurface;
-}
-
-//=======================================================================
-//function : Triangulation
-//purpose  : 
-//=======================================================================
-
-Handle(PPoly_Triangulation)  PBRep_TFace1::Triangulation() const
-{
-  return myTriangulation;
-}
-
-
-//=======================================================================
-//function : Location
-//purpose  : 
-//=======================================================================
-
-PTopLoc_Location  PBRep_TFace1::Location() const
-{
-  return myLocation;
-}
-
-
-//=======================================================================
-//function : Tolerance
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PBRep_TFace1::Tolerance() const
-{
-  return myTolerance;
-}
-
-
-//=======================================================================
-//function : Surface
-//purpose  : 
-//=======================================================================
-
-void  PBRep_TFace1::Surface(const Handle(PGeom_Surface)& S)
-{
-  mySurface = S;
-}
-
-
-//=======================================================================
-//function : Triangulation
-//purpose  : 
-//=======================================================================
-
-void  PBRep_TFace1::Triangulation(const Handle(PPoly_Triangulation)& T)
-{
-  myTriangulation = T;
-}
-
-//=======================================================================
-//function : Location
-//purpose  : 
-//=======================================================================
-
-void  PBRep_TFace1::Location(const PTopLoc_Location& L)
-{
-  myLocation = L;
-}
-
-
-//=======================================================================
-//function : Tolerance
-//purpose  : 
-//=======================================================================
-
-void  PBRep_TFace1::Tolerance(const Standard_Real T)
-{
-  myTolerance = T;
-}
-
-//=======================================================================
-//function : NaturalRestriction
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PBRep_TFace1::NaturalRestriction()const 
-{
-  return myNaturalRestriction;
-}
-
-
-//=======================================================================
-//function : NaturalRestriction
-//purpose  : 
-//=======================================================================
-
-void  PBRep_TFace1::NaturalRestriction(const Standard_Boolean N)
-{
-  myNaturalRestriction = N;
-}
-
-
diff --git a/src/PBRep/PBRep_TVertex.cdl b/src/PBRep/PBRep_TVertex.cdl
deleted file mode 100644 (file)
index d6e0932..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
--- Created on: 1992-05-27
--- Created by: Remi LEQUETTE
--- Copyright (c) 1992-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TVertex from PBRep inherits TVertex from PTopoDS
-
-       ---Purpose: The TVertex from  PBRep inherits  from  the TVertex
-       --          from TopoDS. 
-       --          
-       --          The  TVertex contains a Pnt from gp and a tolerance.
-       --            
-uses
-    Pnt from gp,
-    PointRepresentation from PBRep
-
-is
-    Create returns TVertex from PBRep;
-       ---Level: Internal 
-
-    
-    Tolerance(me) returns Real
-    is static;
-       ---Level: Internal 
-    
-    Tolerance(me : mutable; T : Real)
-    is static;
-       ---Level: Internal 
-
-    Pnt(me) returns Pnt from gp
-    is static;
-       ---Level: Internal 
-       
-    Pnt(me : mutable; P : Pnt from gp)
-    is static;
-       ---Level: Internal 
-
-    Points(me) returns PointRepresentation from PBRep
-    is static;
-       ---Level: Internal 
-
-    Points(me : mutable; P : PointRepresentation from PBRep)
-    is static;
-       ---Level: Internal 
-
-fields
-
-    myTolerance : Real;
-    myPnt       : Pnt from gp;
-    myPoints    : PointRepresentation from PBRep;
-
-end TVertex;
diff --git a/src/PBRep/PBRep_TVertex.cxx b/src/PBRep/PBRep_TVertex.cxx
deleted file mode 100644 (file)
index 44c6efa..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-// Created on: 1993-07-26
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PBRep_TVertex.ixx>
-
-
-//=======================================================================
-//function : PBRep_TVertex
-//purpose  : 
-//=======================================================================
-
-PBRep_TVertex::PBRep_TVertex() : myTolerance(0.) 
-{
-}
-
-//=======================================================================
-//function : Tolerance
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PBRep_TVertex::Tolerance()const 
-{
-  return myTolerance;
-}
-
-
-//=======================================================================
-//function : Tolerance
-//purpose  : 
-//=======================================================================
-
-void  PBRep_TVertex::Tolerance(const Standard_Real T)
-{
-  myTolerance = T;
-}
-
-
-//=======================================================================
-//function : Pnt
-//purpose  : 
-//=======================================================================
-
-gp_Pnt  PBRep_TVertex::Pnt()const 
-{
-  return myPnt;
-}
-
-
-//=======================================================================
-//function : Pnt
-//purpose  : 
-//=======================================================================
-
-void  PBRep_TVertex::Pnt(const gp_Pnt& P)
-{
-  myPnt = P;
-}
-
-
-//=======================================================================
-//function : Points
-//purpose  : 
-//=======================================================================
-
-Handle(PBRep_PointRepresentation)  PBRep_TVertex::Points()const 
-{
-  return myPoints;
-}
-
-
-//=======================================================================
-//function : Points
-//purpose  : 
-//=======================================================================
-
-void  PBRep_TVertex::Points(const Handle(PBRep_PointRepresentation)& P)
-{
-  myPoints = P;
-}
-
-
diff --git a/src/PBRep/PBRep_TVertex1.cdl b/src/PBRep/PBRep_TVertex1.cdl
deleted file mode 100644 (file)
index 76a103e..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
--- Created on: 1992-05-27
--- Created by: Remi LEQUETTE
--- Copyright (c) 1992-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TVertex1 from PBRep inherits TVertex1 from PTopoDS
-
-       ---Purpose: The TVertex1 from  PBRep inherits  from  the TVertex1
-       --          from TopoDS. 
-       --          
-       --          The  TVertex1 contains a Pnt from gp and a tolerance.
-       --            
-uses
-    Pnt from gp,
-    PointRepresentation from PBRep
-
-is
-    Create returns TVertex1 from PBRep;
-       ---Level: Internal 
-
-    
-    Tolerance(me) returns Real
-    is static;
-       ---Level: Internal 
-    
-    Tolerance(me : mutable; T : Real)
-    is static;
-       ---Level: Internal 
-
-    Pnt(me) returns Pnt from gp
-    is static;
-       ---Level: Internal 
-       
-    Pnt(me : mutable; P : Pnt from gp)
-    is static;
-       ---Level: Internal 
-
-    Points(me) returns PointRepresentation from PBRep
-    is static;
-       ---Level: Internal 
-
-    Points(me : mutable; P : PointRepresentation from PBRep)
-    is static;
-       ---Level: Internal 
-
-fields
-
-    myTolerance : Real;
-    myPnt       : Pnt from gp;
-    myPoints    : PointRepresentation from PBRep;
-
-end TVertex1;
diff --git a/src/PBRep/PBRep_TVertex1.cxx b/src/PBRep/PBRep_TVertex1.cxx
deleted file mode 100644 (file)
index d5e0b8d..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-// Created on: 1993-07-26
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PBRep_TVertex1.ixx>
-
-
-//=======================================================================
-//function : PBRep_TVertex1
-//purpose  : 
-//=======================================================================
-
-PBRep_TVertex1::PBRep_TVertex1() : myTolerance(0.)
-{
-}
-
-//=======================================================================
-//function : Tolerance
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PBRep_TVertex1::Tolerance()const 
-{
-  return myTolerance;
-}
-
-
-//=======================================================================
-//function : Tolerance
-//purpose  : 
-//=======================================================================
-
-void  PBRep_TVertex1::Tolerance(const Standard_Real T)
-{
-  myTolerance = T;
-}
-
-
-//=======================================================================
-//function : Pnt
-//purpose  : 
-//=======================================================================
-
-gp_Pnt  PBRep_TVertex1::Pnt()const 
-{
-  return myPnt;
-}
-
-
-//=======================================================================
-//function : Pnt
-//purpose  : 
-//=======================================================================
-
-void  PBRep_TVertex1::Pnt(const gp_Pnt& P)
-{
-  myPnt = P;
-}
-
-
-//=======================================================================
-//function : Points
-//purpose  : 
-//=======================================================================
-
-Handle(PBRep_PointRepresentation)  PBRep_TVertex1::Points()const 
-{
-  return myPoints;
-}
-
-
-//=======================================================================
-//function : Points
-//purpose  : 
-//=======================================================================
-
-void  PBRep_TVertex1::Points(const Handle(PBRep_PointRepresentation)& P)
-{
-  myPoints = P;
-}
-
-
diff --git a/src/PCDMShape/PCDMShape.cdl b/src/PCDMShape/PCDMShape.cdl
deleted file mode 100644 (file)
index e94b261..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
--- Created on: 1998-01-08
--- Created by: Isabelle GRIGNON
--- Copyright (c) 1998-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package PCDMShape
-
-uses PCDM,CDM,TCollection,PTopoDS,PTopLoc,TopAbs
-
-is 
-
-    class Document;
-    
-end PCDM;
diff --git a/src/PCDMShape/PCDMShape_Document.cdl b/src/PCDMShape/PCDMShape_Document.cdl
deleted file mode 100644 (file)
index a2b2c49..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
--- Created on: 1998-01-08
--- Created by: Isabelle GRIGNON
--- Copyright (c) 1998-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Document from PCDMShape inherits Document from PCDM
-
-
-    ---Purpose: This document is used to store a Shape1 from PTopoDS.
-    
-uses
-
-    Orientation   from TopAbs,
-    Shape1        from PTopoDS,
-    Location      from PTopLoc
-    
-is
-    Create returns Document from PCDMShape;
-    ---Level: Internal 
-
-    Create(T : Shape1 from PTopoDS) returns Document from PCDMShape;
-    ---Level: Internal 
-
-    Shape(me) returns Shape1 from PTopoDS
-    ---Level: Internal 
-    ---C++: return const
-    is static;
-
-    Shape(me : mutable; T : Shape1 from PTopoDS)
-    ---Level: Internal 
-    is static;
-
-fields
-
-    myShape : Shape1 from PTopoDS;
-
-end Document from PCDMShape;
diff --git a/src/PCDMShape/PCDMShape_Document.cxx b/src/PCDMShape/PCDMShape_Document.cxx
deleted file mode 100644 (file)
index b766680..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-// Created on: 1998-01-08
-// Created by: Isabelle GRIGNON
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PCDMShape_Document.ixx>
-
-
-//=======================================================================
-//function : PCDMShape_Document
-//purpose  : 
-//=======================================================================
-
-PCDMShape_Document::PCDMShape_Document()
-{}
-
-
-//=======================================================================
-//function : PCDMShape_Document
-//purpose  : 
-//=======================================================================
-
-PCDMShape_Document::PCDMShape_Document(const PTopoDS_Shape1& T)
-: myShape(T)
-{}
-
-
-//=======================================================================
-//function : TShape
-//purpose  : 
-//=======================================================================
-
-const PTopoDS_Shape1 PCDMShape_Document::Shape()const 
-{ return myShape; }
-
-
-//=======================================================================
-//function : TShape
-//purpose  : 
-//=======================================================================
-
-void  PCDMShape_Document::Shape(const PTopoDS_Shape1& T)
-{ myShape = T; }
diff --git a/src/PColStd/PColStd.cdl b/src/PColStd/PColStd.cdl
deleted file mode 100644 (file)
index 86c4e29..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
--- Copyright (c) 1998-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package PColStd 
-
-uses PCollection,
-     TCollection,
-     TColStd
-
-is
-
-
---                             Instantiations de PCollection          --
---                             *****************************          --
-------------------------------------------------------------------------
-
---
---       Instantiations HArray1 (Integer,Real,Persistent)
---       ****************************************************
---       
-    class HArray1OfInteger instantiates 
-                        HArray1 from PCollection(Integer);
-
-    class HArray1OfReal instantiates 
-                        HArray1 from PCollection(Real);
-
-    class HArray1OfExtendedString instantiates 
-                        HArray1 from PCollection(HExtendedString from PCollection);
-
-    class HArray1OfPersistent instantiates 
-                        HArray1 from PCollection(Persistent);
---
---       Instantiations HArray2 (Integer,Real,Persistent)
---       ****************************************************
---       
-    class HArray2OfInteger instantiates
-                        HArray2 from PCollection(Integer);
-    class HArray2OfReal instantiates 
-                        HArray2 from PCollection(Real);
-    class HArray2OfPersistent instantiates 
-                        HArray2 from PCollection(Persistent);
-
-end PColStd;
-
-
diff --git a/src/PColgp/PColgp.cdl b/src/PColgp/PColgp.cdl
deleted file mode 100644 (file)
index 8cf08e8..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
--- Created on: 1993-03-22
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package PColgp  
-
-        ---Purpose :   This package  provides   some instantiations of
-        --         generic classes  from PCollection with objects from gp. 
-        
-uses PCollection, gp
-
-is
-
-
-
-    -- HArray1 of 2D objects.
-
-  class HArray1OfCirc2d
-    instantiates HArray1 from PCollection (Circ2d from gp);
-  class HArray1OfDir2d
-       instantiates HArray1 from PCollection (Dir2d from gp);
-  class HArray1OfLin2d
-       instantiates HArray1 from PCollection (Lin2d from gp);
-  class HArray1OfPnt2d
-       instantiates HArray1 from PCollection (Pnt2d from gp);
-  class HArray1OfVec2d
-       instantiates HArray1 from PCollection (Vec2d from gp);
-  class HArray1OfXY
-       instantiates HArray1 from PCollection (XY from gp);
-
-
-    -- HArray1 of 3D objects.
-
-  class HArray1OfDir
-       instantiates HArray1 from PCollection (Dir from gp);
-  class HArray1OfPnt
-       instantiates HArray1 from PCollection (Pnt from gp);
-  class HArray1OfVec
-       instantiates HArray1 from PCollection (Vec from gp);
-  class HArray1OfXYZ
-       instantiates HArray1 from PCollection (XYZ from gp);
-
-
-    -- HArray2 of 2D objects.
-
-  class HArray2OfCirc2d
-       instantiates HArray2 from PCollection (Circ2d from gp);
-  class HArray2OfDir2d
-       instantiates HArray2 from PCollection (Dir2d from gp);
-  class HArray2OfLin2d
-       instantiates HArray2 from PCollection (Lin2d from gp);
-  class HArray2OfPnt2d
-       instantiates HArray2 from PCollection (Pnt2d from gp);
-  class HArray2OfVec2d
-       instantiates HArray2 from PCollection (Vec2d from gp);
-  class HArray2OfXY
-       instantiates HArray2 from PCollection (XY from gp);
-
-
-    -- HArray2 of 3D objects.
-
-  class HArray2OfDir
-       instantiates HArray2 from PCollection (Dir from gp);
-  class HArray2OfPnt
-       instantiates HArray2 from PCollection (Pnt from gp);
-  class HArray2OfVec
-       instantiates HArray2 from PCollection (Vec from gp);
-  class HArray2OfXYZ
-       instantiates HArray2 from PCollection (XYZ from gp);
-
-
-    -- HSequences of 2D objects.
-
-  class HSequenceOfDir
-       instantiates HSequence  from PCollection (Dir from gp);
-  class HSequenceOfPnt
-       instantiates HSequence  from PCollection (Pnt from gp);
-  class HSequenceOfVec
-       instantiates HSequence  from PCollection (Vec from gp);
-  class HSequenceOfXYZ
-       instantiates HSequence  from PCollection (XYZ from gp);
-
-
-    -- HSequences of 2D objects.
-
---  class HSequenceOfDir2d
---     instantiates HSequence  from PCollection (Dir2d from gp);
---  class HSequenceOfPnt2d
---     instantiates HSequence  from PCollection (Pnt2d from gp);
---  class HSequenceOfVec2d
---     instantiates HSequence  from PCollection (Vec2d from gp);
---  class HSequenceOfXY
---     instantiates HSequence  from PCollection (XY from gp);
-
-
-end PColgp;
diff --git a/src/PCollection/PCollection.cdl b/src/PCollection/PCollection.cdl
deleted file mode 100644 (file)
index 513a0e4..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
--- Created on: 1993-02-09
--- Created by: Mireille MERCIEN
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package PCollection
-
-uses 
-    Standard,
-    DBC,
-    MMgt,
-    PMMgt,
-    TCollection
-is
-          
-        enumeration AccessMode is
-           Read,
-           Update
-        end AccessMode;
-
-    
-        generic class HArray1, FieldOfHArray1 ;   
-
-        generic class HArray2, FieldOfHArray2 ;   
-
-       generic class HSequence,SeqNode,SeqExplorer;
-
-        class HAsciiString;
-
-       class HExtendedString;
-       
-       
-end PCollection;
-
-
diff --git a/src/PCollection/PCollection_HArray1.cdl b/src/PCollection/PCollection_HArray1.cdl
deleted file mode 100644 (file)
index 5758287..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
--- Created on: 1992-11-25
--- Created by: Jean Pierre TIRAULT
--- Copyright (c) 1992-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-generic class HArray1 from PCollection  (Item as Storable) 
-inherits Persistent
-
-       ---Purpose: The class HArray1 represents unidimensionnal 
-       -- array of fixed size known at run time. 
-       -- The range of the index is user defined. 
-       --  Warning: Programs clients of such class must be independent
-       -- of the range of the first element. Then, a C++ for
-       -- loop must be written like this
-       --     for (i = A->Lower(); i <= A->Upper(); i++)
-uses 
-    Integer from Standard,
-    Address from Standard
-    
-raises 
-    OutOfRange from Standard,
-    RangeError from Standard
-    
-    class FieldOfHArray1 instantiates VArray from DBC (Item);
-    
-is
-
-
-       Create (Low, Up: Integer from Standard) returns HArray1
-               raises RangeError from Standard;
-               ---Purpose: Creates an array of lower bound <Low> and 
-                -- upper bound <Up>. Range error is raised 
-                -- when <Up> is less than <Low>.
-
-       Create (Low, Up: Integer from Standard ; V : Item) 
-                returns HArray1
-               raises RangeError from Standard;
-               ---Purpose: Creates an array of lower bound <Low> and 
-                -- upper bound <Up>. Range error is raised 
-                -- when <Up> is less than <Low>.
-               -- The Array is initialized with V
-
-       Length (me) returns Integer from Standard
-               is static ;
-               ---Purpose:  Returns the number of elements of <me>.
-                ---Level: Public
-               ---C++: inline
-
-       Lower (me) returns Integer from Standard
-               is static ;
-               ---Purpose: Returns the lower bound.
-                ---Level: Public
-               ---C++: inline
-
-       SetValue (me : mutable; Index: Integer from Standard; Value: Item) 
-               ---Purpose: Assigns Value to the Index-th element of this array.
-               -- Example
-               -- PCollection_HArray1
-               -- myTable(1,100);
-               -- myTable->SetValue(3, 1551);
-               -- assert (myTable(3) == 1551);
-               -- Exceptions
-               -- Standard_OutOfRange if Index is not within the bounds of this array
-               raises OutOfRange from Standard
-               is static ;
-               ---Purpose: Set the <Index>th element of the array to <Value>.
-                ---Level: Public
-
-       Upper (me) returns Integer from Standard
-               is static ;
-               ---Purpose: Returns the upper bound.
-                ---Level: Public
-               ---C++: inline
-
-       Value (me; Index: Integer from Standard) returns any Item
-               raises OutOfRange from Standard
-               is static;
-               ---Purpose: Returns the value of the <Index>th element of the array.
-               --  Example
-               -- PCollection_HArray1
-               -- myTable(1,100);
-               -- myTable->SetValue(3, 1551);
-               -- Standard_Integer myItem =
-               -- myTable->Value(3);
-               -- Exceptions
-               -- Standard_OutOfRange if Index is not within the bounds of this array. 
-    
-       Field (me)returns FieldOfHArray1 
-                ---Level: Internal
-                is private;
-               ---Purpose: Private method that returns the field Data.
-        
-        Datas(me) returns Address
-                ---Level: Internal
-               is private;
-
-fields 
-
-       LowerBound   : Integer from Standard ;
-        UpperBound   : Integer from Standard ;
-       Data         : FieldOfHArray1    ;
-
-end HArray1 ;
-
-
diff --git a/src/PCollection/PCollection_HArray1.gxx b/src/PCollection/PCollection_HArray1.gxx
deleted file mode 100644 (file)
index b7b8432..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <Standard_OutOfRange.hxx>
-#include <Standard_RangeError.hxx>
-#include <Standard_NotImplemented.hxx>
-#include <Standard_ProgramError.hxx>
-
-// ----------------------------------------------------------------------
-// HArray1 implementation:
-// Last Revision : Feb,10 1992 J.P Tirault
-//                 Implementation of ShallowCopy, ShallowDump
-//                 methods.
-// ----------------------------------------------------------------------
-//                 Constructor
-// ----------------------------------------------------------------------
-
-PCollection_HArray1::PCollection_HArray1 
-           (const Standard_Integer First, 
-            const Standard_Integer Last) : Data (Last-First+1)
-{
-       Standard_Integer Size = Last-First+1;
-       if( Size <= 0 ) Standard_RangeError::Raise();
-       LowerBound = First ;
-       UpperBound = Last ;
-}
-
-
-// ----------------------------------------------------------------------
-//                 datas
-// ----------------------------------------------------------------------
-
-Standard_Address PCollection_HArray1::Datas() const
-{
-  return ((Standard_Address)Data.Lock());
-}
-
-// ----------------------------------------------------------------------
-//                 Constructor
-// ----------------------------------------------------------------------
-
-PCollection_HArray1::PCollection_HArray1 
-           (const Standard_Integer First, 
-            const Standard_Integer Last, 
-            const Item& V) :Data (Last-First+1) {
-
-       Standard_Integer Size = Last-First+1;
-       if( Size <= 0 ) Standard_RangeError::Raise();
-       LowerBound = First ;
-       UpperBound = Last ;
-       for(Standard_Integer I = 0 ; I < Size ; I++) Data.SetValue(I, V);
-}
-
-
-// ----------------------------------------------------------------------
-//                  Destructor
-// ----------------------------------------------------------------------
-
-/*
-void PCollection_HArray1::~PCollection_HArray1 () 
-{
-       delete Data ;
-}
-*/
-
-
-/* Anciens INLINE */
-
-// ----------------------------------------------------------------------
-//                   SetValue
-// ----------------------------------------------------------------------
-void PCollection_HArray1::SetValue
-            ( const Standard_Integer Index, const Item& Value)
-{
-  Standard_OutOfRange_Raise_if((Index < LowerBound || Index > UpperBound),
-        "Index out of range in HArray1::SetValue");
-  Data.SetValue(Index-LowerBound, Value) ;
-}
-
-
-// ----------------------------------------------------------------------
-//                      Value
-// ----------------------------------------------------------------------
-Item PCollection_HArray1::Value
-            ( const Standard_Integer Index) const
-{
-  Standard_OutOfRange_Raise_if((Index < LowerBound || Index > UpperBound),
-        "Index out of range in HArray1::operator()");
-
-  return Data(Index-LowerBound);
-
-}
-
-// ------------------------------------------------------------------
-//
-// ------------------------------------------------------------------
-PCollection_FieldOfHArray1 PCollection_HArray1::Field () const
-{
-  return Data ;
-}
-   
diff --git a/src/PCollection/PCollection_HArray1.lxx b/src/PCollection/PCollection_HArray1.lxx
deleted file mode 100644 (file)
index be32fce..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <Standard_OutOfRange.hxx>
-
-
-// ------------------------------------------------------------------
-// ------------------------------------------------------------------
-inline Standard_Integer PCollection_HArray1::Length () const 
-{
-       return UpperBound-LowerBound+1 ;
-}
-
-
-
-// ------------------------------------------------------------------
-//
-// ------------------------------------------------------------------
-inline Standard_Integer PCollection_HArray1::Lower () const
-{
-       return LowerBound ;
-}
-
-
-
-// ------------------------------------------------------------------
-//
-// ------------------------------------------------------------------
-inline Standard_Integer PCollection_HArray1::Upper () const
-{
-       return UpperBound ;
-}
-
-
-
diff --git a/src/PCollection/PCollection_HArray2.cdl b/src/PCollection/PCollection_HArray2.cdl
deleted file mode 100644 (file)
index 6708e98..0000000
+++ /dev/null
@@ -1,141 +0,0 @@
--- Copyright (c) 1998-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-generic class HArray2 from PCollection (Item as Storable) 
-inherits Persistent
-
-       ---Purpose: The class HArray2 represents bi-dimensionnal 
-       -- arrays fixed size known at run time. 
-       -- The range of the index is user defined. 
-       --  Warning: Programs clients of such class must be independant
-       -- of the range of the first element. Then, a C++ for
-       -- loop must be written like this
-       --    for (i = A->LowerRow(); i <= A->UpperRow(); i++)
-       --           for (j = A->LowerCol(); j <= A->UpperCol(); j++)
-
-raises 
-    RangeError from Standard,
-    OutOfRange from Standard
-
-
-    class FieldOfHArray2 instantiates VArray from DBC (Item);
-
-is
-
-       Create (R1, R2, C1, C2: Integer from Standard) 
-               returns HArray2 from PCollection
-               raises RangeError from Standard;
-               ---Purpose: Creates an array of lower bound <R1><C1> and 
-                -- upper bound <R2><C2>. Range Error is raised 
-                -- when <R2> is less than <R1> or <C2> is less than <C1>.
-
-       Create (R1, R2, C1, C2: Integer from Standard ; V : Item) 
-                returns HArray2 from PCollection
-                 raises RangeError from Standard;
-               ---Purpose: Creates an array of lower bound <R1><C1> and 
-                -- upper bound <R2><C2>. RangeError is raised 
-                -- when <R2> is less than <R1> or <C2> is less
-               -- than <C1>.
-               -- The array is initialized with V.
-
-       ColLength (me) returns Integer from Standard
-               is static ;
-               ---Purpose: Returns the number of rows of <me>.
-                --Example
-               -- PCollection_HArray2
-               -- myTable(1,100, 1, 50);
-               -- Standard_Integer noOfRows =
-               -- myTable->ColLength();
-
-       LowerCol (me) returns Integer from Standard
-               is static ;
-               ---Purpose: Returns the lower column number of the array.
-                ---Level: Public
-               ---C++: inline
-
-       LowerRow (me) returns Integer from Standard
-               is static ;
-               ---Purpose: Returns the lower row number of the array.
-                ---Level: Public
-               ---C++: inline
-
-       RowLength (me) returns Integer from Standard
-               is static;
-               ---Purpose: Returns the number of columns of <me>.
-                -- Example
-               -- PCollection_HArray2
-               -- myTable(1,100, 1, 50);
-               -- Standard_Integer noOfColumns =
-               -- myTable->RowLength();
-
-       SetValue (me : mutable; Row, Col: Integer from Standard; Value: Item) 
-               raises OutOfRange from Standard
-               is static ;
-                ---Level: Public
-               ---Purpose: Assigns Value to the element which is at index
-               -- (Row, Column) of this array.
-               -- Example
-               -- PCollection_HArray2
-               -- myTable(1,100,1,50);
-               -- myTable->SetValue(3,5, 1551);
-               -- assert (myTable(3,5) == 1551);
-               -- Exceptions
-               -- Standard_OutOfRange if the index (Row,
-               -- Column) is not within the bounds of this array. 
-
-       UpperCol (me) returns Integer from Standard
-               is static ;
-                ---Level: Public
-               ---Purpose: Returns the upper column number of the array.
-               ---C++: inline
-
-       UpperRow (me) returns Integer from Standard
-                ---Level: Public
-               is static ;
-                ---Level: Public
-               ---Purpose: Returns the upper row number of the array.
-               ---C++: inline
-
-       Value (me; Row,Col: Integer from Standard) returns any Item
-               raises OutOfRange from Standard
-               is static;
-               ---Purpose: Returns the value of the element at index (Row,
-               -- Column) of this array.
-               -- Example
-               -- PCollection_HArray2
-               --  myTable(1,100,1,50);
-               --  myTable->SetValue(3,5,1551);
-               -- Standard_Integer myItem = myTable->Value(3,5);
-               -- Exceptions
-               -- Standard_OutOfRange if the index (Row,
-               -- Column) is not within the bounds of this array.
-
-       Field (me) returns FieldOfHArray2 
-                is private;
-                ---Level: Internal
-               ---Purpose: Returns the field Data. Private method.
-
-        Datas(me) returns Address
-                ---Level: Internal
-               is private;
-
-fields 
-
-       myLowerRow    : Integer from Standard ;
-       myLowerCol    : Integer from Standard ;
-        myUpperRow    : Integer from Standard ;
-        myUpperCol    : Integer from Standard ;
-       Data          : FieldOfHArray2    ;
-
-end HArray2 ;
diff --git a/src/PCollection/PCollection_HArray2.gxx b/src/PCollection/PCollection_HArray2.gxx
deleted file mode 100644 (file)
index ab3d501..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-// --------------------------------------------------------------------
-// HArray2 Implementation :
-// Last Revision : Feb,10 1992 J.P Tirault
-//                 Implementation of ShallowCopy, ShallowDump
-//                 methods.
-// --------------------------------------------------------------------
-
-
-// --------------------------------------------------------------------
-//                            Exceptions raised
-// --------------------------------------------------------------------
-#include <Standard_OutOfRange.hxx>
-#include <Standard_RangeError.hxx>
-#include <Standard_NotImplemented.hxx>
-
-// --------------------------------------------------------------------
-//                            Constructor 
-// --------------------------------------------------------------------
-PCollection_HArray2::PCollection_HArray2 
-      (const Standard_Integer R1, 
-       const Standard_Integer R2, 
-       const Standard_Integer C1, 
-       const Standard_Integer C2) : Data( (C2-C1+1)*(R2-R1+1) )
-{
-  Standard_RangeError_Raise_if((C2-C1+1 <= 0  || R2-R1+1 <= 0 ),
-                 "Attempt to create a Double Array with negative size");
-
-  myLowerRow = R1;
-  myLowerCol = C1;
-  myUpperRow = R2;
-  myUpperCol = C2;
-
-}
-
-// ----------------------------------------------------------------------
-//                 datas
-// ----------------------------------------------------------------------
-
-Standard_Address PCollection_HArray2::Datas() const
-{
-  return ((Standard_Address)Data.Lock());
-}
-
-
-// --------------------------------------------------------------------
-//                            Constructor 
-// --------------------------------------------------------------------
-PCollection_HArray2::PCollection_HArray2 
-                         (const Standard_Integer R1, 
-                          const Standard_Integer R2,
-                          const Standard_Integer C1, 
-                          const Standard_Integer C2, 
-                          const Item& V) : Data ( (C2-C1+1)*(R2-R1+1) )
-{
-  Standard_RangeError_Raise_if((C2-C1+1 <= 0  || R2-R1+1 <= 0 ),
-                 "Attempt to create a Double Array with negative size");
-
-  myLowerRow = R1;
-  myLowerCol = C1;
-  myUpperRow = R2;
-  myUpperCol = C2;
-  Standard_Integer Size = Data.Length();
-
-  for (Standard_Integer I = 0; I < Size ; I++) Data.SetValue(I,V); 
-}
-
-
-// --------------------------------------------------------------------
-//                            Destructor : Not Implemented
-// --------------------------------------------------------------------
-
-/*
-void PCollection_HArray2::~PCollection_HArray2 () 
-{
-       delete Data ;
-}
-*/
-
-/* Anciens INLINE */
-
-// --------------------------------------------------------------------
-//                            SetValue
-// --------------------------------------------------------------------
-void PCollection_HArray2::SetValue ( const Standard_Integer Row,
-                                         const Standard_Integer Col,
-                                         const Item& Value)
-{
-  Standard_OutOfRange_Raise_if((Row <myLowerRow || Row > myUpperRow ||
-                                Col <myLowerCol || Col > myUpperCol),
-                               "Index out of range in HArray2::SetValue");
-
-  Data.SetValue((Row-myLowerRow)*(myUpperCol-myLowerCol+1)+
-                (Col-myLowerCol), Value) ;
-}
-
-
-// --------------------------------------------------------------------
-//                            Value
-// --------------------------------------------------------------------
-Item PCollection_HArray2::Value (const Standard_Integer Row,
-                                     const Standard_Integer Col) const
-{
-  Standard_OutOfRange_Raise_if((Row <myLowerRow || Row > myUpperRow ||
-                                Col <myLowerCol || Col > myUpperCol),
-                               "Index out of range in HArray2::SetValue");
-
-  return Data((Row-myLowerRow) * (myUpperCol-myLowerCol+1) +
-              (Col-myLowerCol)) ;
-}
-
-
-// ------------------------------------------------------------------
-//
-// ------------------------------------------------------------------
-PCollection_FieldOfHArray2 PCollection_HArray2::Field () const
-{
-  return Data ;
-}
-   
diff --git a/src/PCollection/PCollection_HArray2.lxx b/src/PCollection/PCollection_HArray2.lxx
deleted file mode 100644 (file)
index 7e4346a..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-// ------------------------------------------------------------------
-// ------------------------------------------------------------------
-
-
-
-inline Standard_Integer PCollection_HArray2::ColLength () const
-{
-       return myUpperRow - myLowerRow + 1 ;
-}
-
-
-
-// ------------------------------------------------------------------
-//
-// ------------------------------------------------------------------
-inline Standard_Integer PCollection_HArray2::LowerCol () const
-{
-       return myLowerCol ;
-}
-
-
-
-// ------------------------------------------------------------------
-//
-// ------------------------------------------------------------------
-inline Standard_Integer PCollection_HArray2::UpperCol () const
-{
-       return myUpperCol ;
-}
-
-
-// ------------------------------------------------------------------
-//
-// ------------------------------------------------------------------
-inline Standard_Integer PCollection_HArray2::LowerRow () const
-{
-       return myLowerRow;
-}
-
-
-
-
-// ------------------------------------------------------------------
-//
-// ------------------------------------------------------------------
-inline Standard_Integer PCollection_HArray2::RowLength () const
-{
-       return myUpperCol - myLowerCol + 1 ;
-}
-
-
-
-// ------------------------------------------------------------------
-//
-// ------------------------------------------------------------------
-inline Standard_Integer PCollection_HArray2::UpperRow () const
-{
-       return myUpperRow ;
-}
-
-
-
diff --git a/src/PCollection/PCollection_HAsciiString.cdl b/src/PCollection/PCollection_HAsciiString.cdl
deleted file mode 100644 (file)
index cb1476b..0000000
+++ /dev/null
@@ -1,472 +0,0 @@
--- Created on: 1993-02-10
--- Created by: Mireille MERCIEN
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class HAsciiString from PCollection 
-           
-        inherits Persistent
-    
-        ---Purpose: Describes a persistent ASCII character string of variable length.
-
-    uses   VArrayOfCharacter from DBC,
-           HExtendedString from PCollection,
-           AsciiString from TCollection 
-
-    raises OutOfRange from Standard, 
-           NegativeValue from Standard,
-          NumericError from Standard
-is
-
-
-       Create(S : CString) 
-            returns HAsciiString from PCollection;
-       ---Purpose: Creation and initialization with the string S.
-
-       Create(S : AsciiString from TCollection) 
-            returns HAsciiString from PCollection;
-       ---Purpose: Creation and initialization with the string S from TCollection.
-
-       Create(C : Character from Standard)
-            returns HAsciiString from PCollection;
-       ---Purpose: Creation and initialization with the character C.
-
-       Create(S : HAsciiString from PCollection;
-              FromIndex, ToIndex : Integer from Standard) 
-           returns HAsciiString from PCollection
-           raises NegativeValue from Standard;
-        ---Purpose: Creation of a sub-string of the string S.
-        -- The sub-string starts at the index FromIndex and ends
-        -- at the index ToIndex
-        ---Trigger: Raises an exception if ToIndex is less than FromIndex .
-        ---Example: before
-        -- S = "abcdefg", FromIndex=3, ToIndex=6
-        -- after
-        -- S = "abcdefg"
-        -- returns
-        -- "cdef"
-
-        Create(S : HExtendedString from PCollection)
-            returns HAsciiString from PCollection
-           raises OutOfRange from Standard;
-       ---Purpose: Creation by converting an extended string to a normal
-       -- string. Raises OutOfRange if the String is not in the "Ascii range".
-         
-       Create(R : Real from Standard ; F : CString = "%f") 
-            returns HAsciiString from PCollection;
-       ---Purpose: Creation and initialization by converting the real 
-       -- value into a string. 
-       -- F describes a format using "C" conventions.
-
-       Create(I : Integer from Standard ; F : CString = "%d")
-            returns HAsciiString from PCollection;
-       ---Purpose: Creation and initialization by converting the Integer
-       -- value into a string.
-       -- F describes a format using "C" conventions.
-
-       Append(me : mutable; S : HAsciiString from PCollection);
-        ---Level: Public
-       ---Purpose: Pushing a string at the end of the string me
-        ---Example:
-        -- before
-        --   me = "abcd" , S = "ef"
-        -- after
-        --   me = "abcdef" , S = "ef"
-
-       Capitalize(me : mutable);
-        ---Level: Public
-        ---Purpose: Converts the first character into its corresponding 
-        -- upper-case character and the other characters into lowercase
-        ---Example: before
-        --   me = "hellO "
-        -- after
-        --   me = "Hello "
-
-       Center(me : mutable; 
-               Width : Integer from Standard;
-               Filler : Character from Standard) 
-       raises NegativeValue from Standard;
-        ---Level: Public
-       ---Purpose: center
-       -- Length becomes equal to Width and the new characters are
-       -- equal to Filler
-       -- Raises an exception if Width is less than zero
-       -- if Width < Length nothing happens
-       ---Example: before
-       -- me = "abcdef" , Width = 9 , Filler = ' '
-       -- after
-       -- me = "  abcdef " 
-
-       ChangeAll(me : mutable; 
-                  C, NewC : Character from Standard; 
-                 CaseSensitive : Boolean from Standard);
-        ---Level: Public
-        ---Purpose: Substitutes all the characters equal to C by NewC in the
-        -- string <me>.The substition can be case sensitive.
-        ---Example: before
-        -- me = "HetTo" , C = 't' , NewC = 'l' , 
-        -- CaseSensitive = True
-        -- after
-        -- me = "HelTo"
-
-       Clear(me : mutable);
-        ---Level: Public
-       ---Purpose: Remove all characters in the string <me>.
-        -- Length is equal to zero now.
-
-        Convert(me) returns AsciiString from TCollection;
-        ---Level: Public
-        ---Purpose: Converts a persistent HAsciiString to a non
-        -- persistent AsciiString.
-
-       FirstLocationInSet(me; Set : HAsciiString from PCollection;
-                                 FromIndex : Integer from Standard; 
-                                 ToIndex   : Integer from Standard)
-               returns Integer
-               raises OutOfRange from Standard;
-        ---Level: Public
-        ---Purpose: Returns the index of the first character of <Set> founded in <me>.
-        -- The search begins to the index FromIndex and ends to the
-        -- the index ToIndex.
-        -- Returns zero if failure.
-        -- Raises an exception if FromIndex or ToIndex is out of range.
-        ---Example: before 
-        --   me = "aabAcAa", S = "Aa", FromIndex = 1, Toindex = 7
-        -- after
-        --   me = "aabAcAa"
-        -- returns
-        --   4
-
-       FirstLocationNotInSet(me; Set : HAsciiString from PCollection;
-                                     FromIndex : Integer; 
-                                     ToIndex   : Integer) returns Integer
-               raises OutOfRange from Standard;
-        ---Level: Public
-        ---Purpose: Returns the index of the first character of <me> 
-        -- that is not present in the set <Set>.
-        -- The search begins to the index FromIndex and ends to the
-        -- the index ToIndex in <me>.
-        -- Returns zero if failure.
-        -- Raises an exception if FromIndex or ToIndex is out of range.
-        ---Example: before 
-        --  me = "aabAcAa", S = "Aa", FromIndex = 1, Toindex = 7
-        -- after
-        --   me = "aabAcAa"
-        -- returns
-        --   3
-
-       InsertAfter(me : mutable; Index : Integer; 
-                    S : HAsciiString from PCollection)
-       raises OutOfRange from Standard;
-        ---Level: Public
-       ---Purpose: Pushing a string after a specific index in the string <me>.
-       -- Raises an exception if Index is out of bounds.
-       ---Example: before
-       -- me = "cde" , Index = 0 , S = "ab"  
-       -- after
-       -- me = "abcde" , S = "ab"
-
-       InsertBefore(me : mutable; Index : Integer; 
-                     S : HAsciiString from PCollection)
-        raises OutOfRange from Standard;
-        ---Level: Public
-       ---Purpose: Pushing a string before a specific index in the string <me>
-       -- Raises an exception if Index is out of bounds
-       ---Example: before
-       -- me = "cde" , Index = 1 , S = "ab"  
-       -- after
-       -- me = "abcde" , S = "ab"
-
-       IntegerValue(me) returns Integer 
-       raises NumericError from Standard;
-        ---Level: Public
-        ---Purpose: Returns the integer value corresponding to the string <me>
-        -- Raises an exception if the string does not correspond to
-        -- an integer value.
-        ---Example: me = "   10       " -> 10
-
-        IsDifferent (me ; other : HAsciiString) returns Boolean;
-        ---Level: Public
-        ---Purpose: Test if characters are different 
-        -- between <me> and <other>.
-   
-       IsEmpty(me) returns Boolean from Standard;
-        ---Level: Public
-       ---Purpose:  Returns True if the string <me> contains zero character
-
-        IsGreater (me ; other : HAsciiString) returns Boolean;
-        ---Level: Public
-        ---Purpose: Returns TRUE if <me> is 'ASCII' greater than <other>.
-
-       IsIntegerValue(me) returns Boolean from Standard; 
-        ---Level: Public
-        ---Purpose: Returns True if the string contains an integer value.
-       ---Example: me = "3.14 " -> False 
-        -- me = "123"   -> True
-
-        IsLess (me ; other : HAsciiString) returns Boolean;
-        ---Level: Public
-        ---Purpose: Returns TRUE if <me> is 'ASCII' less than <other>.
-
-       IsRealValue(me) returns Boolean from Standard; 
-        ---Level: Public
-        ---Purpose: Returns True if the string contains an Real value.
-       ---Example: me = "3.14 " -> True
-        -- me = "123"   -> True
-        -- me = "3.14a" -> False
-
-       IsSameString(me ; S : HAsciiString from PCollection)
-        ---Level: Public
-       ---Purpose: Returns True if two strings are equal.
-       -- The comparison is case sensitive.
-       returns Boolean from Standard;
-
-       IsSameString(me; S : HAsciiString from PCollection;
-                    CaseSensitive : Boolean from Standard) 
-       returns Boolean from Standard;
-        ---Level: Public
-        ---Purpose: Returns True if two strings are equal.
-        -- The comparison is case sensitive if the flag is set.
-  
-       LeftAdjust(me : mutable);
-        ---Level: Public
-        ---Purpose: Removes all space characters in the begining of the 
-        -- string.
-
-       LeftJustify(me : mutable; Width : Integer; 
-                    Filler : Character from Standard) 
-       raises NegativeValue from Standard;
-        ---Level: Public
-       ---Purpose: Left justify.
-       -- Length becomes equal to Width and the new characters are
-       -- equal to Filler.
-       -- If Width < Length nothing happens.
-       -- Raises an exception if Width is less than zero.
-       ---Example: before
-       --   me = "abcdef" , Width = 9 , Filler = ' '
-       -- after
-       --   me = "abcdef   " 
-
-       Length(me) returns Integer;
-        ---Level: Public
-       ---Purpose: Number of characters of the String.
-
-       Location(me; N : Integer; C : Character from Standard; 
-                    FromIndex : Integer; 
-                    ToIndex   : Integer) 
-        returns Integer
-       raises OutOfRange from Standard;
-        ---Level: Public
-        ---Purpose: Returns the index of the nth occurence of the character C
-        -- in the string <me> from the starting index FromIndex to the
-        -- ending index ToIndex.
-        -- Returns zero if failure.
-        -- Raises an exception if FromIndex or ToIndex is out of range.
-        ---Example: before 
-        --   me = "aabAa", N = 3, C = 'a', FromIndex = 1, ToIndex = 5
-        -- after
-        --   me = "aabAa"
-        -- returns
-        --   5
-
-       Location(me; S : HAsciiString from PCollection;
-                    FromIndex : Integer; 
-                    ToIndex   : Integer) 
-        returns Integer
-       raises OutOfRange from Standard;
-        ---Level: Public
-        ---Purpose: Returns an index in the string <me> of the first occurence
-        -- of the string S in the string <me> from the starting index
-        -- FromIndex to the ending index ToIndex
-        -- returns zero if failure
-        -- Raises an exception if FromIndex or ToIndex is out of range.
-        ---Example: before 
-        --   me = "aabAaAa", S = "Aa", FromIndex = 1, ToIndex = 7
-        -- after
-        --   me = "aabAaAa"
-        -- returns
-        --   4
-
-       Lowercase(me : mutable);
-        ---Level: Public
-        ---Purpose: Converts any upper-case character to its corresponding
-        -- lower-case character in the string <me>. If there is no
-        -- corresponding lower-case character, the character is
-        -- unchanged
-        -- before
-        -- me = "aBAcd123"
-        -- after
-        -- me = "abacd123"
-
-       Prepend(me : mutable; S : HAsciiString from PCollection);
-        ---Level: Public
-       ---Purpose: Pushing a string at the begining of the string <me>
-       -- before
-       --  me = "cde" , S = "ab"
-       -- after
-       --  me = "abcde" , S = "ab"
-
-       Print(me ; S : in out OStream);
-        ---Level: Public
-       ---Purpose: Prints the content of <me> on the stream S.
-
-       RealValue(me) returns Real from Standard 
-       raises NumericError from Standard;
-        ---Level: Public
-        ---Purpose: Returns the real value corresponding to the string <me>.
-        -- Raises an exception if the string does not correspond to a real value.
-        ---Example: me = "   10       " returns 10.0
-
-       Remove(me : mutable; Index : Integer) 
-        ---Level: Public
-       ---Purpose: Removes the character located at the index Index in the string.
-        -- Raises an exception if Index is out of bounds.
-       raises OutOfRange from Standard;
-
-       Remove(me : mutable; FromIndex, ToIndex : Integer) 
-        ---Level: Public
-       ---Purpose: Removes all the characters from the index FromIndex to the
-        -- index ToIndex.
-        -- Raises an exception if FromIndex or ToIndex is out of bounds.
-        raises OutOfRange from Standard;
-
-       RemoveAll(me : mutable; C : Character from Standard;
-                  CaseSensitive : Boolean from Standard);
-        ---Level: Public
-        ---Purpose: Removes all the occurences of the character C in the string
-        ---Example: before
-        --  me = "HellLLo", C = 'L' , CaseSensitive = True
-        -- after
-        --  me = "Hello"
-
-       RightAdjust(me : mutable);
-        ---Level: Public
-        ---Purpose: Removes all space characters at the end of the string.
-
-       RightJustify(me : mutable; 
-                     Width : Integer;
-                    Filler : Character from Standard) 
-       raises NegativeValue from Standard;
-        ---Level: Public
-       ---Purpose: Right justify.
-       -- Length becomes equal to Width and the new characters are
-       -- equal to Filler.
-       -- If Width < Length nothing happens.
-       -- Raises an exception if Width is less than zero.
-       ---Example: before
-       --  me = "abcdef" , Width = 9 , Filler = ' '
-       -- after
-       --  me = "   abcdef" 
-
-       SetValue(me : mutable; Index : Integer; C : Character from Standard) 
-       raises OutOfRange from Standard;
-        ---Level: Public
-        ---Purpose: Substitutes the character located to the position Index
-        -- by the character C.
-        -- Raises an exception if the Index is out of bounds.
-        ---Example: before
-        --  me = "Helll" , Index = 5 , C = 'o'
-        -- after
-        --  me = "Hello"
-
-       SetValue(me : mutable; Index : Integer;
-                 S : HAsciiString from PCollection) 
-       raises OutOfRange from Standard;
-        ---Level: Public
-        ---Purpose: Substitutes from the index Index to the end by the string S.
-        -- Raises an exception if Index is out of bounds.
-        ---Example: before
-        --  me = "abcde" , Index = 3 , S = "wxyz"
-        --  after
-        -- me = "abwxyz" , S = "wxyz"
-
-       Split(me : mutable; Index  : Integer) 
-        ---Level: Public
-        ---Purpose: Splits a string of characters into two sub-strings.
-       returns HAsciiString from PCollection
-       raises OutOfRange from Standard;
-
-       SubString(me; FromIndex, ToIndex : Integer) 
-        ---Level: Public
-        ---Purpose: Creation of a sub-string of the string <me>.
-        -- The sub-string starts to the index Fromindex and ends
-        -- to the index ToIndex.
-        -- Raises an exception if ToIndex or FromIndex is out of bounds.
-        ---Example: before
-        --   me = "abcdefg", ToIndex=3, FromIndex=6
-        -- after
-        --   me = "abcdefg"
-        -- returns
-        --   "cdef"
-       returns HAsciiString from PCollection
-       raises OutOfRange from Standard;
-
-        Token (me ; separators : CString=" \t" ; whichone : Integer=1) 
-                 returns HAsciiString from PCollection;
-        ---Level: Public
-        ---Purpose: Extracts <aString> token from <me>.
-        -- The token extracted is the indice number <num>.
-
-       Uppercase(me : mutable);
-        ---Level: Public
-        ---Purpose: Transforms all the characters into upper-case.
-        -- If there is no corresponding upper-case character, the 
-        -- character is unchanged.
-        ---Example: before
-        --  me = "aBAcd"
-        -- after
-        --  me = "ABACD"
-
-       UsefullLength(me) returns Integer;
-        ---Level: Public
-        ---Purpose: Length of the string ignoring all spaces (' ') and the 
-        -- control character at the end.
-
-       Value(me ; Index : Integer) returns Character from Standard 
-       raises OutOfRange from Standard;
-        ---Level: Public
-       ---Purpose: Returns the character of index Index of the string 
-        ---Example: me = "abcd", Index = 2, Value returns 'b'.
-
-       Assign(me : mutable ;TheData : VArrayOfCharacter) is private;
-                ---Level: Internal
-               ---Purpose : Assigns the field of the current structure with
-               -- the given value.Private method.
-
-
-fields
-   Data : VArrayOfCharacter from DBC;
-end HAsciiString;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/PCollection/PCollection_HAsciiString.cxx b/src/PCollection/PCollection_HAsciiString.cxx
deleted file mode 100644 (file)
index 12bd5f7..0000000
+++ /dev/null
@@ -1,735 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PCollection_HAsciiString.ixx>
-#include <PCollection_HExtendedString.hxx>
-#include <TCollection_HAsciiString.hxx>
-#include <Standard_NumericError.hxx>
-#include <Standard_NegativeValue.hxx>
-#include <Standard_OutOfRange.hxx>
-
-#include <stdio.h>
-
-//------------------------------------
-//  Conversion functions and variables
-//------------------------------------
-
-#define MAXLENGTH 80
-static char cnvbuf[MAXLENGTH];
-static Standard_Integer cnvint;
-static Standard_Real cnvreal;
-
-//-----------------------------------------------------------------------
-// intstr
-//-----------------------------------------------------------------------
-static int intstr(Standard_Integer V,Standard_CString F)
-{
-  sprintf(cnvbuf,F,V);
-  return (int)strlen(cnvbuf);
-}
-
-//-----------------------------------------------------------------------
-// realstr
-//----------------------------------------------------------------------
-static int realstr(Standard_Real V, Standard_CString F)
-{
-  sprintf(cnvbuf,F,V);
-  return (int)strlen(cnvbuf);
-}
-  
-//-----------------------------------------------------------------------
-// Create : from a CString
-//-----------------------------------------------------------------------
-PCollection_HAsciiString::PCollection_HAsciiString(const Standard_CString S)
-                                               : Data((Standard_Integer) strlen(S))
-{
-   for( Standard_Integer i = 0 ; i < Data.Length() ; i++) 
-                            Data.SetValue(i, S[i]) ;
-}
-
-//------------------------------------------------------------------------
-//  Create from an AsciiString of TCollection
-//------------------------------------------------------------------------
-PCollection_HAsciiString::PCollection_HAsciiString
-                  (const TCollection_AsciiString& S):Data(S.Length())
-{
-   for( Standard_Integer i = 1; i <= Data.Length() ; i++) 
-                            Data.SetValue(i-1, S.Value(i)) ;   
-}
-
-//------------------------------------------------------------------------
-//  Create from a Character
-//------------------------------------------------------------------------
-PCollection_HAsciiString::PCollection_HAsciiString(const Standard_Character C)
-                                               : Data(1)
-{
-   Data.SetValue(0, C);
-}
-
-//------------------------------------------------------------------------
-//  Create from a range of an HAsciiString of PCollection
-//------------------------------------------------------------------------
-PCollection_HAsciiString::PCollection_HAsciiString 
-  (const Handle(PCollection_HAsciiString)& S, 
-   const Standard_Integer FromIndex, const Standard_Integer ToIndex) : Data(ToIndex-FromIndex+1)
-{
-   for( Standard_Integer i = 0 , k = FromIndex; i < Data.Length() ; i++, k++) 
-                        Data.SetValue(i, S->Value(k));
-}
-
-//------------------------------------------------------------------------
-//  Create from an HExtendedString from PCollection
-//------------------------------------------------------------------------
-PCollection_HAsciiString::PCollection_HAsciiString 
-          (const Handle(PCollection_HExtendedString)& S) : Data(S->Length())
-{
-   if (!S->IsAscii()) Standard_OutOfRange::Raise();
-   for( Standard_Integer i = 1; i <= Data.Length() ; i++)  {
-//     convert the character i of S 
-       Standard_Character val = ToCharacter(S->Value(i)) ;
-       Data.SetValue(i-1,val ) ;   
-   }   
-}
-
-//------------------------------------------------------------------------
-//  Create from a Real by converting it
-//------------------------------------------------------------------------
-PCollection_HAsciiString::PCollection_HAsciiString 
-                (const Standard_Real R , const Standard_CString F) : Data(realstr(R,F))
-{
-   for( Standard_Integer i =0 ; i < Data.Length() ; i++) 
-                            Data.SetValue(i,cnvbuf[i] );
-}
-
-//------------------------------------------------------------------------
-//  Create from an Integer by converting it
-//------------------------------------------------------------------------
-PCollection_HAsciiString::PCollection_HAsciiString 
-        (const Standard_Integer I, const Standard_CString F) : Data(intstr(I,F))
-{
-   for( Standard_Integer i = 0 ; i < Data.Length() ; i++) 
-                            Data.SetValue(i,cnvbuf[i]) ;
-}
-
-
-//------------------------------------------------------------------------
-//  Append
-//------------------------------------------------------------------------
-void PCollection_HAsciiString::Append 
-                   (const Handle(PCollection_HAsciiString)& S)
-{
-   InsertAfter(Length(),S);
-}
-
-//------------------------------------------------------------------------
-//  Capitalize
-//------------------------------------------------------------------------
-void PCollection_HAsciiString::Capitalize ()
-{
-   for (Standard_Integer i = 0 ; i < Length() ; i++) {
-      if( i == 0) Data.SetValue(i, UpperCase(Data(i)) );
-      else Data.SetValue(i, LowerCase(Data(i)) );
-   }
-}
-
-//------------------------------------------------------------------------
-//  Center
-//------------------------------------------------------------------------
-void PCollection_HAsciiString::Center 
-           (const Standard_Integer Width, const Standard_Character Filler)
-{
-   if (Width < 0) Standard_NegativeValue::Raise();
-   Standard_Integer size1 = Length();
-   if(Width > size1) {
-      Standard_Integer size2 = size1 + ((Width - size1)/2);
-      LeftJustify(size2,Filler);
-      RightJustify(Width,Filler);
-   }
-}
-
-//------------------------------------------------------------------------
-//  ChangeAll
-//------------------------------------------------------------------------
-void PCollection_HAsciiString::ChangeAll 
-     (const Standard_Character C, const Standard_Character NewC, const Standard_Boolean CaseSensitive)
-{
-   for( Standard_Integer i = 0 ; i < Data.Length(); i++) {
-      if (CaseSensitive) {
-          if(Data(i) == C) Data.SetValue(i, NewC);
-      }
-      else {
-          if(UpperCase(Data(i)) == UpperCase(C)) Data.SetValue(i, NewC);
-      }
-   }
-}
-
-//------------------------------------------------------------------------
-//  Clear
-//------------------------------------------------------------------------
-void PCollection_HAsciiString::Clear ()
-{
-   Data.Resize(0);
-}
-
-//------------------------------------------------------------------------
-//  Convert
-//------------------------------------------------------------------------
-TCollection_AsciiString PCollection_HAsciiString::Convert() const
-{
-   Standard_Integer L = Length();
-   TCollection_AsciiString TString (L,' ');
-   for (Standard_Integer i = 1 ; i <= L ; i++) {
-      TString.SetValue(i,Value(i));
-   }
-   return TString;
-}
-
-//------------------------------------------------------------------------
-//  FirstLocationInSet
-//------------------------------------------------------------------------
-Standard_Integer PCollection_HAsciiString::FirstLocationInSet 
-              (const Handle(PCollection_HAsciiString)& Set, 
-               const Standard_Integer FromIndex, 
-               const Standard_Integer ToIndex) const
-{
-   if (Length() == 0 || Set->Length() == 0) return 0;
-   if (ToIndex > Length() || FromIndex <= 0 || FromIndex > ToIndex ) 
-                     Standard_OutOfRange::Raise();
-   for(Standard_Integer i = FromIndex-1 ; i <= ToIndex-1; i++)
-     for(Standard_Integer j = 1; j <= Set->Length(); j++) 
-       if(Data(i) == Set->Value(j)) return (i+1);
-   return 0;
-}
-
-//------------------------------------------------------------------------
-//  FirstLocationNotInset
-//------------------------------------------------------------------------
-Standard_Integer PCollection_HAsciiString::FirstLocationNotInSet 
-      (const Handle(PCollection_HAsciiString)& Set, const Standard_Integer FromIndex, 
-       const Standard_Integer ToIndex) const
-{
-   if (Length() == 0 || Set->Length() == 0) return 0;
-   if (ToIndex > Length() || FromIndex <= 0 || FromIndex > ToIndex ) 
-                     Standard_OutOfRange::Raise();
-   Standard_Boolean find;
-   for(Standard_Integer i = FromIndex-1 ; i <= ToIndex-1; i++) {
-     find = Standard_False;
-     for(Standard_Integer j = 1; j <= Set->Length(); j++) { 
-       if (Data(i) == Set->Value(j)) find = Standard_True;
-     }
-     if (!find)  return (i+1);
-   }
-   return 0;
-}
-
-//------------------------------------------------------------------------
-//  InsertAfter
-//------------------------------------------------------------------------
-void PCollection_HAsciiString::InsertAfter 
-           (const Standard_Integer Index, const Handle(PCollection_HAsciiString)& S)
-{
-   Standard_Integer i ;
-   Standard_Integer size1 = Length();
-   Standard_Integer size2 = S->Length();
-#ifndef NOBOUNDCHECK
-   if (Index < 0 || Index > size1) Standard_OutOfRange::Raise();
-#endif
-   Data.Resize(size1+size2);
-   for( i = size1-1 ; i >= Index; i--) Data.SetValue(size2+i,Data(i));
-   for( i = 1 ; i <= size2; i++) Data.SetValue(Index+i-1,S->Value(i));
-}
-
-//------------------------------------------------------------------------
-//  InsertBefore
-//------------------------------------------------------------------------
-void PCollection_HAsciiString::InsertBefore 
-           (const Standard_Integer Index, const Handle(PCollection_HAsciiString)& S)
-{
-   Standard_Integer i ;
-   Standard_Integer size1 = Length();
-   Standard_Integer size2 = S->Length();
-#ifndef NOBOUNDCHECK
-   if (Index < 0 || Index > size1) Standard_OutOfRange::Raise();
-#endif
-   Data.Resize(size1+size2);
-   for( i = size1-1 ; i >= Index-1 ; i--) 
-                                        Data.SetValue(size2+i,Data(i));
-  for( i = 1 ; i <= size2; i++) Data.SetValue(Index+i-2, S->Value(i));
-}
-
-//------------------------------------------------------------------------
-//  IntegerValue
-//------------------------------------------------------------------------
-Standard_Integer PCollection_HAsciiString::IntegerValue () const
-{
-   if (!IsIntegerValue()) Standard_NumericError::Raise();
-   return cnvint;
-}
-
-//------------------------------------------------------------------------
-//  IsDifferent
-//------------------------------------------------------------------------
-Standard_Boolean PCollection_HAsciiString::IsDifferent 
-                            (const Handle(PCollection_HAsciiString)& S) const
-{
-   Standard_Integer size = Length();
-   if( size != S->Length()) return Standard_True;
-   Standard_Integer i = 1 ;
-   Standard_Boolean different = Standard_False;
-   while (i <= size && !different) {
-      if (Data(i-1) != S->Value(i)) different = Standard_True;
-      i++;
-   }
-   return different;
-}
-
-//------------------------------------------------------------------------
-//  IsEmpty
-//------------------------------------------------------------------------
-Standard_Boolean PCollection_HAsciiString::IsEmpty () const
-{
-   return (Data.Length() == 0);
-}
-
-//------------------------------------------------------------------------
-//  IsGreater
-//------------------------------------------------------------------------
-Standard_Boolean PCollection_HAsciiString::IsGreater
-                            (const Handle(PCollection_HAsciiString)& S) const
-{
-   TCollection_AsciiString TMe = Convert();
-   TCollection_AsciiString TS  = S->Convert();
-   return TMe.IsGreater(TS);
-}
-
-//------------------------------------------------------------------------
-//  IsIntegervalue
-//------------------------------------------------------------------------
-Standard_Boolean PCollection_HAsciiString::IsIntegerValue () const
-{
-   Standard_Integer i ;
-#if defined(__osf__) || defined(DECOSF1)
-#ifdef OBJS
- #pragma pointer_size (save)
- #pragma pointer_size (long)
-   char *ptr;
- #pragma pointer_size (restore)
-#else
-   char *ptr;
-#endif
-#else
-   char *ptr;
-#endif
-#ifndef NOBOUNDCHECK
-   if ( Data.Length() > MAXLENGTH ) return Standard_False;
-#endif
-   Handle(TCollection_HAsciiString) astring;
-   astring  = new TCollection_HAsciiString (this->Convert());
-   astring->LeftAdjust();
-   astring->RightAdjust(); 
-   for(i = 0; i < astring->Length(); i++) 
-                            cnvbuf[i] = astring->Value(i+1);
-   cnvbuf[i] = 0;
-   cnvint = strtol(cnvbuf,&ptr,10);
-   if (ptr < cnvbuf+astring->Length()) return Standard_False;
-   else                                return Standard_True;
-}
-
-//------------------------------------------------------------------------
-//  Isless
-//------------------------------------------------------------------------
-Standard_Boolean PCollection_HAsciiString::IsLess 
-                            (const Handle(PCollection_HAsciiString)& S) const
-{
-   TCollection_AsciiString TMe = Convert();
-   TCollection_AsciiString TS  = S->Convert();
-   return TMe.IsLess(TS);
-}
-
-//------------------------------------------------------------------------
-//  IsRealValue
-//------------------------------------------------------------------------
-Standard_Boolean PCollection_HAsciiString::IsRealValue () const
-{
-   Standard_Integer i ;
-#if defined(__osf__) || defined(DECOSF1)
-#ifdef OBJS
- #pragma pointer_size (save)
- #pragma pointer_size (long)
-   char *ptr;
- #pragma pointer_size (restore)
-#else
-   char *ptr;
-#endif
-#else
-   char *ptr;
-#endif
-#ifndef NOBOUNDCHECK
-   if ( Data.Length() > MAXLENGTH ) return Standard_False;
-#endif
-   Handle(TCollection_HAsciiString) astring;
-   astring  = new TCollection_HAsciiString (this->Convert());
-   astring->LeftAdjust();
-   astring->RightAdjust(); 
-   for(i = 0; i < astring->Length(); i++)
-                            cnvbuf[i] = astring->Value(i+1);
-   cnvbuf[i] = 0;
-   cnvreal = Strtod(cnvbuf,&ptr);
-   if (ptr < cnvbuf+astring->Length()) return Standard_False;
-   else                                return Standard_True;
-}
-
-//------------------------------------------------------------------------
-//  IsSameString
-//------------------------------------------------------------------------
-Standard_Boolean PCollection_HAsciiString::IsSameString 
-                        (const Handle(PCollection_HAsciiString)& S) const
-{
-   Standard_Integer i ;
-   Standard_Integer size1 = Length();
-   if( size1 != S->Length()) return Standard_False;
-   for( i = 1 ; i <= size1; i++) {
-     if(Data(i-1) != S->Value(i)) return Standard_False;
-   }
-   return Standard_True;
-}
-
-//------------------------------------------------------------------------
-//  IsSameString
-//------------------------------------------------------------------------
-Standard_Boolean PCollection_HAsciiString::IsSameString 
-  (const Handle(PCollection_HAsciiString)& S, const Standard_Boolean CaseSensitive) const
-{
-   Standard_Integer size1 = Length();
-   if( size1 != S->Length()) return Standard_False;
-   for( Standard_Integer i = 1 ; i <= size1; i++) {
-     if(CaseSensitive){
-       if(Data(i-1) != S->Value(i)) return Standard_False;
-     }
-     else {
-       if(UpperCase(Data(i-1)) != UpperCase(S->Value(i))) return Standard_False;
-     }
-   }
-   return Standard_True;
-}
-
-//------------------------------------------------------------------------
-//  LeftAdjust
-//------------------------------------------------------------------------
-void PCollection_HAsciiString::LeftAdjust ()
-{
-   Standard_Integer i ;
-   for(i = 0 ; i < Data.Length() ; i ++) if(!IsSpace(Data(i))) break;
-   if( i > 0 ) Remove(1,i);
-}
-
-//------------------------------------------------------------------------
-//  LeftJustify
-//------------------------------------------------------------------------
-void PCollection_HAsciiString::LeftJustify 
-     (const Standard_Integer Width, const Standard_Character Filler)
-{
-   if (Width < 0) Standard_NegativeValue::Raise();
-   Standard_Integer size1 = Length();
-   if(Width > size1) {
-     Data.Resize(Width);
-     for(Standard_Integer i = size1; i < Width ; i++) Data.SetValue(i, Filler);
-   }
-}
-
-//------------------------------------------------------------------------
-//  Length
-//------------------------------------------------------------------------
-Standard_Integer PCollection_HAsciiString::Length () const
-{
-   return Data.Length();
-}
-
-//------------------------------------------------------------------------
-//  Location
-//------------------------------------------------------------------------
-Standard_Integer PCollection_HAsciiString::Location 
-   (const Standard_Integer N, const Standard_Character C, 
-    const Standard_Integer FromIndex, const Standard_Integer ToIndex) const
-{
-   if (ToIndex > Length() || FromIndex <= 0 || FromIndex > ToIndex ) 
-                      Standard_OutOfRange::Raise();
-   for(Standard_Integer i = FromIndex-1, aCount = 0; i <= ToIndex-1; i++)
-              if(Data(i) == C) {
-               aCount++;
-               if ( aCount == N ) return (i+1);
-             }
-   return 0 ;
-}
-
-//------------------------------------------------------------------------
-//  Location
-//------------------------------------------------------------------------
-Standard_Integer PCollection_HAsciiString::Location 
-        (const Handle(PCollection_HAsciiString)& S, const Standard_Integer FromIndex, 
-         const Standard_Integer ToIndex) const
-{
-   if (Length() == 0 || S->Length() == 0) return 0;
-   if (ToIndex > Length() || FromIndex <= 0 || FromIndex > ToIndex ) 
-                      Standard_OutOfRange::Raise();
-   for(Standard_Integer i = FromIndex-1, k = 1, l = FromIndex-2; i < ToIndex; i++){
-     if(Data(i) == S->Value(k)) {
-       k++;
-       if ( k > S->Length()) return l + 2;
-     }
-     else {
-       k = 1;
-       l = i;
-     }
-  }
-  return 0;
-}
-
-//------------------------------------------------------------------------
-//  Lowercase
-//------------------------------------------------------------------------
-void PCollection_HAsciiString::Lowercase ()
-{
-   for( Standard_Integer i = 0 ; i < Data.Length() ; i++) {
-     Data.SetValue(i, LowerCase(Data(i)));
-   }
-}
-
-//------------------------------------------------------------------------
-//  Prepend
-//------------------------------------------------------------------------
-void PCollection_HAsciiString::Prepend 
-                    (const Handle(PCollection_HAsciiString)& S)
-{
-   InsertAfter(0,S);
-}
-
-
-//------------------------------------------------------------------------
-//  Print
-//------------------------------------------------------------------------
-void PCollection_HAsciiString::Print (Standard_OStream& S) const
-{
-   Standard_Integer len = Data.Length() ;
-   for(Standard_Integer i = 0; i < len ; i++) {
-       S << Data(i);
-   }
-}
-
-//------------------------------------------------------------------------
-//  RealValue
-//------------------------------------------------------------------------
-Standard_Real PCollection_HAsciiString::RealValue () const
-{
-   if(!IsRealValue()) Standard_NumericError::Raise();
-   return cnvreal;
-}
-
-//------------------------------------------------------------------------
-//  Remove
-//------------------------------------------------------------------------
-void PCollection_HAsciiString::Remove (const Standard_Integer Index)
-{
-   if (Index < 0 || Index > Length()) Standard_OutOfRange::Raise();
-   Remove(Index,Index);
-}
-
-//------------------------------------------------------------------------
-//  Remove
-//------------------------------------------------------------------------
-void PCollection_HAsciiString::Remove 
-    (const Standard_Integer FromIndex, const Standard_Integer ToIndex)
-{
-   if (ToIndex > Length() || FromIndex <= 0 || FromIndex > ToIndex ) 
-                     Standard_OutOfRange::Raise();
-   Standard_Integer size1 = Length();
-   for( Standard_Integer i = ToIndex, j = FromIndex-1; i < size1 ; i++, j++)
-     Data.SetValue(j,Data(i));
-   Data.Resize(size1-(ToIndex-FromIndex+1));
-}
-
-//------------------------------------------------------------------------
-//  RemoveAll
-//------------------------------------------------------------------------
-void PCollection_HAsciiString::RemoveAll 
-    (const Standard_Character C, const Standard_Boolean CaseSensitive)
-{
-   Standard_Integer i ;
-   Standard_Integer j ;
-   Standard_Integer size1 = Length();
-   for( i = 0, j = 0; i < size1 ; i++){
-     if(CaseSensitive){
-       if(Data(i) == C) continue;
-     }
-     else {
-       if(UpperCase(Data(i)) == UpperCase(C))  continue;
-     }
-     Data.SetValue(j++, Data(i));
-    }
-    Data.Resize(j);
-}
-
-//------------------------------------------------------------------------
-//  RightAdjust
-//------------------------------------------------------------------------
-void PCollection_HAsciiString::RightAdjust ()
-{
-   Standard_Integer i ;
-   for( i = Data.Length()-1 ; i >= 0 ; i--) if(!IsSpace(Data(i))) break;
-   if( i < Data.Length()-1 ) Remove(i+2,Data.Length());
-}
-
-//------------------------------------------------------------------------
-//  RightJustify
-//------------------------------------------------------------------------
-void PCollection_HAsciiString::RightJustify 
-           (const Standard_Integer Width, const Standard_Character Filler)
-{
-   Standard_Integer i ;
-   Standard_Integer k ;
-   if (Width < 0) Standard_NegativeValue::Raise();
-   Standard_Integer size1 = Length();
-   if(Width > size1) {
-      Data.Resize(Width);
-      for ( i = size1-1, k = Width-1 ; i >= 0 ; i--, k--) 
-               Data.SetValue(k, Data(i));
-      for(; k >= 0 ; k--) Data.SetValue(k, Filler);
-   }
-}
-
-//------------------------------------------------------------------------
-//  SetValue
-//------------------------------------------------------------------------
-void PCollection_HAsciiString::SetValue 
-           (const Standard_Integer Index, const Handle(PCollection_HAsciiString)& S)
-{
-
-   Standard_Integer size1 = Length();
-   Standard_Integer size2 = S->Length();
-   Standard_Integer size3 = size2 + Index - 1;
-#ifndef NOBOUNDCHECK
-   if (Index < 0 || Index > size1) Standard_OutOfRange::Raise();
-#endif
-   if(size1 != size3) Data.Resize(size3);
-   for( Standard_Integer i = 1 ; i <= size2; i++) Data.SetValue(Index+i-2, S->Value(i));
-}
-
-//------------------------------------------------------------------------
-//  SetValue
-//------------------------------------------------------------------------
-void PCollection_HAsciiString::SetValue 
-                (const Standard_Integer Index, const Standard_Character C)
-{
-   if (Index < 0 || Index > Length()) Standard_OutOfRange::Raise();
-   Data(Index-1) = C;
-}
-
-//------------------------------------------------------------------------
-//  Split
-//------------------------------------------------------------------------
-Handle(PCollection_HAsciiString) PCollection_HAsciiString::Split 
-             (const Standard_Integer Index)
-{
-   if (Index < 0 || Index > Length()) Standard_OutOfRange::Raise();
-   Handle(PCollection_HAsciiString) S2;
-   if (Index != Length()) { 
-      S2 = SubString(Index+1,Length());
-      Data.Resize(Index);
-   }
-   else {
-#ifndef OBJS
-      S2 = new PCollection_HAsciiString("");
-#else
-      S2 = new (os_segment::of(this)) PCollection_HAsciiString("");
-#endif
-   }
-   return S2;
-}
-
-//------------------------------------------------------------------------
-//  SubString
-//------------------------------------------------------------------------
-Handle(PCollection_HAsciiString) PCollection_HAsciiString::SubString 
-             (const Standard_Integer FromIndex, const Standard_Integer ToIndex) const
-{
-   if (ToIndex > Length() || FromIndex <= 0 || FromIndex > ToIndex ) 
-                      Standard_OutOfRange::Raise();
-   Handle(PCollection_HAsciiString) S1;
-   Handle(PCollection_HAsciiString) S2;
-   S2 = this;
-#ifndef OBJS
-   S1 = new PCollection_HAsciiString(S2,FromIndex,ToIndex);
-#else
-   S1 = new (os_segment::of(this)) PCollection_HAsciiString(S2,FromIndex,ToIndex);
-
-#endif
-   return S1;
-}
-
-//------------------------------------------------------------------------
-//  Token
-//------------------------------------------------------------------------
-Handle(PCollection_HAsciiString) PCollection_HAsciiString::Token 
-                                   (const Standard_CString separators , 
-                                    const Standard_Integer whichone) const
-{
-   TCollection_AsciiString TMe = Convert();
-   Handle(PCollection_HAsciiString) 
-#ifndef OBJS
-       TheToken = new PCollection_HAsciiString(TMe.Token(separators,whichone));
-#else
-       TheToken = new (os_segment::of(this)) PCollection_HAsciiString(TMe.Token(separators,whichone));
-#endif
-   return TheToken;
-}
-
-//------------------------------------------------------------------------
-//  Uppercase
-//------------------------------------------------------------------------
-void PCollection_HAsciiString::Uppercase ()
-{
-   for( Standard_Integer i = 0 ; i < Data.Length() ; i++) 
-       Data.SetValue(i, UpperCase(Data(i)));
-}
-
-//------------------------------------------------------------------------
-//  UsefullLength
-//------------------------------------------------------------------------
-Standard_Integer PCollection_HAsciiString::UsefullLength () const
-{
-   Standard_Integer i ;
-   for( i = Data.Length() -1 ; i >= 0 ; i--) 
-      if(IsGraphic(Data(i))) break;
-   return (i+1) ;
-}
-
-//------------------------------------------------------------------------
-//  value
-//------------------------------------------------------------------------
-Standard_Character PCollection_HAsciiString::Value (const Standard_Integer Index) const
-{
-   if (Index < 0 || Index > Length()) Standard_OutOfRange::Raise();
-   return Data(Index-1);
-}
-
-
-
-//------------------------------------------------------------------------
-//  Assign
-//------------------------------------------------------------------------
-void PCollection_HAsciiString::Assign(const DBC_VArrayOfCharacter& TheField)
-
-{
-   Data = TheField;
-}
diff --git a/src/PCollection/PCollection_HExtendedString.cdl b/src/PCollection/PCollection_HExtendedString.cdl
deleted file mode 100644 (file)
index e6403de..0000000
+++ /dev/null
@@ -1,290 +0,0 @@
--- Created on: 1993-02-10
--- Created by: Mireille MERCIEN
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class HExtendedString from PCollection 
-       inherits Persistent    
-          
-        ---Purpose: Describes a persistent Unicode character string
-       -- of a variable length.
-
-
-uses       VArrayOfExtCharacter from DBC,
-           ExtendedString from TCollection,
-           HAsciiString from PCollection 
-           
-
-    raises OutOfRange from Standard, 
-           NegativeValue from Standard,
-          NumericError from Standard
-is
-               
-
-       Create(S : ExtendedString from TCollection) 
-            returns HExtendedString from PCollection;
-               ---Purpose: Creation and initialization with the string S from
-               -- TCollection.
-
-       Create(C : ExtCharacter from Standard)
-            returns HExtendedString from PCollection;
-               ---Purpose: Creation and initialisation with the character C
-
-       Create(S : HExtendedString from PCollection;
-              FromIndex, ToIndex : Integer from Standard) 
-           returns HExtendedString from PCollection
-           raises NegativeValue from Standard;
-                ---Purpose: Creation of a sub-string of the string S
-                -- the sub-string starts at the index Fromindex and ends
-                -- at the index ToIndex.
-                -- Raises an exception if ToIndex is less than FromIndex 
-
-        Create( astring : CString)
-            returns HExtendedString from PCollection;
-        ---Purpose: Creation by converting a CString to an extended string. 
-       
-        Create(S : HAsciiString from PCollection)
-            returns HExtendedString from PCollection;
-       ---Purpose: Creation by converting a normal Ascii string to an extended string. 
-       
-       Append(me : mutable; S : HExtendedString from PCollection);
-        ---Level: Public
-       ---Purpose: Pushing a string at the end of the string me.
-
-       Center(me : mutable; Width : Integer from Standard;
-              Filler : ExtCharacter from Standard) 
-       raises NegativeValue from Standard;
-        ---Level: Public
-       ---Purpose: Center.
-        -- Length becomes equal to Width and the new characters are
-        -- equal to Filler.
-        -- Raises an exception if Width is less than zero.
-       -- If Width < Length nothing happens.
-
-       ChangeAll(me : mutable; C, NewC : ExtCharacter from Standard);
-        ---Level: Public
-        ---Purpose: Substitutes all the characters equal to C by NewC in the
-        -- string <me>.
-
-       Clear(me : mutable);
-        ---Level: Public
-       ---Purpose: Removes all characters in the string <me>.
-        -- Length is equal to zero now.
-
-        Convert(me) returns ExtendedString from TCollection;
-        ---Level: Public
-        ---Purpose: Converts a persistent HExtendedString to a non
-        -- persistent ExtendedString.
-
-       FirstLocationInSet(me; Set : HExtendedString from PCollection;
-                                 FromIndex : Integer from Standard; 
-                                 ToIndex   : Integer from Standard)
-        returns Integer
-       raises OutOfRange from Standard;
-        ---Level: Public
-        ---Purpose: Returns the index of the first character of <Set> founded in <me>.
-        -- The search begins to the index FromIndex and ends to the index ToIndex.
-        -- Returns zero if failure.
-        -- Raises an exception if FromIndex or ToIndex is out of range.
-
-       FirstLocationNotInSet(me; Set : HExtendedString from PCollection;
-                              FromIndex : Integer; 
-                              ToIndex   : Integer) 
-        returns Integer
-       raises OutOfRange from Standard;
-                ---Level: Public
-                ---Purpose: Returns the index of the first character of <me> 
-                -- that is not present in the set <Set>.
-                -- The search begins to the index FromIndex and ends to the
-                -- the index ToIndex in <me>. Returns zero if failure.
-                -- Raises an exception if FromIndex or ToIndex is out of range.
-
-       InsertAfter(me : mutable; 
-                    Index : Integer; 
-                    S : HExtendedString from PCollection)
-       raises OutOfRange from Standard;
-                ---Level: Public
-               ---Purpose: Pushing a string after a specific index in the string <me>.
-                -- Raises an exception if Index is out of bounds.
-
-       InsertBefore(me : mutable; Index : Integer; 
-                     S : HExtendedString from PCollection)
-        raises OutOfRange from Standard;
-                ---Level: Public
-               ---Purpose: Pushing a string before a specific index in the string <me>.
-                -- Raises an exception if Index is out of bounds.
-
-        IsAscii(me) returns Boolean;
-        ---Level: Public
-       ---Purpose: Returns True if the string <me> is in the "Ascii range".
-     
-        IsDifferent (me ; other : HExtendedString) returns Boolean;
-        ---Level: Public
-        ---Purpose: Test if characters are different between <me> and <other>.
-   
-       IsEmpty(me) returns Boolean from Standard;
-        ---Level: Public
-       ---Purpose: Returns True if the string <me> contains zero character.
-
-        IsGreater (me ; other : HExtendedString from PCollection) 
-        returns Boolean;
-        ---Level: Public
-        ---Purpose: Returns TRUE if <me> is greater than <other>.
-
-        IsLess (me ; other : HExtendedString from PCollection) 
-        returns Boolean;
-        ---Level: Public
-        ---Purpose: Returns TRUE if <me> is less than <other>.
-
-       IsSameString(me; S : HExtendedString from PCollection)
-       returns Boolean from Standard;
-                ---Level: Advanced
-                ---Purpose: Returns True if two strings are equal.
-                -- The comparison is case sensitive if the flag is set.
-  
-       LeftAdjust(me : mutable)
-        raises OutOfRange from Standard;
-        ---Level: Public
-        ---Purpose: Removes all space characters in the begining of the string.
-        -- Raises an exception if the string <me> is not in the "Ascii range".
-
-       LeftJustify(me : mutable; Width : Integer; 
-                    Filler : ExtCharacter from Standard) 
-       raises NegativeValue from Standard;
-                ---Level: Public
-               ---Purpose: Left justify.
-                -- Length becomes equal to Width and the new characters are
-                -- equal to Filler.
-                -- If Width < Length nothing happens.
-                -- Raises an exception if Width is less than zero.
-
-       Length(me) returns Integer;
-        ---Level: Public
-       ---Purpose: Number of characters of the String
-
-       Location(me; N : Integer; C : ExtCharacter from Standard; 
-                    FromIndex : Integer; 
-                    ToIndex   : Integer) 
-        returns Integer
-       raises OutOfRange from Standard;
-                ---Level: Public
-                ---Purpose: Returns the index of the nth occurence of the character C
-                -- in the string <me> from the starting index FromIndex to the
-                -- ending index ToIndex. Returns zero if failure.
-                -- Raises an exception if FromIndex or ToIndex is out of range
-
-       Location(me; S : HExtendedString from PCollection;
-                    FromIndex : Integer; 
-                    ToIndex   : Integer) 
-        returns Integer
-       raises OutOfRange from Standard;
-                ---Level: Public
-                ---Purpose: Returns an index in the string <me> of the first occurence
-                -- of the string S in the string <me> from the starting index.
-                -- FromIndex to the ending index ToIndex.
-                -- Returns zero if failure.
-                -- Raises an exception if FromIndex or ToIndex is out of range.
-
-       Prepend(me : mutable; S : HExtendedString from PCollection);
-                ---Level: Public
-               ---Purpose: Pushing a string at the begining of the string <me>.
-
-       Print(me ; S : in out OStream);
-        ---Level: Public
-       ---Purpose: Prints the content of <me> on the stream S.
-
-       Remove(me : mutable; Index : Integer) 
-        ---Level: Public
-       ---Purpose: Removes the character located at the index Index in the string.
-        -- Raises an exception if Index is out of bounds.
-       raises OutOfRange from Standard;
-
-       Remove(me : mutable; FromIndex, ToIndex : Integer) 
-       ---Level: Public
-       ---Purpose: Removes all the characters from the index FromIndex to the
-        -- index ToIndex.
-        -- Raises an exception if FromIndex or ToIndex is out of bounds.
-        raises OutOfRange from Standard;
-
-       RemoveAll(me : mutable; C : ExtCharacter from Standard);
-       ---Level: Public
-        ---Purpose: Removes all the occurences of the character C in the string.
-
-       RightAdjust(me : mutable)
-       raises OutOfRange from Standard;
-       ---Level: Public
-        ---Purpose: Removes all space characters at the end of the string.
-        -- Raises an exception if the string <me> is not in the Unicod "Ascii range".
-
-       RightJustify(me : mutable; Width : Integer;
-                                        Filler : ExtCharacter from Standard) 
-               raises NegativeValue from Standard;
-               ---Level: Public
-               ---Purpose: Right justify.
-                -- Length becomes equal to Width and the new characters are
-                -- equal to Filler.
-                -- If Width < Length nothing happens.
-                -- Raises an exception if Width is less than zero.
-
-       SetValue(me : mutable; Index : Integer; 
-                 C : ExtCharacter from Standard) 
-       raises OutOfRange from Standard;
-               ---Level: Public
-                ---Purpose: Substitutes the character located to the position Index
-                -- by the character C.
-                -- Raises an exception if the Index is out of bounds
-
-       SetValue(me : mutable; Index : Integer;
-                 S : HExtendedString from PCollection) 
-               raises OutOfRange from Standard;
-               ---Level: Public
-                ---Purpose: Substitutes from the index Index to the end by the string S.
-                -- Raises an exception if Index is out of bounds.
-
-       Split(me : mutable; Index  : Integer) 
-       ---Level: Public
-        ---Purpose: Splits a string of characters into two sub-strings.
-       returns HExtendedString from PCollection
-       raises OutOfRange from Standard;
-
-       SubString(me; FromIndex, ToIndex : Integer) 
-       ---Level: Public
-        ---Purpose: Creation of a sub-string of the string <me>.
-        -- The sub-string starts to the index FromIndex and ends
-        -- to the index ToIndex.
-        -- Raises an exception if ToIndex or FromIndex is out of bounds.
-       returns HExtendedString from PCollection
-       raises OutOfRange from Standard;
-
-       UsefullLength(me) returns Integer
-        raises OutOfRange from Standard;
-       ---Level: Public
-        ---Purpose: Length of the string ignoring all spaces (' ') and the 
-        -- control character at the end.
-        -- Raises an exception if the string <me> is not in the "Ascii range".
-
-       Value(me; Index : Integer) returns ExtCharacter from Standard 
-       raises OutOfRange from Standard;
-               ---Level: Public
-               ---Purpose: Returns the character of index Index of the string.
-                ---Example: me = "abcd", Index = 2, Value returns 'b'
-
-       Assign(me : mutable ;TheData : VArrayOfExtCharacter) is private;
-               ---Level: Internal
-               ---Purpose : Assigns the field of the current structure with
-               --  the given value.
-
-fields
-   Data : VArrayOfExtCharacter from DBC;
-end HExtendedString;
diff --git a/src/PCollection/PCollection_HExtendedString.cxx b/src/PCollection/PCollection_HExtendedString.cxx
deleted file mode 100644 (file)
index dda4259..0000000
+++ /dev/null
@@ -1,573 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PCollection_HExtendedString.ixx>
-#include <PCollection_HAsciiString.hxx>
-#include <Standard_ExtString.hxx>
-#include <Standard_NumericError.hxx>
-#include <Standard_NegativeValue.hxx>
-#include <Standard_OutOfRange.hxx>
-
-#include <stdio.h>
-
-//------------------------------------------------------------------------
-//  Create from an ExtendedString of TCollection
-//------------------------------------------------------------------------
-PCollection_HExtendedString::PCollection_HExtendedString
-                  (const TCollection_ExtendedString& S):Data(S.Length())
-{
-   for( Standard_Integer i = 1; i <= Data.Length() ; i++) 
-                            Data.SetValue(i-1, S.Value(i)) ;   
-}
-
-//------------------------------------------------------------------------
-//  Create from a ExtCharacter
-//------------------------------------------------------------------------
-PCollection_HExtendedString::PCollection_HExtendedString
-            (const Standard_ExtCharacter C): Data(1)
-{
-   Data.SetValue(0, C);
-}
-
-//------------------------------------------------------------------------
-//  Create from a range of an HExtendedString of PCollection
-//------------------------------------------------------------------------
-PCollection_HExtendedString::PCollection_HExtendedString 
-  (const Handle(PCollection_HExtendedString)& S, 
-   const Standard_Integer FromIndex, const Standard_Integer ToIndex) : Data(ToIndex-FromIndex+1)
-{
-   for( Standard_Integer i = 0 , k = FromIndex; i < Data.Length() ; i++, k++) 
-                        Data.SetValue(i, S->Value(k));
-}
-
-//-----------------------------------------------------------------------
-// Create : from a CString
-//-----------------------------------------------------------------------
-PCollection_HExtendedString::PCollection_HExtendedString(const Standard_CString S)
-                                               : Data((Standard_Integer) strlen(S))
-{
-   for( Standard_Integer i = 0 ; i < Data.Length() ; i++)  {
-         Standard_ExtCharacter val = ToExtCharacter(S[i]);
-         Data.SetValue(i, val) ;
-   }
-}
-
-//------------------------------------------------------------------------
-//  Create from an HAsciiString from PCollection
-//------------------------------------------------------------------------
-PCollection_HExtendedString::PCollection_HExtendedString 
-          (const Handle(PCollection_HAsciiString)& S) : Data(S->Length())
- {
-   for( Standard_Integer i = 1; i <= Data.Length() ; i++)  {
-//     convert the character i of S
-       Standard_ExtCharacter val = ToExtCharacter(S->Value(i)) ;
-       Data.SetValue(i-1,val );   
-   }   
-}
-
-//------------------------------------------------------------------------
-//  Append
-//------------------------------------------------------------------------
-void PCollection_HExtendedString::Append 
-                   (const Handle(PCollection_HExtendedString)& S)
-{
-   InsertAfter(Length(),S);
-}
-
-//------------------------------------------------------------------------
-//  Center
-//------------------------------------------------------------------------
-void PCollection_HExtendedString::Center 
-           (const Standard_Integer Width, const Standard_ExtCharacter Filler)
-{
-   if (Width < 0) Standard_NegativeValue::Raise();
-   Standard_Integer size1 = Length();
-   if(Width > size1) {
-      Standard_Integer size2 = size1 + ((Width - size1)/2);
-      LeftJustify(size2,Filler);
-      RightJustify(Width,Filler);
-   }
-}
-
-//------------------------------------------------------------------------
-//  ChangeAll
-//------------------------------------------------------------------------
-void PCollection_HExtendedString::ChangeAll 
-     (const Standard_ExtCharacter C, const Standard_ExtCharacter NewC)
-{
-   for( Standard_Integer i = 0 ; i < Data.Length(); i++) {
-      if(Data(i) == C) Data.SetValue(i, NewC);
-   }
-}
-
-//------------------------------------------------------------------------
-//  Clear
-//------------------------------------------------------------------------
-void PCollection_HExtendedString::Clear ()
-{
-   Data.Resize(0);
-}
-
-//------------------------------------------------------------------------
-//  Convert
-//------------------------------------------------------------------------
-TCollection_ExtendedString PCollection_HExtendedString::Convert() const
-{
-   Standard_Integer L = Length();
-   TCollection_ExtendedString TString (L,' ');
-   for (Standard_Integer i = 1 ; i <= L ; i++) {
-      TString.SetValue(i,Value(i));
-   }
-   return TString;
-}
-
-//------------------------------------------------------------------------
-//  FirstLocationInSet
-//------------------------------------------------------------------------
-Standard_Integer PCollection_HExtendedString::FirstLocationInSet 
-              (const Handle(PCollection_HExtendedString)& Set, 
-               const Standard_Integer FromIndex, 
-               const Standard_Integer ToIndex) const
-{
-   if (Length() == 0 || Set->Length() == 0) return 0;
-   if (ToIndex > Length() || FromIndex <= 0 || FromIndex > ToIndex ) 
-                     Standard_OutOfRange::Raise();
-   for(Standard_Integer i = FromIndex-1 ; i <= ToIndex-1; i++)
-     for(Standard_Integer j = 1; j <= Set->Length(); j++) 
-       if(Data(i) == Set->Value(j)) return (i+1);
-   return 0;
-}
-
-//------------------------------------------------------------------------
-//  FirstLocationNotInset
-//------------------------------------------------------------------------
-Standard_Integer PCollection_HExtendedString::FirstLocationNotInSet 
-      (const Handle(PCollection_HExtendedString)& Set, const Standard_Integer FromIndex, 
-       const Standard_Integer ToIndex) const
-{
-   if (Length() == 0 || Set->Length() == 0) return 0;
-   if (ToIndex > Length() || FromIndex <= 0 || FromIndex > ToIndex ) 
-                     Standard_OutOfRange::Raise();
-   Standard_Boolean find;
-   for(Standard_Integer i = FromIndex-1 ; i <= ToIndex-1; i++) {
-     find = Standard_False;
-     for(Standard_Integer j = 1; j <= Set->Length(); j++) { 
-       if (Data(i) == Set->Value(j)) find = Standard_True;
-     }
-     if (!find)  return (i+1);
-   }
-   return 0;
-}
-
-//------------------------------------------------------------------------
-//  InsertAfter
-//------------------------------------------------------------------------
-void PCollection_HExtendedString::InsertAfter 
-           (const Standard_Integer Index, const Handle(PCollection_HExtendedString)& S)
-{
-   Standard_Integer i ;
-   Standard_Integer size1 = Length();
-   Standard_Integer size2 = S->Length();
-#ifndef NOBOUNDCHECK
-   if (Index < 0 || Index > size1) Standard_OutOfRange::Raise();
-#endif
-   Data.Resize(size1+size2);
-   for( i = size1-1 ; i >= Index; i--) Data.SetValue(size2+i,Data(i));
-   for( i = 1 ; i <= size2; i++) Data.SetValue(Index+i-1,S->Value(i));
-}
-
-//------------------------------------------------------------------------
-//  InsertBefore
-//------------------------------------------------------------------------
-void PCollection_HExtendedString::InsertBefore 
-           (const Standard_Integer Index, const Handle(PCollection_HExtendedString)& S)
-{
-   Standard_Integer i ;
-   Standard_Integer size1 = Length();
-   Standard_Integer size2 = S->Length();
-#ifndef NOBOUNDCHECK
-   if (Index < 0 || Index > size1) Standard_OutOfRange::Raise();
-#endif
-   Data.Resize(size1+size2);
-   for( i = size1-1 ; i >= Index-1 ; i--) 
-                                        Data.SetValue(size2+i,Data(i));
-  for( i = 1 ; i <= size2; i++) Data.SetValue(Index+i-2, S->Value(i));
-}
-
-//------------------------------------------------------------------------
-//  IsAscii
-//------------------------------------------------------------------------
-Standard_Boolean PCollection_HExtendedString::IsAscii() const
-{
-   for( Standard_Integer i = 0; i < Data.Length() ; i++)  {
-             if (!IsAnAscii(Data(i))) return Standard_False;
-   }
-   return Standard_True;
-}
-
-//------------------------------------------------------------------------
-//  IsDifferent
-//------------------------------------------------------------------------
-Standard_Boolean PCollection_HExtendedString::IsDifferent 
-                        (const Handle(PCollection_HExtendedString)& S) const
-{
-   Standard_Integer size = Length();
-   if( size != S->Length()) return Standard_True;
-   Standard_Integer i = 1 ;
-   Standard_Boolean different = Standard_False;
-   while (i <= size && !different) {
-      if (Data(i-1) != S->Value(i)) different = Standard_True;
-      i++;
-   }
-   return different;
-}
-
-//------------------------------------------------------------------------
-//  IsEmpty
-//------------------------------------------------------------------------
-Standard_Boolean PCollection_HExtendedString::IsEmpty () const
-{
-   return (Data.Length() == 0);
-}
-
-// ----------------------------------------------------------------------------
-// IsLess
-// ----------------------------------------------------------------------------
-Standard_Boolean PCollection_HExtendedString::IsLess(
-        const Handle(PCollection_HExtendedString)& other) const
-{
-   Standard_Integer mysize = Data.Length();
-   Standard_Integer size = other->Length();
-   Standard_Integer i = 0;
-   Standard_Integer j = 1;
-   while (i < mysize && j <= size) {
-      if (Data(i) < other->Value(j)) return (Standard_True);
-      if (Data(i) > other->Value(j)) return (Standard_False);
-      i++;
-      j++;
-   }
-   if (i == mysize && j <= size) return (Standard_True);
-   return (Standard_False);
-}
-
-// ----------------------------------------------------------------------------
-// IsGreater
-// ----------------------------------------------------------------------------
-Standard_Boolean PCollection_HExtendedString::IsGreater
-    (const Handle(PCollection_HExtendedString)& other) const
-{
-   Standard_Integer mysize = Data.Length();
-   Standard_Integer size = other->Length();
-   Standard_Integer i = 0;
-   Standard_Integer j = 1;
-   while (i < mysize && j <= size) {
-      if (Data(i) < other->Value(j)) return (Standard_False);
-      if (Data(i) > other->Value(j)) return (Standard_True);
-      i++;
-      j++;
-   }
-   if (j == size && j < mysize) return (Standard_True);
-   return (Standard_False);
-}
-
-//------------------------------------------------------------------------
-//  IsSameString
-//------------------------------------------------------------------------
-Standard_Boolean PCollection_HExtendedString::IsSameString 
-                        (const Handle(PCollection_HExtendedString)& S) const
-{
-   Standard_Integer size1 = Length();
-   if( size1 != S->Length()) return Standard_False;
-   for( Standard_Integer i = 1 ; i <= size1; i++) {
-     if(Data(i-1) != S->Value(i)) return Standard_False;
-   }
-   return Standard_True;
-}
-
-//------------------------------------------------------------------------
-//  LeftAdjust
-//------------------------------------------------------------------------
-void PCollection_HExtendedString::LeftAdjust ()
-{
-   Standard_Integer i ;
-   
-   if (!IsAscii()) Standard_OutOfRange::Raise();
-   for ( i = 1 ; i <= Length() ; i ++) {
-      if (!IsSpace((Standard_Character)Value(i))) break;
-   }
-   if( i > 1 ) Remove(1,i-1);
-}
-
-//------------------------------------------------------------------------
-//  LeftJustify
-//------------------------------------------------------------------------
-void PCollection_HExtendedString::LeftJustify 
-     (const Standard_Integer Width, const Standard_ExtCharacter Filler)
-{
-   if (Width < 0) Standard_NegativeValue::Raise();
-   Standard_Integer size1 = Length();
-   if(Width > size1) {
-     Data.Resize(Width);
-     for(Standard_Integer i = size1; i < Width ; i++) Data.SetValue(i, Filler);
-   }
-}
-
-//------------------------------------------------------------------------
-//  Length
-//------------------------------------------------------------------------
-Standard_Integer PCollection_HExtendedString::Length () const
-{
-   return Data.Length();
-}
-
-//------------------------------------------------------------------------
-//  Location
-//------------------------------------------------------------------------
-Standard_Integer PCollection_HExtendedString::Location 
-   (const Standard_Integer N, const Standard_ExtCharacter C, 
-    const Standard_Integer FromIndex, const Standard_Integer ToIndex) const
-{
-   if (ToIndex > Length() || FromIndex <= 0 || FromIndex > ToIndex ) 
-                      Standard_OutOfRange::Raise();
-   for(Standard_Integer i = FromIndex-1, icount = 0; i <= ToIndex-1; i++) 
-              if(Data(i) == C) {
-               icount++;
-               if ( icount == N ) return (i+1);
-             }
-   return 0 ;
-}
-
-//------------------------------------------------------------------------
-//  Location
-//------------------------------------------------------------------------
-Standard_Integer PCollection_HExtendedString::Location 
-        (const Handle(PCollection_HExtendedString)& S, const Standard_Integer FromIndex, 
-         const Standard_Integer ToIndex) const
-{
-   if (Length() == 0 || S->Length() == 0) return 0;
-   if (ToIndex > Length() || FromIndex <= 0 || FromIndex > ToIndex ) 
-                      Standard_OutOfRange::Raise();
-   for(Standard_Integer i = FromIndex-1, k = 1, l = FromIndex-2; i < ToIndex; i++){
-     if(Data(i) == S->Value(k)) {
-       k++;
-       if ( k > S->Length()) return l + 2;
-     }
-     else {
-       k = 1;
-       l = i;
-     }
-  }
-  return 0;
-}
-
-//------------------------------------------------------------------------
-//  Prepend
-//------------------------------------------------------------------------
-void PCollection_HExtendedString::Prepend 
-                    (const Handle(PCollection_HExtendedString)& S)
-{
-   InsertAfter(0,S);
-}
-
-
-//------------------------------------------------------------------------
-//  Print
-//------------------------------------------------------------------------
-void PCollection_HExtendedString::Print (Standard_OStream& S) const
-{
-   Standard_Integer len = Data.Length() ;
-   for(Standard_Integer i = 0; i < len ; i++) {
-       S.width(4);
-       S.fill('0');
-       S << hex << Data(i);
-   }
-}
-
-//------------------------------------------------------------------------
-//  Remove
-//------------------------------------------------------------------------
-void PCollection_HExtendedString::Remove (const Standard_Integer Index)
-{
-   if (Index < 0 || Index > Length()) Standard_OutOfRange::Raise();
-   Remove(Index,Index);
-}
-
-//------------------------------------------------------------------------
-//  Remove
-//------------------------------------------------------------------------
-void PCollection_HExtendedString::Remove 
-    (const Standard_Integer FromIndex, const Standard_Integer ToIndex)
-{
-   if (ToIndex > Length() || FromIndex <= 0 || FromIndex > ToIndex ) 
-                     Standard_OutOfRange::Raise();
-   Standard_Integer size1 = Length();
-   for( Standard_Integer i = ToIndex, j = FromIndex-1; i < size1 ; i++, j++)
-     Data.SetValue(j,Data(i));
-   Data.Resize(size1-(ToIndex-FromIndex+1));
-}
-
-//------------------------------------------------------------------------
-//  RemoveAll
-//------------------------------------------------------------------------
-void PCollection_HExtendedString::RemoveAll (const Standard_ExtCharacter C)
-{
-   Standard_Integer i ;
-   Standard_Integer j ;
-   Standard_Integer size1 = Length();
-   for( i = 0, j = 0; i < size1 ; i++) {
-       if (Data(i) == C) continue;
-       Data.SetValue(j++, Data(i));
-   }
-    Data.Resize(j);
-}
-
-//------------------------------------------------------------------------
-//  RightAdjust
-//------------------------------------------------------------------------
-void PCollection_HExtendedString::RightAdjust ()
-{
-   Standard_Integer i ;
-   if (! IsAscii()) Standard_OutOfRange::Raise();
-   for ( i = Length() ; i >= 1 ; i --) {
-      if (!IsSpace((Standard_Character)Value(i))) break;
-   }
-   if( i < Length() ) Remove(i+1,Length());
-}
-
-//------------------------------------------------------------------------
-//  RightJustify
-//------------------------------------------------------------------------
-void PCollection_HExtendedString::RightJustify 
-           (const Standard_Integer Width, const Standard_ExtCharacter Filler)
-{
-   Standard_Integer i ;
-   Standard_Integer k ;
-   if (Width < 0) Standard_NegativeValue::Raise();
-   Standard_Integer size1 = Length();
-   if(Width > size1) {
-      Data.Resize(Width);
-      for ( i = size1-1, k = Width-1 ; i >= 0 ; i--, k--) 
-               Data.SetValue(k, Data(i));
-      for(; k >= 0 ; k--) Data.SetValue(k, Filler);
-   }
-}
-
-//------------------------------------------------------------------------
-//  SetValue
-//------------------------------------------------------------------------
-void PCollection_HExtendedString::SetValue 
-                (const Standard_Integer Index, const Standard_ExtCharacter C)
-{
-   if (Index < 0 || Index > Length()) Standard_OutOfRange::Raise();
-   Data(Index-1) = C;
-}
-
-//------------------------------------------------------------------------
-//  SetValue
-//------------------------------------------------------------------------
-void PCollection_HExtendedString::SetValue 
-           (const Standard_Integer Index, const Handle(PCollection_HExtendedString)& S)
-{
-
-   Standard_Integer size1 = Length();
-   Standard_Integer size2 = S->Length();
-   Standard_Integer size3 = size2 + Index - 1;
-#ifndef NOBOUNDCHECK
-   if (Index < 0 || Index > size1) Standard_OutOfRange::Raise();
-#endif
-   if(size1 != size3) Data.Resize(size3);
-   for( Standard_Integer i = 1 ; i <= size2; i++) Data.SetValue(Index+i-2, S->Value(i));
-}
-
-//------------------------------------------------------------------------
-//  Split
-//------------------------------------------------------------------------
-Handle(PCollection_HExtendedString) PCollection_HExtendedString::Split 
-             (const Standard_Integer Index)
-{
-   if (Index < 0 || Index > Length()) Standard_OutOfRange::Raise();
-   Handle(PCollection_HExtendedString) S2;
-   if (Index != Length()) { 
-      S2 = SubString(Index+1,Length());
-      Data.Resize(Index);
-   }
-   else {
-#ifndef OBJS
-      Handle(PCollection_HAsciiString) s = new PCollection_HAsciiString("");
-      S2 = new PCollection_HExtendedString(s);
-#else
-      Handle(PCollection_HAsciiString) s = new (os_segment::of(this)) PCollection_HAsciiString("");
-      S2 = new (os_segment::of(this)) PCollection_HExtendedString(s);
-#endif
-   }
-   return S2;
-}
-
-//------------------------------------------------------------------------
-//  SubString
-//------------------------------------------------------------------------
-Handle(PCollection_HExtendedString) PCollection_HExtendedString::SubString 
-             (const Standard_Integer FromIndex, const Standard_Integer ToIndex) const
-{
-   if (ToIndex > Length() || FromIndex <= 0 || FromIndex > ToIndex ) 
-                      Standard_OutOfRange::Raise();
-   Handle(PCollection_HExtendedString) S1;
-   Handle(PCollection_HExtendedString) S2;
-   S2 = this;
-#ifndef OBJS
-   S1 = new PCollection_HExtendedString(S2,FromIndex,ToIndex);
-#else
-   S1 = new (os_segment::of(this)) PCollection_HExtendedString(S2,FromIndex,ToIndex);
-#endif
-   return S1;
-}
-
-//------------------------------------------------------------------------
-//  UsefullLength
-//------------------------------------------------------------------------
-Standard_Integer PCollection_HExtendedString::UsefullLength () const
-{
-   Standard_Integer i ;
-  if (! IsAscii()) Standard_OutOfRange::Raise();
-  for( i = Length() ; i >= 1 ; i--) 
-      if (IsGraphic((Standard_Character)Value(i))) break;
-   return (i);
-}
-
-//------------------------------------------------------------------------
-//  value
-//------------------------------------------------------------------------
-Standard_ExtCharacter PCollection_HExtendedString::Value 
-                               (const Standard_Integer Index) const
-{
-   if (Index < 0 || Index > Length()) Standard_OutOfRange::Raise();
-   return Data(Index-1);
-}
-
-//------------------------------------------------------------------------
-//  Assign
-//------------------------------------------------------------------------
-void PCollection_HExtendedString::Assign
-              (const DBC_VArrayOfExtCharacter& TheField)
-
-{
-   Data = TheField;
-}
-
-
-
-
-
-
-
diff --git a/src/PCollection/PCollection_HSequence.cdl b/src/PCollection/PCollection_HSequence.cdl
deleted file mode 100644 (file)
index 91d1e60..0000000
+++ /dev/null
@@ -1,419 +0,0 @@
--- Created on: 1992-09-11
--- Created by: Mireille MERCIEN
--- Copyright (c) 1992-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-generic class HSequence from PCollection (Item as Storable) inherits Persistent 
-
-        ---Purpose: Definition of a sequence of elements indexed by
-        -- an Integer in range of 1..n
-
-raises
-    NoSuchObject from Standard,
-    OutOfRange from Standard
-
-
-    private class SeqNode inherits PManaged 
-    is
-       
-       ---Purpose: This class provides tools to manipulate a Sequence node.
-      --          Generic sequence of elements indexed by an integer in the range 1..N.
-
-       Create( TheLast: SeqNode ; TheItem: Item)
-           returns SeqNode from PCollection;
-
-       Create( TheItem: Item ; TheFirst: SeqNode )
-           returns SeqNode from PCollection;
-
-       Create( ThePrevious: SeqNode ; TheNext: SeqNode ; TheItem: Item )
-           returns SeqNode from PCollection;
-
-       Value(me) returns any Item;
-        ---Level: Internal
-           ---Purpose: Returns MyItem.
-       
-       Next(me) returns SeqNode;
-        ---Level: Internal
-           ---Purpose: Returns MyNext.
-
-       Previous(me) returns SeqNode;
-        ---Level: Internal
-           ---Purpose: Returns MyPrevious.
-
-       SetValue( me:mutable; AnItem: Item);
-        ---Level: Internal
-           ---Purpose: Modifies the value of MyItem.
-
-       SetNext( me:mutable; ANode: SeqNode);
-        ---Level: Internal
-           ---Purpose: Modifies the value of MyNext.
-
-       SetPrevious( me:mutable; ANode: SeqNode);
-        ---Level: Internal 
-       ---Purpose: Modifies the value of MyPrevious.
-
-    fields
-        MyPrevious : SeqNode;
-       MyItem     : Item;
-       MyNext     : SeqNode;
-
-    friends class HSequence    from PCollection,
-            class SeqExplorer from PCollection
-    
-    end;
-       
-    class SeqExplorer 
-                                          
-        ---Purpose: To explore a Sequence in an optimized way.
-
-    raises NoSuchObject from Standard,
-           OutOfRange from Standard
-
-    is      
-       Create(S : HSequence from PCollection) 
-       returns SeqExplorer from PCollection;
-        ---Purpose: Creates an explorer on the sequence S.
-        -- Sets the explorer at the BEGINNING(index 1)
-        -- of the sequence S.
-                                   
-       Value(me : in out ; Index : Integer) 
-          returns any Item 
-         raises OutOfRange from Standard;
-                ---Level: Public
-               ---Purpose: Value of the element indexed by Index in the 
-               -- sequence <S>.
-
-       Contains(me : in out ; T : Item) returns Boolean;
-                ---Level: Public
-               ---Purpose: Returns True if the sequence <S> contains the element T.
-
-       Location(me : in out ; N : Integer; 
-                 T : Item; FromIndex : Integer; 
-                 ToIndex   : Integer) 
-          returns Integer
-         raises OutOfRange from Standard;
-                ---Level: Public
-               ---Purpose: Returns the index of the nth occurence of the element T
-               -- in the sequence <S>. The search starts from the index
-               -- FromIndex to the index ToIndex.
-               -- Returns 0 if the element is not present in the sub-sequence.
-               -- Raises an exception if the index is out of bounds.
-
-       Location(me : in out ; N : Integer; T : Item) 
-          returns Integer
-         raises OutOfRange from Standard;
-                ---Level: Public
-               ---Purpose: Returns the index of the nth occurence of the element T
-               -- in the sequence <S>. The search starts from the beginning
-               -- to the end of the sequence.
-               -- Returns 0 if the element is not present in the sub-sequence.
-               -- Raises an exception if the index is out of bounds.
-
-    fields
-         CurrentItem   : SeqNode;
-         CurrentIndex  : Integer;
-         TheSequence    : HSequence from PCollection;
-    end;
-
-
-is 
-
-
-       Create returns HSequence;
-               ---Purpose: Creation of an empty sequence.
-
-
-       IsEmpty(me) returns Boolean;
-                ---Level: Public
-               ---Purpose: Returns True if the sequence <me> contains no elements.
-
-       Length(me)  returns Integer;
-                ---Level: Public
-               ---Purpose: Returns the number of element(s) in the sequence.
-               -- Returns zero if the sequence is empty.
-
-       First(me) returns any Item 
-             raises NoSuchObject from Standard;
-                ---Level: Public
-               ---Purpose: Returns the first element of the sequence <me>.
-               -- Raises an exception if the sequence is empty.
-               ---Example: before
-               --   me = (A B C)
-               -- after
-               --   me = (A B C)
-               -- returns A
-
-       Last(me)  returns any Item 
-             raises NoSuchObject from Standard ;
-                ---Level: Public
-               ---Purpose: Returns the last element of the sequence <me>.
-               -- Raises an exception if the sequence is empty
-               ---Example: before
-               --   me = (A B C)
-               -- after
-               --   me = (A B C)
-               -- returns C
-
-       Clear(me : mutable);
-                ---Level: Public
-               ---Purpose: Removes all element(s) of the sequence <me>.
-               -- before
-               --   me = (A B C)
-               -- after
-               --   me = ()
-
-       Append(me : mutable; T : Item);
-                ---Level: Public
-               ---Purpose: Pushes an element T at the end of the sequence <me>, thus
-               -- creating a new node.
-               ---Example: before
-               --   me = (A B C)
-               -- after
-               --   me = (A B C T)
-
-       Append(me : mutable; S : HSequence from PCollection);
-                ---Level: Public
-               ---Purpose: Pushes a sequence S at the end of the sequence <me>.
-               -- There is a concatenation of the two sequences by copying S.
-               ---Example: before
-               --   me = (A B C)
-               --   S  = (D E F)
-               -- after
-               --   me = (A B C D E F)
-               --   S  = (D E F)
-
-       Prepend(me : mutable; T : Item);
-                ---Level: Public
-               ---Purpose: Pushes an element T at the beginning of the sequence <me>,
-               -- thus creating a new node.
-               ---Example: before
-               --   me = (A B C)
-               -- after
-               --   me = (T A B C )
-
-
-       Prepend(me : mutable; S : HSequence from PCollection);
-                ---Level: Public
-               ---Purpose: Pushes a sequence S at the begining of the sequence <me>.
-               -- There is a concatenation of two sequences with a copy of S.
-               ---Example: before
-               --   me = (A B C)
-               --   S  = (D E F)
-               -- after
-               --   me = (D E F A B C)
-               --   S  = (D E F)
-
-       Reverse(me : mutable);
-                ---Level: Public
-               ---Purpose: Reverses the order of the sequence <me>.
-               ---Example: before
-               --   me = (A B C)
-               -- after
-               --   me = (C B A)
-
-       InsertBefore(me : mutable; Index : Integer; T : Item) 
-                                              raises OutOfRange from Standard;
-                ---Level: Public
-               ---Purpose: Pushes an element before a specific index in the 
-               -- sequence <me>.
-               -- Raises an exception if the index is out of bounds.
-               ---Example: before
-               --   me = (A B D), Index = 3, T = C
-               -- after
-               --   me = (A B C D )
-
-       InsertBefore(me : mutable ; Index : Integer; 
-                     S  : HSequence from PCollection) 
-                  raises OutOfRange from Standard;
-                ---Level: Public
-               ---Purpose: Pushes a sequence before a specific index in 
-               -- the sequence <me> by copying S.
-               -- Raises an exception if the index is out of bounds.
-               ---Example: before
-               --   me = (A B F), Index = 3, S = (C D E)
-               -- after
-               --   me = (A B C D E F)
-               --   S  = (C D E)
-
-       InsertAfter(me : mutable; Index : Integer; T : Item) 
-              raises OutOfRange from Standard;
-                ---Level: Public
-               ---Purpose: Pushes an element after a specific index in the 
-               -- sequence <me>.
-               -- Raises an exception if the index is out of bounds.
-               ---Example: before
-               --   me = (A B C), Index = 3, T = D
-               -- after
-               --   me = (A B C D )
-
-       InsertAfter(me : mutable ; Index : Integer; 
-                    S : HSequence from PCollection) 
-              raises OutOfRange from Standard;
-                ---Level: Public
-               ---Purpose: Pushes a sequence after a specific index in 
-               -- the sequence <me> by copying S.
-               -- Raises an exception if the index is out of bounds.
-               ---Example: before
-               --   me = (A B C), Index = 3, S = (D E F)
-               -- after
-               --   me = (A B C D E F)
-               --   S  = (D E F)
-
-       Exchange(me : mutable; I, J : Integer) raises OutOfRange from Standard;
-                ---Level: Public
-               ---Purpose: Swaps elements which are located in positions I and J
-               -- in the sequence <me>.
-               -- Raises an exception if the index I or J is out of bounds.
-               ---Example: before
-               --   me = (A B C), I = 1, J = 3            
-               -- after
-               --   me = (C B A)           
-
-       SubSequence(me; FromIndex, ToIndex : Integer) 
-                                       returns HSequence
-                                       raises OutOfRange from Standard;
-                ---Level: Public
-               ---Purpose: Creation a sub-sequence with the elements from the 
-               -- starting index I to the last index J
-               -- there is a partial copy of the sequence <me>
-               -- Raises an exception if the index is out of bounds or if 
-               -- <ToIndex> is less than <FromIndex>.
-               ---Example: before
-               --  me = (A B C D E), I = 2, J = 4
-               -- after
-               --  me = (A B C D E)
-               -- returns
-               --  (B C D)
-              
-       Split(me : mutable; Index : Integer) 
-           returns HSequence 
-            raises OutOfRange from Standard;
-                ---Level: Public
-               ---Purpose: Split a sequence into two sub-sequences.
-               ---Example: before
-               --   me = (A B C D) ,Index = 3
-               -- after
-               --   me = (A B)
-               -- returns
-               --   (C D)
-
-       SetValue(me : mutable; Index : Integer; T : Item) 
-                                                  raises OutOfRange;
-                ---Level: Public
-               ---Purpose: Modification of the element indexed by Index in 
-               -- the sequence <me>.
-               -- Raises an exception if the index is out of bounds.
-               ---Example: before 
-               --   me = (A B D), Index = 3, T = C
-               -- after
-               --   me = (A B C)
-
-       Value(me; Index : Integer) returns any Item 
-           raises OutOfRange from Standard;
-                ---Level: Public
-               ---Purpose: Value of the element indexed by Index in the 
-               -- sequence <me>.
-               -- Raises an exception if the index is out of bounds.
-               ---Example: before 
-               --   me = (A B C), Index = 1
-               -- after
-               --   me = (A B C)
-               -- returns 
-               --   A
-
-       Contains(me; T : Item) returns Boolean;
-                ---Level: Public
-               ---Purpose: Returns True if the sequence <me> contains the element T
-
-       Location(me; N : Integer; 
-                     T : Item; FromIndex : Integer; 
-                     ToIndex   : Integer) returns Integer
-                                                  raises OutOfRange from Standard;
-                ---Level: Public
-               ---Purpose: Returns the index of the nth occurence of the element T
-               -- in the sequence <me>. The search starts from the index FromIndex to 
-               -- the index ToIndex.
-               -- Returns 0 if the element is not present in the sub-sequence.
-               -- Raises an exception if the index is out of bounds or if
-               -- <ToIndex> is less than <FromIndex>.
-               ---Example: before
-               --  me = (A B C B D E B H), N = 2, T = B, FromIndex = 3
-               --  ToIndex = 8
-               -- after
-               --  me = (A B C B D E B H)
-               -- returns 7
-
-       Location(me; N : Integer; T : Item) returns Integer
-                               raises OutOfRange from Standard;
-                ---Level: Public
-               ---Purpose: Returns the index of the nth occurence of the element T
-               -- in the sequence <me>. The search starts from the beginning
-               -- to the end of the sequence.
-               -- Returns 0 if the element is not present in the sub-sequence.
-               -- Raises an exception if the index is out of bounds.
-               ---Example: before
-               --  me = (A B C B D E B H), N = 3, T = B
-               -- after
-               --  me = (A B C B D E B H)
-               -- returns 7
-
-       Remove(me : mutable; Index : Integer) 
-           raises OutOfRange from Standard;
-                ---Level: Public
-               ---Purpose: Removes the element indexed by Index in the
-               -- sequence <me>.
-               -- Raises an exception if the index is out of bounds.
-               ---Example: before
-               --   me = (A B C), Index = 3
-               -- after
-               --   me = (A B)
-
-       Remove(me : mutable; FromIndex, ToIndex : Integer) 
-            raises OutOfRange from Standard;
-                ---Level: Public
-               ---Purpose: Removes the elements from the index FromIndex to the
-               -- index ToIndex in the sequence <me>.
-               -- Raises an exception if the indexes are out of bounds 
-               ---Example: before
-               --   me = (A B C D E F), FromIndex = 1 ToIndex = 3
-               -- after
-               --   me = (D E F)
-
-        GetFirst(me)
-               ---Level: Internal
-              ---Purpose: Returns "FirstItem" field.
-           returns SeqNode
-           is private;
-
-        GetLast(me)
-               ---Level: Internal
-              ---Purpose: Returns "LastItem" field 
-          returns SeqNode
-          is private;
-
-       Destroy(me : mutable);
-       ---C++: alias ~
-       
-fields 
-  FirstItem    : SeqNode;
-  LastItem     : SeqNode;
-  Size                 : Integer;
-    
-friends class SeqExplorer from PCollection
-
-end;
-
-
-
-
diff --git a/src/PCollection/PCollection_HSequence.gxx b/src/PCollection/PCollection_HSequence.gxx
deleted file mode 100644 (file)
index c646fde..0000000
+++ /dev/null
@@ -1,465 +0,0 @@
-// Created on: 1992-09-24
-// Created by: Mireille MERCIEN
-// Copyright (c) 1992-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <Standard_NoSuchObject.hxx>
-#include <Standard_OutOfRange.hxx>
-#include <Standard_NotImplemented.hxx>
-#include <Standard_ProgramError.hxx>
-#include <Standard_OStream.hxx>
-
-// ----------------------------------------------------------------------
-// ----------------------------------------------------------------------
-
-// -----------
-// constructor :
-// -----------
-PCollection_HSequence::PCollection_HSequence()
-{
-   Size = 0;
-   FirstItem.Nullify();
-   LastItem.Nullify();
-}
-
-// ----------------------------------
-// Clear : Clear the Current Sequence
-// ----------------------------------
-void PCollection_HSequence::Clear()
-{
-   Handle(PCollection_SeqNode) cell;
-   Handle(PCollection_SeqNode) pnul;
-   pnul.Nullify(); 
-   if (Size != 0) {
-      while (Size != 1) {
-         cell = FirstItem;
-         FirstItem = FirstItem->Next();
-         FirstItem->SetPrevious(pnul);
-#ifndef CSFDB
-         cell.Delete();
-#endif
-         --Size;
-      }
-      FirstItem.Nullify();
-#ifndef CSFDB
-      LastItem.Delete();          // free memory
-#endif
-      Size = 0;
-   } 
-}
-
-// -------------------------------------------------
-// Append : Push an item  at the end of the sequence
-// -------------------------------------------------
-void PCollection_HSequence::Append(const Item& T)
-{
-   Handle(PCollection_SeqNode) newcell;
-#ifndef OBJS
-   newcell = new PCollection_SeqNode(LastItem,T);
-#else
-   newcell = new (os_segment::of(this)) PCollection_SeqNode(LastItem,T);
-#endif
-   if (Size == 0) FirstItem = newcell;   
-   if (!LastItem.IsNull()) LastItem->SetNext(newcell);
-   LastItem = newcell;   
-   ++Size;                        
-   
-}
-
-// ---------------------------------------------------
-// Append : Push a sequence at the end of the sequence
-// ---------------------------------------------------
-void PCollection_HSequence::Append(const Handle(PCollection_HSequence)& S)
-{
-   for (Standard_Integer i = 1; i <= S->Length(); i++)
-      Append (S->Value(i));
-}
-
-// ---------------------------------------------------------
-// Prepend : Push an element at the begining of the sequence
-// ---------------------------------------------------------
-void PCollection_HSequence::Prepend(const Item& T)
-{
-   Handle(PCollection_SeqNode) newcell;
-#ifndef OBJS
-   newcell = new PCollection_SeqNode(T,FirstItem);
-#else
-   newcell = new (os_segment::of(this)) PCollection_SeqNode(T,FirstItem);
-#endif
-   if (Size == 0) LastItem = newcell;   
-   if (!FirstItem.IsNull()) FirstItem->SetPrevious(newcell);
-   FirstItem = newcell;
-   ++Size;   
-}
-
-// ---------------------------------------------------------
-// Prepend : Push a sequence at the begining of the sequence
-// ---------------------------------------------------------
-void PCollection_HSequence::Prepend(const Handle (PCollection_HSequence)& S)
-{
-   for (Standard_Integer i = S->Length(); i >= 1; i--)
-      Prepend (S->Value(i));
-
-}
-
-// ---------------------------------------------------------
-// Reverse : Reverse the order of a given sequence
-// ---------------------------------------------------------
-void PCollection_HSequence::Reverse()
-{
-   if (Size == 0 || Size == 1) return;
-   Handle(PCollection_SeqNode) back,next,temp;
-   temp = LastItem;
-   while (!temp.IsNull())
-   {
-      back = temp->Previous();
-      next = temp->Next();
-      temp->SetNext(back);
-      temp->SetPrevious(next);
-      temp = temp->Next(); 
-   }
-   temp      = FirstItem;
-   FirstItem = LastItem;
-   LastItem  = temp;
-}
-
-// -------------------------------------------------------------------
-// InsertBefore : Insert an item before a given index in the sequence
-// --------------------------------------------------------------------
-void PCollection_HSequence::InsertBefore(const Standard_Integer Index, 
-                                       const Item& T)
-{
-   if ( Index <= 0 || Index > Length() ) Standard_OutOfRange::Raise();
-   if ( Index == 1 )  { 
-     Prepend (T);
-     return; 
-   }
-
-//Index research
-   Standard_Integer i = 1;
-   Handle(PCollection_SeqNode) cell = FirstItem;
-   while (i != Index)  {
-     cell = cell->Next();             
-     ++i;
-   }
-
-// Insertion before Index
-   Handle(PCollection_SeqNode) previous = cell->Previous();
-#ifndef OBJS
-   Handle(PCollection_SeqNode) temp = new PCollection_SeqNode(previous,cell,T);
-#else
-   Handle(PCollection_SeqNode) temp = new (os_segment::of(this)) PCollection_SeqNode(previous,cell,T);
-#endif
-   previous->SetNext(temp);
-   cell->SetPrevious(temp);
-   ++Size;      
-}
-
-// ----------------------------------------------------------------------
-// InsertBefore : Insert a sequence before a specific index in a sequence
-// ----------------------------------------------------------------------
-void PCollection_HSequence::InsertBefore(const Standard_Integer Index , 
-                                       const Handle(PCollection_HSequence)& S)
-{
-   if ( Index <= 0 || Index > Size ) Standard_OutOfRange::Raise();
-   for (Standard_Integer i = 1, j = Index ; i <= S->Length(); i++,j++)
-       InsertBefore(j,S->Value(i));
-}
-
-// -----------------------------------------------------------------
-// InsertAfter : Insert an element after a given index in a sequence
-// -----------------------------------------------------------------
-void PCollection_HSequence::InsertAfter(const Standard_Integer Index, 
-                                      const Item& T)
-{
-   if ( Index <= 0 || Index > Length() ) Standard_OutOfRange::Raise();
-   if ( Index == Size ) 
-      Append (T);
-   else 
-      InsertBefore (Index+1,T);
-}
-
-// -------------------------------------------------------------------
-// InsertAfter : Insert a sequence after a given index in the sequence
-// -------------------------------------------------------------------
-void PCollection_HSequence::InsertAfter(const Standard_Integer Index, 
-                                      const Handle(PCollection_HSequence)&S)
-{
-   if ( Index <= 0 || Index > Length() ) Standard_OutOfRange::Raise();
-   for (Standard_Integer i = 1, j = Index ; i <= S->Length(); i++,j++)
-      InsertAfter (j,S->Value(i));
-}
-
-// ----------------------------------------
-// Exchange : Exchange two elements in the sequence
-// ----------------------------------------
-void PCollection_HSequence::Exchange(const Standard_Integer I, 
-                                   const Standard_Integer J)
-{
-   if ( I <= 0 || J <= 0 || I > Length() || J > Length() ) 
-                                           Standard_OutOfRange::Raise();
-   Item T = Value(J);
-   SetValue(J,Value(I));
-   SetValue(I,T);
-}
-
-// ----------------------------------------------------
-// SubSequence : Returns a sub-sequence from a sequence
-// ----------------------------------------------------
-Handle(PCollection_HSequence) PCollection_HSequence::SubSequence
-      (const Standard_Integer From,const Standard_Integer To) const 
-{
-   if ( From <= 0 || From > Length() || 
-        To <= 0 || To > Length() || To < From ) Standard_OutOfRange::Raise();
-#ifndef OBJS
-   Handle (PCollection_HSequence) SubSeq = new PCollection_HSequence;
-#else
-   Handle (PCollection_HSequence) SubSeq = new (os_segment::of(this)) PCollection_HSequence;
-#endif
-   for(Standard_Integer i = From ; i <= To; i++)
-       SubSeq->Append(Value(i));
-   return SubSeq;
-}
-
-// ---------------------------------------------
-// Split : Split a sequence in two sub-sequences
-// ---------------------------------------------
-Handle (PCollection_HSequence) 
-            PCollection_HSequence::Split(const Standard_Integer Index)
-{
-   Standard_Integer i ;
-   if ( Index <= 0 || Index > Length() ) Standard_OutOfRange::Raise();
-
-// construct the new sequence
-#ifndef OBJS
-   Handle(PCollection_HSequence) Seq = new PCollection_HSequence;
-#else
-   Handle(PCollection_HSequence) Seq = new (os_segment::of(this)) PCollection_HSequence;
-#endif
-   for (i = Index ; i<= Size; i++)
-       Seq->Append(Value(i));
-
-// Update the old sequence
-   if (Index == 1 ) {
-     Clear();
-     return Seq;
-   }
-// Index research
-   i = 1;
-   Handle(PCollection_SeqNode) cell = FirstItem;
-   while (i != Index-1)  {
-     cell = cell->Next();             
-     ++i;
-   }
-// Re-build the Sequence     
-   Handle(PCollection_SeqNode) pnul;
-   pnul.Nullify(); 
-   LastItem = cell;
-   LastItem->SetNext(pnul);
-   Size = Index - 1 ;
-   return Seq;
-}
-
-// ----------------------------------------------------------
-// SetValue : Change the element of a given index in a sequence
-// ----------------------------------------------------------
-void PCollection_HSequence::SetValue(const Standard_Integer Index, 
-                                   const Item& T)
-{
-   if (Index <= 0 || Index > Length()) Standard_OutOfRange::Raise();
-
-// Index research
-   Standard_Integer i = 1;
-   Handle(PCollection_SeqNode) cell = FirstItem;
-   while (i != Index )  {
-     cell = cell->Next();
-     ++i;
-   }
-// Change the value of the node
-   cell->SetValue(T);
-}
-
-// -----------------------------------------
-// Value : Return the value of a given index
-// -----------------------------------------
-Item PCollection_HSequence::Value(const Standard_Integer Index) const 
-{
-   if (Index <= 0 || Index > Length()) Standard_OutOfRange::Raise();
-// Index research
-   Standard_Integer i = 1;
-   Handle(PCollection_SeqNode) cell = FirstItem;
-   while (i != Index )  {
-     cell = cell->Next();
-     ++i;
-   }
-// returns the value of the node
-   return cell->Value();
-}
-
-// ----------------------------------------------------------------
-// Contains : Returns True if the sequence contains a given element
-// ----------------------------------------------------------------
-//Standard_Boolean PCollection_HSequence::Contains(const Item& T) const 
-Standard_Boolean PCollection_HSequence::Contains(const Item& ) const 
-{
-  Standard_ProgramError::Raise("PCollection_HSequence::Contains : Obsolete method...");
-  return Standard_False;
-}
-
-// -------------------------------------------------------------
-// Location : returns the index of the nth occurence of an item.
-// -------------------------------------------------------------
-//Standard_Integer PCollection_HSequence::Location(const Standard_Integer N,
-//                                               const Item& T,
-//                                               const Standard_Integer From, 
-//                                               const Standard_Integer To) const
-Standard_Integer PCollection_HSequence::Location(const Standard_Integer ,
-                                               const Item& ,
-                                               const Standard_Integer , 
-                                               const Standard_Integer ) const
-{
-  Standard_ProgramError::Raise("PCollection_HSequence::Location : Obsolete method...");
-  return 0;
-}
-
-// -------------------------------------------------------------
-// Location : returns the index of the nth occurence of an item.
-// -------------------------------------------------------------
-//Standard_Integer PCollection_HSequence::
-//              Location(const Standard_Integer N,const Item& T) const 
-Standard_Integer PCollection_HSequence::
-              Location(const Standard_Integer ,const Item& ) const 
-{
-  Standard_ProgramError::Raise("PCollection_HSequence::Location : Obsolete method...");
-  return 0;
-}
-
-// -------------------------------------
-// Remove : Remove an item in a sequence
-// -------------------------------------
-void PCollection_HSequence::Remove(const Standard_Integer Index)
-{
-   if (Index <= 0 || Index > Size ) Standard_OutOfRange::Raise();
-   if (Size == 1)  { 
-      Size = 0;
-      FirstItem.Nullify();
-#ifndef CSFDB
-      LastItem.Delete();          // free memory
-#endif
-   } 
-   else {
-      Handle(PCollection_SeqNode) pnul,cell,previous,next;
-      pnul.Nullify();
-      if ( Index == 1 ) {                          // Remove the first Index
-         cell = FirstItem;  
-         FirstItem = FirstItem->Next();
-         FirstItem->SetPrevious(pnul);
-#ifndef CSFDB
-         cell.Delete();                           // free memory
-#endif
-         --Size;
-      } else if ( Index == Size ) {                // Remove the last Index
-         cell = LastItem;
-         LastItem = LastItem->Previous();
-         LastItem->SetNext(pnul);
-#ifndef CSFDB
-         cell.Delete();                           // free memory
-#endif
-         --Size;
-      } else {
-        Standard_Integer i = 1;
-        cell = FirstItem;
-        while (i != Index)  {
-           cell = cell->Next();             
-           ++i;
-        } 
-        previous = cell->Previous();
-        next = cell->Next();
-        previous->SetNext(next);
-        next->SetPrevious(previous);    
-#ifndef CSFDB
-        cell.Delete();                           // free memory
-#endif
-        --Size;
-      }
-   }
-}
-
-// ---------------------
-// Remove a set of items
-// --------------------- 
-void PCollection_HSequence::Remove(const Standard_Integer From,const Standard_Integer To)
-{
-   if (From <= 0 || From > Size || To <= 0 || To > Size || From > To )
-                                       Standard_OutOfRange::Raise(); 
-   for (Standard_Integer i = From; i<= To; i++) Remove(From);
-}
-
-// ---------------------------------------------------
-// First : Returns the first element of the sequence
-//         Raises an exeption if the sequence is empty
-// ----------------------------------------------------
-Item PCollection_HSequence::First() const 
-{
-   if (Size == 0) Standard_NoSuchObject::Raise();
-   return FirstItem->Value();
-}
-
-// ----------------------------------------------------
-// Last : Returns the last element of the sequence
-//         Raises an exeption if the sequence is empty
-// ----------------------------------------------------
-Item PCollection_HSequence::Last() const 
-{
-  if (Size == 0) Standard_NoSuchObject::Raise();
-  return LastItem->Value();
-}
-
-// IsEmpty : Returns Standard_True if the sequence is empty (i.e. Size = 0)
-Standard_Boolean PCollection_HSequence::IsEmpty() const 
-{
-  return (Size == 0);
-}
-
-// Length : Returns the length of the sequence
-Standard_Integer PCollection_HSequence::Length() const 
-{
-  return Size;
-}
-
-// GetFirst : Returns the field "FirstItem"
-Handle(PCollection_SeqNode) PCollection_HSequence::GetFirst() const 
-{
-  return FirstItem;
-}
-
-// GetLast : Returns the field "LastItem"
-Handle(PCollection_SeqNode) PCollection_HSequence::GetLast() const 
-{
-  return LastItem;
-}
-
-void PCollection_HSequence::Destroy()
-{
-#ifdef CSFDB
-  Clear();
-#endif
-}
-
-
-
-       
-       
-
-
diff --git a/src/PCollection/PCollection_SeqExplorer.gxx b/src/PCollection/PCollection_SeqExplorer.gxx
deleted file mode 100644 (file)
index a5fd830..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-// Created on: 1992-09-28
-// Created by: Mireille MERCIEN
-// Copyright (c) 1992-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <Standard_NoSuchObject.hxx>
-#include <Standard_OutOfRange.hxx>
-#include <Standard_NotImplemented.hxx>
-#include <Standard_ProgramError.hxx>
-
-// ----------------------------------------------------------------------
-// ----------------------------------------------------------------------
-
-// -----------
-// constructor :
-// -----------
-PCollection_SeqExplorer::PCollection_SeqExplorer
-                                 (const Handle(PCollection_HSequence)& S )
-{
-   if (S->Length() != 0) {
-      CurrentItem  = S->GetFirst();
-      CurrentIndex = 1;
-      TheSequence  = S;
-   } 
-   else {
-      CurrentItem.Nullify();
-      CurrentIndex = 0;
-      TheSequence.Nullify();
-   }    
-}
-
-// -----------
-// Value :
-// -----------
-Item PCollection_SeqExplorer::Value(const Standard_Integer Index)
-{
-   if (Index <= 0 || Index > TheSequence->Length()) 
-                                 Standard_NoSuchObject::Raise();
-   if (Index < CurrentIndex) {
-     CurrentIndex = 1;
-     CurrentItem  = TheSequence->GetFirst();
-   }
-   while ( CurrentIndex != Index ) {
-       ++CurrentIndex;
-       CurrentItem = CurrentItem->Next();
-   }
-// Return the value of the item pointed by CurrentItem
-   return CurrentItem->Value();
-}
-
-// -----------
-// Contains :
-// -----------
-//Standard_Boolean PCollection_SeqExplorer::Contains(const Item& T)
-Standard_Boolean PCollection_SeqExplorer::Contains(const Item& )
-{
-  Standard_ProgramError::Raise("PCollection_SeqExplorer::Contains : Obsolete method...");
-
-  return Standard_False;   
-}
-
-// -----------
-// Location :
-// -----------
-//Standard_Integer PCollection_SeqExplorer::Location ( const Standard_Integer N ,
-//                                           const Item& T ,
-//                                           const Standard_Integer From ,
-//                                           const Standard_Integer To)
-Standard_Integer PCollection_SeqExplorer::Location ( const Standard_Integer  ,
-                                           const Item&  ,
-                                           const Standard_Integer  ,
-                                           const Standard_Integer )
-{
-  Standard_ProgramError::Raise("PCollection_SeqExplorer::Location : Obsolete method...");
-  return 0;
-}
-
-// -----------
-// Location :
-// -----------
-//Standard_Integer PCollection_SeqExplorer::Location(const Standard_Integer N , const Item& T )
-Standard_Integer PCollection_SeqExplorer::Location(const Standard_Integer  , const Item&  )
-{
-  Standard_ProgramError::Raise("PCollection_SeqExplorer::Location : Obsolete method...");
-  return 0;
-}
-
-
-
diff --git a/src/PCollection/PCollection_SeqNode.gxx b/src/PCollection/PCollection_SeqNode.gxx
deleted file mode 100644 (file)
index de00528..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-// Created on: 1992-09-24
-// Created by: Mireille MERCIEN
-// Copyright (c) 1992-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <Standard_NoSuchObject.hxx>
-#include <Standard_OutOfRange.hxx>
-#include <Standard_NotImplemented.hxx>
-
-// ----------------------------------------------------------------------
-// ----------------------------------------------------------------------
-
-// -----------
-// constructor :
-// -----------
-PCollection_SeqNode::PCollection_SeqNode
-      (const Handle(PCollection_SeqNode)& TheLast , const Item& TheItem )
-{
-   MyItem = TheItem;
-   MyPrevious = TheLast;
-   MyNext.Nullify();
-}
-
-PCollection_SeqNode::PCollection_SeqNode
-      (const Item& TheItem , const Handle(PCollection_SeqNode)& TheFirst)
-{
-   MyItem = TheItem;
-   MyNext = TheFirst;
-   MyPrevious.Nullify();
-
-}
-
-PCollection_SeqNode::PCollection_SeqNode
-      (const Handle(PCollection_SeqNode)& ThePrevious , 
-       const Handle(PCollection_SeqNode)& TheNext ,
-       const Item& TheItem) 
-{
-   MyItem     = TheItem;
-   MyNext     = TheNext;
-   MyPrevious = ThePrevious;
-}   
-
-// -----------
-// Value
-// -----------
-Item PCollection_SeqNode::Value() const 
-{
-   return MyItem;
-}
-
-// -----------
-// Next
-// -----------
-Handle(PCollection_SeqNode) PCollection_SeqNode::Next() const 
-{
-   return MyNext;
-}
-
-// -----------
-// Previous
-// -----------
-Handle(PCollection_SeqNode) PCollection_SeqNode::Previous() const 
-{
-   return MyPrevious;
-}
-
-// -----------
-// SetValue
-// -----------
-void PCollection_SeqNode::SetValue(const Item& TheItem) 
-{
-   MyItem = TheItem;
-} 
-
-// -----------
-// SetNext
-// -----------
-void PCollection_SeqNode::SetNext(const Handle(PCollection_SeqNode)& TheNext)
-{
-   MyNext = TheNext;
-}
-
-// -----------
-// SetPrevious
-// -----------
-void PCollection_SeqNode::
-         SetPrevious(const Handle(PCollection_SeqNode)& ThePrevious)
-{
-   MyPrevious = ThePrevious;
-}
-
-
-
-
-
-
diff --git a/src/PDF/PDF.cdl b/src/PDF/PDF.cdl
deleted file mode 100644 (file)
index ed1252e..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
--- Created by: DAUTRY Philippe
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
---             -------
-
----Version:    0.0
---Version      Date            Purpose
---             0.0     Mar 13 1997     Creation
-
-
-package PDF 
-
-       ---Purpose: This pakage is the persistent equivalent of
-       --          TDF. It describes persistent classes used to store
-       --          a TDF structure into a Database.
-
-
-uses
-
-    Standard,
-    PCollection,
-    PColStd
-
-is
-
-    class Data;
-    
-    
-    deferred class Attribute;
-
-    class TagSource; 
-
-    class Reference;
-
-    -- Instantiations ---------------------------------------------------
-
-    class HAttributeArray1 from PDF instantiates HArray1 from PCollection
-       (Attribute from PDF);
-
-end PDF;
diff --git a/src/PDF/PDF_Attribute.cdl b/src/PDF/PDF_Attribute.cdl
deleted file mode 100644 (file)
index 60e88c5..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
--- Created by: DAUTRY Philippe
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
---             -----------------
-
----Version:    0.0
---Version      Date            Purpose
---             0.0     Mar 13 1997     Creation
-
-
-deferred class Attribute from PDF
-    inherits Persistent from Standard
-
-       ---Purpose: This class is the persistent equivalent of
-       --          Attribute from TDF.
-
-is
-
-end Attribute;
-
diff --git a/src/PDF/PDF_Attribute.cxx b/src/PDF/PDF_Attribute.cxx
deleted file mode 100644 (file)
index f96576f..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-// Created by: DAUTRY Philippe
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-//             -----------------
-
-// Version:    0.0
-//Version      Date            Purpose
-//             0.0     Mar 13 1997     Creation
-
-
-
-#include <PDF_Attribute.ixx>
diff --git a/src/PDF/PDF_Data.cdl b/src/PDF/PDF_Data.cdl
deleted file mode 100644 (file)
index 17f066c..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
--- Created by: DAUTRY Philippe
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
---             ------------
-
----Version:    0.0
---Version      Date            Purpose
---             0.0     Mar 13 1997     Creation
-
-
-class Data from PDF
-    inherits Persistent from Standard
-
-       ---Purpose: Persistent equivalent of Data from TDF.
-
-uses
-
-    HArray1OfInteger from PColStd,
-    HAttributeArray1 from PDF
-
--- raises
-
-is
-
-    Create
-       returns Data from PDF;
-
-    Create(aVersionNumber : Integer from Standard)
-       returns Data from PDF;
-
-    VersionNumber(me)
-       returns Integer from Standard;
-       ---Purpose: Returns the value of the field <myVersion>.
-       ---C++: inline
-
-
-    Labels(me : mutable;
-          theLabels : HArray1OfInteger from PColStd);
-       ---Purpose: Sets the field <myLabels> with <theLabels>.
-       ---C++: inline
-
-    Labels(me)
-       returns HArray1OfInteger from PColStd;
-       ---Purpose: Returns the value of the field <myLabels>.
-       ---C++: inline
-
-    Attributes(me : mutable;
-          theAttributes : HAttributeArray1 from PDF);
-       ---Purpose: Sets the field <myAttributes> with <theAttributes>.
-       ---C++: inline
-
-    Attributes(me)
-       returns HAttributeArray1 from PDF;
-       ---Purpose: Returns the value of the field <myAttributes>.
-       ---C++: inline
-
-fields
-
-    myVersion    : Integer          from Standard;
-    myLabels     : HArray1OfInteger from PColStd;
-    myAttributes : HAttributeArray1 from PDF;
-
-end Data;
diff --git a/src/PDF/PDF_Data.cxx b/src/PDF/PDF_Data.cxx
deleted file mode 100644 (file)
index 3fa1f25..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-// Created by: DAUTRY Philippe
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-//             ------------
-
-// Version:    0.0
-//Version      Date            Purpose
-//             0.0     Mar 13 1997     Creation
-
-
-
-#include <PDF_Data.ixx>
-
-
-//=======================================================================
-//function : PDF_Data
-//purpose  : 
-//=======================================================================
-
-PDF_Data::PDF_Data() : myVersion(0)
-{
-}
-
-//=======================================================================
-//function : PDF_Data
-//purpose  : 
-//=======================================================================
-
-PDF_Data::PDF_Data(const Standard_Integer aVersionNumber) :
-myVersion(aVersionNumber)
-{}
-
diff --git a/src/PDF/PDF_Data.lxx b/src/PDF/PDF_Data.lxx
deleted file mode 100644 (file)
index 0e719bf..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-// Created by: DAUTRY Philippe
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-//             ------------
-
-// Version:    0.0
-//Version      Date            Purpose
-//             0.0     Mar 13 1997     Creation
-
-inline Standard_Integer PDF_Data::VersionNumber() const
-{ return myVersion; }
-
-inline void PDF_Data::Labels
-(const Handle(PColStd_HArray1OfInteger)& theLabels) 
-{ myLabels = theLabels; }
-inline Handle(PColStd_HArray1OfInteger) PDF_Data::Labels() const
-{ return myLabels; }
-inline void PDF_Data::Attributes
-(const Handle(PDF_HAttributeArray1)& theAttributes) 
-{ myAttributes = theAttributes; }
-inline Handle(PDF_HAttributeArray1) PDF_Data::Attributes() const
-{ return myAttributes; }
diff --git a/src/PDF/PDF_Reference.cdl b/src/PDF/PDF_Reference.cdl
deleted file mode 100644 (file)
index 0e4f64b..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
--- Created on: 2000-03-01
--- Created by: Denis PASCAL
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Reference from PDF inherits Attribute from PDF
-
-uses HAsciiString from PCollection
-
-is
-
-    Create returns Reference from  PDF;
-    
-    
-    Create (V : HAsciiString from PCollection) 
-    returns Reference from PDF;
-    
-    
-    ReferencedLabel (me) returns HAsciiString from PCollection;
-    
-    
-    ReferencedLabel (me : mutable; V : HAsciiString from PCollection);
-
-
-fields
-
-    myValue : HAsciiString from PCollection;
-
-end Reference;
diff --git a/src/PDF/PDF_Reference.cxx b/src/PDF/PDF_Reference.cxx
deleted file mode 100644 (file)
index cf2dff2..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Created on: 2000-03-01
-// Created by: Denis PASCAL
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDF_Reference.ixx>
-
-
-PDF_Reference::PDF_Reference() { }
-
-PDF_Reference::PDF_Reference(const Handle(PCollection_HAsciiString)& V)
-: myValue (V) {}
-
-Handle(PCollection_HAsciiString) PDF_Reference::ReferencedLabel() const
-{ return myValue; }
-
-void PDF_Reference::ReferencedLabel(const Handle(PCollection_HAsciiString)& V) 
-{ myValue = V; }
-
diff --git a/src/PDF/PDF_TagSource.cdl b/src/PDF/PDF_TagSource.cdl
deleted file mode 100644 (file)
index 2f0a54e..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
--- Created on: 1997-08-04
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TagSource from PDF inherits Attribute from PDF
-
-       ---Purpose: 
-
-uses Integer from Standard
-
-is
-
-    
-    Create returns TagSource from  PDF;
-    
-    
-    Create (V : Integer from Standard) 
-    returns TagSource from PDF;
-    
-    
-    Get (me) returns Integer from Standard;
-    
-    
-    Set (me : mutable; V : Integer from Standard);
-
-
-fields
-
-    myValue : Integer from Standard;
-
-end TagSource;
-
diff --git a/src/PDF/PDF_TagSource.cxx b/src/PDF/PDF_TagSource.cxx
deleted file mode 100644 (file)
index 1ba80da..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDF_TagSource.ixx>
-
-PDF_TagSource::PDF_TagSource() : myValue (0) { }
-
-PDF_TagSource::PDF_TagSource(const Standard_Integer V)
-: myValue (V) {}
-
-Standard_Integer PDF_TagSource::Get() const
-{ return myValue; }
-
-void PDF_TagSource::Set(const Standard_Integer V) 
-{ myValue = V; }
-
diff --git a/src/PDataStd/PDataStd.cdl b/src/PDataStd/PDataStd.cdl
deleted file mode 100644 (file)
index 3cddbec..0000000
+++ /dev/null
@@ -1,110 +0,0 @@
--- Created on: 1995-05-10
--- Created by: Denis PASCAL
--- Copyright (c) 1995-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package PDataStd 
-
-       ---Purpose: 
-
-
-uses Standard,
-     PDF,
-     PCollection,
-     PColStd,
-     TColStd
-
-
-is
-
-
-    ---Category: General Data
-    --           ============
-
-    class Name;
-    
-    class Comment;
-    
-    ---Category: Basic Data for Modeling
-    --           =======================
-
-    class Integer; 
-    
-    class IntegerArray; 
-     
-    class IntegerArray_1; 
-    
-    class Real;
-
-    class RealArray; 
-    
-    class RealArray_1;     
-    
-    class ExtStringArray; 
-     
-    class ExtStringArray_1;
-
-    class TreeNode;        
-    
-    class Expression;
-    
-    class Relation;
-    
-    class Variable;
-    
-    ---Category: Document Data for Modeling
-    --           ==========================
-    
-    class NoteBook; 
-    class UAttribute;
-        
-    class Directory;
-
-     
-    -- Extension    
-    class Tick;
-    
-    -- Lists:
-    class IntegerList;
-    class RealList;
-    class ExtStringList;
-    class BooleanList;
-    class ReferenceList;
-
-    -- Arrays:
-    class BooleanArray;
-    class ReferenceArray;
-    class ByteArray;
-    class ByteArray_1; 
-    
-    class NamedData; 
-    class AsciiString; 
-    class IntPackedMap;  
-    class IntPackedMap_1;
-     
-
-    class HArray1OfHAsciiString instantiates
-                   HArray1 from PCollection (HAsciiString from PCollection);
-
-        class HArray1OfHArray1OfInteger instantiates HArray1 from  PCollection( 
-               HArray1OfInteger  from  PColStd); 
-                
-       class HArray1OfHArray1OfReal instantiates HArray1 from  PCollection( 
-               HArray1OfReal  from  PColStd); 
-                
-       class HArray1OfByte instantiates HArray1 from  PCollection( 
-               Byte  from  Standard);   
-               
-end PDataStd;
diff --git a/src/PDataStd/PDataStd_AsciiString.cdl b/src/PDataStd/PDataStd_AsciiString.cdl
deleted file mode 100644 (file)
index 0e51ee6..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
--- Created on: 2007-08-22
--- Created by: Sergey ZARITCHNY
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class AsciiString from PDataStd inherits Attribute from PDF
-
-       ---Purpose: Persistance attribute of  TDataStd_AsciiString
-
-uses  HAsciiString from PCollection
-
-is
-    Create returns  AsciiString from  PDataStd;
-    
-    
-    Create (V : HAsciiString from PCollection) 
-    returns  AsciiString from PDataStd;
-    
-    
-    Get (me) returns HAsciiString from PCollection;
-    
-    
-    Set (me : mutable; V : HAsciiString from PCollection);
-    
-fields
-
-    myValue : HAsciiString from PCollection;
-
-
-end AsciiString;
diff --git a/src/PDataStd/PDataStd_AsciiString.cxx b/src/PDataStd/PDataStd_AsciiString.cxx
deleted file mode 100644 (file)
index 36534a0..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-// Created on: 2007-08-22
-// Created by: Sergey ZARITCHNY
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_AsciiString.ixx>
-#include <PCollection_HAsciiString.hxx>
-//=======================================================================
-//function : PDataStd_AsciiString
-//purpose  : Constructor
-//=======================================================================
-PDataStd_AsciiString::PDataStd_AsciiString() {}
-
-//=======================================================================
-//function : PDataStd_AsciiString
-//purpose  : Constructor
-//=======================================================================
-PDataStd_AsciiString::PDataStd_AsciiString(const Handle(PCollection_HAsciiString)& V)
-: myValue (V) {}
-
-//=======================================================================
-//function : Get
-//purpose  : 
-//=======================================================================
-Handle(PCollection_HAsciiString) PDataStd_AsciiString::Get() const
-{ return myValue; }
-
-//=======================================================================
-//function : Set
-//purpose  : 
-//=======================================================================
-void PDataStd_AsciiString::Set(const Handle(PCollection_HAsciiString)& V) 
-{ myValue = V; }
-
diff --git a/src/PDataStd/PDataStd_BooleanArray.cdl b/src/PDataStd/PDataStd_BooleanArray.cdl
deleted file mode 100644 (file)
index 5147268..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class BooleanArray from PDataStd inherits Attribute from PDF
-
-uses 
-
-    HArray1OfInteger from PColStd
-
-is
-
-    Create 
-    returns BooleanArray from PDataStd;
-
-    SetLower (me : mutable;
-             lower : Integer from Standard);
-             
-    SetUpper (me : mutable;
-             upper : Integer from Standard);
-
-    Lower (me) 
-    returns Integer from Standard;      
-
-    Upper (me) 
-    returns Integer from Standard;   
-
-    Set (me : mutable;
-        values : HArray1OfInteger from PColStd);
-        
-    Get (me)
-    ---C++: return const &
-    returns HArray1OfInteger from PColStd;
-
-fields
-
-    myValues : HArray1OfInteger from PColStd;
-    myLower  : Integer from Standard;
-    myUpper  : Integer from Standard;
-
-
-end BooleanArray;
diff --git a/src/PDataStd/PDataStd_BooleanArray.cxx b/src/PDataStd/PDataStd_BooleanArray.cxx
deleted file mode 100644 (file)
index c175a81..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_BooleanArray.ixx>
-
-//=======================================================================
-//function : PDataStd_BooleanArray
-//purpose  : 
-//=======================================================================
-PDataStd_BooleanArray::PDataStd_BooleanArray() :
-    myLower(0),
-    myUpper(0)
-{ 
-
-}
-
-//=======================================================================
-//function : SetLower
-//purpose  : 
-//=======================================================================
-void PDataStd_BooleanArray::SetLower(const Standard_Integer lower)
-{
-  myLower = lower;
-}
-
-//=======================================================================
-//function : SetUpper
-//purpose  : 
-//=======================================================================
-void PDataStd_BooleanArray::SetUpper(const Standard_Integer upper)
-{
-  myUpper = upper;
-}
-
-//=======================================================================
-//function : Lower
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_BooleanArray::Lower (void) const 
-{ 
-  return myLower;
-}
-
-//=======================================================================
-//function : Upper
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_BooleanArray::Upper (void) const 
-{ 
-  return myUpper;
-}
-
-//=======================================================================
-//function : Set
-//purpose  : 
-//=======================================================================
-void PDataStd_BooleanArray::Set(const Handle(PColStd_HArray1OfInteger)& values)
-{
-  myValues = values;
-}
-
-//=======================================================================
-//function : Get
-//purpose  : 
-//=======================================================================
-const Handle(PColStd_HArray1OfInteger)& PDataStd_BooleanArray::Get() const
-{
-  return myValues;
-}
diff --git a/src/PDataStd/PDataStd_BooleanList.cdl b/src/PDataStd/PDataStd_BooleanList.cdl
deleted file mode 100644 (file)
index 6f66d95..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class BooleanList from PDataStd inherits Attribute from PDF
-
-uses 
-
-    HArray1OfInteger from PColStd
-
-is
-
-    Create 
-    returns BooleanList from PDataStd;
-
-    Init (me : mutable; 
-         lower, upper : Integer from Standard);
-
-    SetValue (me: mutable; 
-             index : Integer from Standard; 
-             value : Integer from Standard);
-
-    Value (me;  
-          index : Integer from Standard) 
-    returns Integer from Standard;
-
-    Lower (me) 
-    returns Integer from Standard;      
-
-    Upper (me) 
-    returns Integer from Standard;   
-
-fields
-
-    myValue     :  HArray1OfInteger from PColStd;
-
-
-end BooleanList;
diff --git a/src/PDataStd/PDataStd_BooleanList.cxx b/src/PDataStd/PDataStd_BooleanList.cxx
deleted file mode 100644 (file)
index 0d41d8d..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_BooleanList.ixx>
-
-//=======================================================================
-//function : PDataStd_BooleanList
-//purpose  : 
-//=======================================================================
-PDataStd_BooleanList::PDataStd_BooleanList() 
-{ 
-
-}
-
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
-void PDataStd_BooleanList::Init(const Standard_Integer lower,
-                               const Standard_Integer upper)
-{
-  if (upper >= lower)
-    myValue = new PColStd_HArray1OfInteger(lower, upper);
-}
-
-//=======================================================================
-//function : SetValue
-//purpose  : 
-//=======================================================================
-void PDataStd_BooleanList::SetValue(const Standard_Integer index, const Standard_Integer value)
-{
-  myValue->SetValue(index, value);
-}
-
-//=======================================================================
-//function : Value
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_BooleanList::Value( const Standard_Integer index ) const
-{
-  return myValue->Value(index);
-}
-
-//=======================================================================
-//function : Lower
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_BooleanList::Lower (void) const 
-{ 
-  if (!myValue.IsNull())
-    return myValue->Lower(); 
-  return 0;
-}
-
-//=======================================================================
-//function : Upper
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_BooleanList::Upper (void) const 
-{ 
-  if (!myValue.IsNull())
-    return myValue->Upper(); 
-  return -1;
-}
diff --git a/src/PDataStd/PDataStd_ByteArray.cdl b/src/PDataStd/PDataStd_ByteArray.cdl
deleted file mode 100644 (file)
index 944e02f..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ByteArray from PDataStd inherits Attribute from PDF
-
-uses 
-
-    HArray1OfInteger from PColStd
-
-is
-
-    Create 
-    returns ByteArray from PDataStd;
-
-    Set (me : mutable;
-        values : HArray1OfInteger from PColStd);
-        
-    Get (me)
-    ---C++: return const &
-    returns HArray1OfInteger from PColStd;
-
-fields
-
-    myValues : HArray1OfInteger from PColStd;
-
-
-end ByteArray;
diff --git a/src/PDataStd/PDataStd_ByteArray.cxx b/src/PDataStd/PDataStd_ByteArray.cxx
deleted file mode 100644 (file)
index a952bf6..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_ByteArray.ixx>
-
-//=======================================================================
-//function : PDataStd_ByteArray
-//purpose  : 
-//=======================================================================
-PDataStd_ByteArray::PDataStd_ByteArray() 
-{ 
-
-}
-
-//=======================================================================
-//function : Set
-//purpose  : 
-//=======================================================================
-void PDataStd_ByteArray::Set(const Handle(PColStd_HArray1OfInteger)& values)
-{
-  myValues = values;
-}
-
-//=======================================================================
-//function : Get
-//purpose  : 
-//=======================================================================
-const Handle(PColStd_HArray1OfInteger)& PDataStd_ByteArray::Get() const
-{
-  return myValues;
-}
diff --git a/src/PDataStd/PDataStd_ByteArray_1.cdl b/src/PDataStd/PDataStd_ByteArray_1.cdl
deleted file mode 100644 (file)
index 80aec34..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
--- Created on: 2008-03-26
--- Created by: Sergey ZARITCHNY
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ByteArray_1 from PDataStd inherits Attribute from PDF
-
-       ---Purpose: Persistence
-uses 
-
-    HArray1OfInteger from PColStd
-
-is
-
-    Create 
-    returns ByteArray_1 from PDataStd;
-
-    Set (me : mutable;
-        values : HArray1OfInteger from PColStd);
-        
-    Get (me)
-    ---C++: return const &
-    returns HArray1OfInteger from PColStd; 
-     
-    SetDelta(me : mutable; delta : Boolean from Standard); 
-     
-    GetDelta(me) returns Boolean from Standard;
-
-fields
-
-    myValues : HArray1OfInteger from PColStd;
-    myDelta  : Boolean from Standard;
-
-end ByteArray_1;
diff --git a/src/PDataStd/PDataStd_ByteArray_1.cxx b/src/PDataStd/PDataStd_ByteArray_1.cxx
deleted file mode 100644 (file)
index b22cd03..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-// Created on: 2008-03-26
-// Created by: Sergey ZARITCHNY
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_ByteArray_1.ixx>
-
-//=======================================================================
-//function : PDataStd_ByteArray_1
-//purpose  : 
-//=======================================================================
-PDataStd_ByteArray_1::PDataStd_ByteArray_1() : myDelta(Standard_False) {}
-
-//=======================================================================
-//function : Set
-//purpose  : 
-//=======================================================================
-void PDataStd_ByteArray_1::Set(const Handle(PColStd_HArray1OfInteger)& values)
-{
-  myValues = values;
-}
-
-//=======================================================================
-//function : Get
-//purpose  : 
-//=======================================================================
-const Handle(PColStd_HArray1OfInteger)& PDataStd_ByteArray_1::Get() const
-{
-  return myValues;
-}
-
-//=======================================================================
-//function : SetDelta
-//purpose  : 
-//=======================================================================
-void PDataStd_ByteArray_1::SetDelta(const Standard_Boolean delta)
-{
-  myDelta = delta;
-}
-
-//=======================================================================
-//function : GetDelta
-//purpose  : 
-//=======================================================================
-Standard_Boolean PDataStd_ByteArray_1::GetDelta() const
-{
-  return myDelta;
-}
diff --git a/src/PDataStd/PDataStd_Comment.cdl b/src/PDataStd/PDataStd_Comment.cdl
deleted file mode 100644 (file)
index 922280d..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
--- Created on: 1998-01-15
--- Created by: Denis PASCAL
--- Copyright (c) 1998-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Comment from PDataStd inherits Attribute from PDF
-
-uses HExtendedString from PCollection
-
-is
-
-    Create returns Comment from  PDataStd;
-    
-    
-    Create (V : HExtendedString from PCollection) 
-    returns Comment from PDataStd;
-    
-    
-    Get (me) returns HExtendedString from PCollection;
-    
-    
-    Set (me : mutable; V : HExtendedString from PCollection);
-
-
-fields
-
-    myValue : HExtendedString from PCollection;
-
-end Comment;
diff --git a/src/PDataStd/PDataStd_Comment.cxx b/src/PDataStd/PDataStd_Comment.cxx
deleted file mode 100644 (file)
index 3c53d88..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-// Created on: 1998-01-15
-// Created by: Denis PASCAL
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_Comment.ixx>
-
-
-PDataStd_Comment::PDataStd_Comment() {}
-
-PDataStd_Comment::PDataStd_Comment(const Handle(PCollection_HExtendedString)& V)
-: myValue (V) {}
-
-Handle(PCollection_HExtendedString) PDataStd_Comment::Get() const
-{ return myValue; }
-
-void PDataStd_Comment::Set(const Handle(PCollection_HExtendedString)& V) 
-{ myValue = V; }
-
diff --git a/src/PDataStd/PDataStd_Directory.cdl b/src/PDataStd/PDataStd_Directory.cdl
deleted file mode 100644 (file)
index 0c516cd..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
--- Created on: 1999-06-25
--- Created by: Sergey RUIN
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Directory from PDataStd inherits Attribute from PDF
-
-       ---Purpose: 
-is
-
-    Create returns Directory from  PDataStd;
-
-end Directory;
diff --git a/src/PDataStd/PDataStd_Directory.cxx b/src/PDataStd/PDataStd_Directory.cxx
deleted file mode 100644 (file)
index b0e91b0..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_Directory.ixx>
-
-PDataStd_Directory::PDataStd_Directory() {}
-
diff --git a/src/PDataStd/PDataStd_Expression.cdl b/src/PDataStd/PDataStd_Expression.cdl
deleted file mode 100644 (file)
index 5c56979..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
--- Created on: 1997-07-31
--- Created by: Denis PASCAL
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Expression from PDataStd inherits Attribute from PDF
-
-uses HExtendedString  from PCollection,
-     HAttributeArray1 from PDF 
-
-is
-
-    Create returns Expression from  PDataStd;
-    
-    Create (name : HExtendedString from PCollection) 
-    returns Expression from PDataStd;
-    
-    GetName (me) returns HExtendedString from PCollection;
-    
-    SetName (me : mutable; name : HExtendedString from PCollection);
-
-    GetVariables (me) returns HAttributeArray1 from PDF;
-    
-    SetVariables (me : mutable; vars : HAttributeArray1 from PDF);
-    
-fields
-
-    myName       : HExtendedString  from PCollection;  
-    myVariables  : HAttributeArray1 from PDF;
-
-end Expression;
diff --git a/src/PDataStd/PDataStd_Expression.cxx b/src/PDataStd/PDataStd_Expression.cxx
deleted file mode 100644 (file)
index 843320f..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-// Created on: 1997-12-10
-// Created by: Denis PASCAL
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_Expression.ixx>
-
-//=======================================================================
-//function : PDataStd_Expression
-//purpose  : 
-//=======================================================================
-
-PDataStd_Expression::PDataStd_Expression()
-{
-}
-
-//=======================================================================
-//function : PDataStd_Expression
-//purpose  : 
-//=======================================================================
-
-PDataStd_Expression::PDataStd_Expression(const Handle(PCollection_HExtendedString)& name)
-{
-  SetName(name);
-}
-
-//=======================================================================
-//function : GetName
-//purpose  : 
-//=======================================================================
-
- Handle(PCollection_HExtendedString) PDataStd_Expression::GetName() const
-{
-  return myName;
-}
-
-//=======================================================================
-//function : SetName
-//purpose  : 
-//=======================================================================
-
- void PDataStd_Expression::SetName(const Handle(PCollection_HExtendedString)& name) 
-{
-  myName = name;
-}
-
-
-//=======================================================================
-//function : GetVariables
-//purpose  : 
-//=======================================================================
-
-Handle(PDF_HAttributeArray1) PDataStd_Expression::GetVariables() const
-{ 
-  return myVariables; 
-}
-
-
-//=======================================================================
-//function : SetVariables
-//purpose  : 
-//=======================================================================
-
-void PDataStd_Expression::SetVariables(const Handle(PDF_HAttributeArray1)& vars) 
-{ 
-  myVariables = vars; 
-}
diff --git a/src/PDataStd/PDataStd_ExtStringArray.cdl b/src/PDataStd/PDataStd_ExtStringArray.cdl
deleted file mode 100644 (file)
index 7215c86..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
--- Created on: 2002-01-16
--- Created by: Michael PONIKAROV
--- Copyright (c) 2002-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ExtStringArray from PDataStd inherits Attribute from PDF
-
-       ---Purpose: 
-
-uses HExtendedString          from PCollection,
-     HArray1OfExtendedString from PColStd
-     
-     
-is
-
-    Create returns ExtStringArray from PDataStd;
-
-    Init(me : mutable; lower, upper : Integer from Standard);
-
-    SetValue(me: mutable; Index : Integer from Standard; Value : HExtendedString from PCollection);
-    
-    Value(me;  Index : Integer from Standard) returns HExtendedString from PCollection;
-   
-    Lower (me) returns Integer from Standard;      
-
-    Upper (me) returns Integer from Standard;   
-     
-fields
-    myValue     :  HArray1OfExtendedString from PColStd;
-end ExtStringArray;
diff --git a/src/PDataStd/PDataStd_ExtStringArray.cxx b/src/PDataStd/PDataStd_ExtStringArray.cxx
deleted file mode 100644 (file)
index bbe795e..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-// Created on: 2002-01-16
-// Created by: Michael PONIKAROV
-// Copyright (c) 2002-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_ExtStringArray.ixx>
-
-//=======================================================================
-//function : PDataStd_ExtStringArray
-//purpose  : 
-//=======================================================================
-
-PDataStd_ExtStringArray::PDataStd_ExtStringArray () { }
-
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
-
-void PDataStd_ExtStringArray::Init(const Standard_Integer lower,
-                                  const Standard_Integer upper)
-{
-  myValue = new PColStd_HArray1OfExtendedString(lower, upper);
-}
-
-
-//=======================================================================
-//function : SetValue
-//purpose  : 
-//=======================================================================
-
-void PDataStd_ExtStringArray::SetValue(const Standard_Integer index,
-                                      const Handle(PCollection_HExtendedString)& value)
-{
-  myValue->SetValue(index, value);
-}
-
-//=======================================================================
-//function : Value
-//purpose  : 
-//=======================================================================
-
-Handle(PCollection_HExtendedString) PDataStd_ExtStringArray::Value( const Standard_Integer index ) const
-{
-  return myValue->Value(index);
-}
-
-//=======================================================================
-//function : Lower
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_ExtStringArray::Lower (void) const 
-{
-  return myValue->Lower();
-}
-
-
-//=======================================================================
-//function : Upper
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_ExtStringArray::Upper (void) const 
-{
-  return myValue->Upper();
-}
diff --git a/src/PDataStd/PDataStd_ExtStringArray_1.cdl b/src/PDataStd/PDataStd_ExtStringArray_1.cdl
deleted file mode 100644 (file)
index 68d30b5..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
--- Created on: 2008-03-27
--- Created by: Sergey ZARITCHNY
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ExtStringArray_1 from PDataStd inherits Attribute from PDF
-
-       ---Purpose: Persistence
-
-uses  HExtendedString          from PCollection,
-      HArray1OfExtendedString  from PColStd
-     
-     
-is
-
-    Create returns ExtStringArray_1 from PDataStd;
-
-    Init(me : mutable; lower, upper : Integer from Standard);
-
-    SetValue(me: mutable; Index : Integer from Standard; Value : HExtendedString from PCollection);
-    
-    Value(me;  Index : Integer from Standard) returns HExtendedString from PCollection;
-   
-    Lower (me) returns Integer from Standard;      
-
-    Upper (me) returns Integer from Standard;   
-     
-    SetDelta(me : mutable; delta : Boolean from Standard); 
-     
-    GetDelta(me) returns Boolean from Standard;
-     
-fields
-    myValue     :  HArray1OfExtendedString from PColStd;
-    myDelta  : Boolean from Standard;
-
-end ExtStringArray_1;
-
-
-
diff --git a/src/PDataStd/PDataStd_ExtStringArray_1.cxx b/src/PDataStd/PDataStd_ExtStringArray_1.cxx
deleted file mode 100644 (file)
index 30bcb6f..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-// Created on: 2008-03-27
-// Created by: Sergey ZARITCHNY
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_ExtStringArray_1.ixx>
-
-//=======================================================================
-//function : PDataStd_ExtStringArray_1
-//purpose  : 
-//=======================================================================
-
-PDataStd_ExtStringArray_1::PDataStd_ExtStringArray_1 () : myDelta(Standard_False) { }
-
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
-
-void PDataStd_ExtStringArray_1::Init(const Standard_Integer lower,
-                                  const Standard_Integer upper)
-{
-  myValue = new PColStd_HArray1OfExtendedString(lower, upper);
-}
-
-
-//=======================================================================
-//function : SetValue
-//purpose  : 
-//=======================================================================
-
-void PDataStd_ExtStringArray_1::SetValue(const Standard_Integer index,
-                                      const Handle(PCollection_HExtendedString)& value)
-{
-  myValue->SetValue(index, value);
-}
-
-//=======================================================================
-//function : Value
-//purpose  : 
-//=======================================================================
-
-Handle(PCollection_HExtendedString) PDataStd_ExtStringArray_1::Value( const Standard_Integer index ) const
-{
-  return myValue->Value(index);
-}
-
-//=======================================================================
-//function : Lower
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_ExtStringArray_1::Lower (void) const 
-{
-  return myValue->Lower();
-}
-
-
-//=======================================================================
-//function : Upper
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_ExtStringArray_1::Upper (void) const 
-{
-  return myValue->Upper();
-}
-
-//=======================================================================
-//function : SetDelta
-//purpose  : 
-//=======================================================================
-void PDataStd_ExtStringArray_1::SetDelta(const Standard_Boolean delta)
-{
-  myDelta = delta;
-}
-
-//=======================================================================
-//function : GetDelta
-//purpose  : 
-//=======================================================================
-Standard_Boolean PDataStd_ExtStringArray_1::GetDelta() const
-{
-  return myDelta;
-}
-
diff --git a/src/PDataStd/PDataStd_ExtStringList.cdl b/src/PDataStd/PDataStd_ExtStringList.cdl
deleted file mode 100644 (file)
index 8f813b8..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ExtStringList from PDataStd inherits Attribute from PDF
-
-uses 
-
-    HExtendedString from PCollection,
-    HArray1OfExtendedString from PColStd
-
-is
-
-    Create 
-    returns ExtStringList from PDataStd;
-
-    Init (me : mutable; 
-         lower, upper : Integer from Standard);
-
-    SetValue (me: mutable; 
-             index : Integer from Standard; 
-             value : HExtendedString from PCollection);
-
-    Value (me;  
-          index : Integer from Standard) 
-    returns HExtendedString from PCollection;
-
-    Lower (me) 
-    returns Integer from Standard;      
-
-    Upper (me) 
-    returns Integer from Standard;   
-
-
-fields
-
-    myValue     :  HArray1OfExtendedString from PColStd;
-
-
-end ExtStringList;
diff --git a/src/PDataStd/PDataStd_ExtStringList.cxx b/src/PDataStd/PDataStd_ExtStringList.cxx
deleted file mode 100644 (file)
index 35f37ec..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_ExtStringList.ixx>
-
-//=======================================================================
-//function : PDataStd_ExtStringList
-//purpose  : 
-//=======================================================================
-PDataStd_ExtStringList::PDataStd_ExtStringList() 
-{ 
-
-}
-
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
-void PDataStd_ExtStringList::Init(const Standard_Integer lower,
-                                 const Standard_Integer upper)
-{
-  if (upper >= lower)
-    myValue = new PColStd_HArray1OfExtendedString(lower, upper);
-}
-
-//=======================================================================
-//function : SetValue
-//purpose  : 
-//=======================================================================
-void PDataStd_ExtStringList::SetValue(const Standard_Integer index, const Handle(PCollection_HExtendedString)& value)
-{
-  myValue->SetValue(index, value);
-}
-
-//=======================================================================
-//function : Value
-//purpose  : 
-//=======================================================================
-Handle(PCollection_HExtendedString) PDataStd_ExtStringList::Value( const Standard_Integer index ) const
-{
-  return myValue->Value(index);
-}
-
-//=======================================================================
-//function : Lower
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_ExtStringList::Lower (void) const 
-{ 
-  if (!myValue.IsNull())
-    return myValue->Lower(); 
-  return 0;
-}
-
-//=======================================================================
-//function : Upper
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_ExtStringList::Upper (void) const 
-{ 
-  if (!myValue.IsNull())
-    return myValue->Upper(); 
-  return -1;
-}
diff --git a/src/PDataStd/PDataStd_IntPackedMap.cdl b/src/PDataStd/PDataStd_IntPackedMap.cdl
deleted file mode 100644 (file)
index 9856566..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
--- Created on: 2007-08-22
--- Created by: Sergey ZARITCHNY
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class IntPackedMap from PDataStd inherits Attribute from PDF
-
-       ---Purpose: Persistance attribute of  TDataStd_IntPackedMap  
-
-uses   
-    HArray1OfInteger  from  PColStd
-
-
-is
-    Create returns  IntPackedMap from  PDataStd;
-
-    Init (me : mutable; theLow,  theUp:  Integer  from Standard);
-    ---Purpose: Inits the internal container
-    --  if  (upper  -  lower)  ==  0  and (upper  |  lower) == 0, the corresponding  
-    --  array is empty (not requested)
-     
-    IsEmpty (me)
-    ---Purpose: Returns true if the internal container is empty
-    returns Boolean from Standard;  
-
-    Upper  (me)
-     ---Purpose: Returns an upper bound of the internal container
-    returns Integer from Standard;   
-
-    Lower  (me)
-     ---Purpose: Returns a lower bound of the internal container
-    returns Integer from Standard;   
-    
-    GetValue (me; theIndex : Integer from Standard)  
-    returns Integer from Standard;
-        
-    SetValue (me : mutable; theIndex : Integer from Standard;  
-                           theValue : Integer from Standard);
-    
-fields 
-
-    myIntValues      :  HArray1OfInteger from PColStd;   
-    
-end IntPackedMap;
diff --git a/src/PDataStd/PDataStd_IntPackedMap.cxx b/src/PDataStd/PDataStd_IntPackedMap.cxx
deleted file mode 100644 (file)
index 016323c..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-// Created on: 2007-08-22
-// Created by: Sergey ZARITCHNY
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_IntPackedMap.ixx>
-#include <PColStd_HArray1OfInteger.hxx>
-//=======================================================================
-//function : PDataStd_IntPackedMap
-//purpose  : Constructor
-//=======================================================================
-PDataStd_IntPackedMap::PDataStd_IntPackedMap() {}
-
-//=======================================================================
-//function : Init
-//purpose  : Initializes the internal container
-//=======================================================================
-void PDataStd_IntPackedMap::Init(const Standard_Integer theLow, 
-const Standard_Integer theUp) {
-  myIntValues = new PColStd_HArray1OfInteger(theLow, theUp);
-}
-
-//=======================================================================
-//function : GetValue
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_IntPackedMap::GetValue(
-                                  const Standard_Integer theIndex) const
-{ return myIntValues->Value(theIndex); }
-
-//=======================================================================
-//function : SetValue
-//purpose  : 
-//=======================================================================
-void PDataStd_IntPackedMap::SetValue(const Standard_Integer theIndx, 
-                                    const Standard_Integer theValue) 
-{ 
-  myIntValues->SetValue(theIndx, theValue);
-}
-
-//=======================================================================
-//function : IsEmpty
-//purpose  : 
-//=======================================================================
-Standard_Boolean PDataStd_IntPackedMap::IsEmpty() const
-{ 
-  if(myIntValues.IsNull()) return Standard_True;
-  if(!myIntValues->Upper() && !myIntValues->Lower()) return Standard_True;
-  return Standard_False;
-}
-
-//=======================================================================
-//function : Returns an upper bound of the internal container
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_IntPackedMap::Upper() const
-{ 
-  if(myIntValues.IsNull()) return 0;
-  return myIntValues->Upper();
-}
-
-//=======================================================================
-//function : Returns a lower bound of the internal container
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_IntPackedMap::Lower() const
-{ 
-  if(myIntValues.IsNull()) return 0;
-  return myIntValues->Lower();
-}
diff --git a/src/PDataStd/PDataStd_IntPackedMap_1.cdl b/src/PDataStd/PDataStd_IntPackedMap_1.cdl
deleted file mode 100644 (file)
index 793bc85..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
--- Created on: 2008-03-27
--- Created by: Sergey ZARITCHNY
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class IntPackedMap_1 from PDataStd inherits Attribute from PDF
-
-       ---Purpose: Persistence
-
-uses
-    HArray1OfInteger  from  PColStd
-
-
-is
-    Create returns  IntPackedMap_1 from  PDataStd;
-
-    Init (me : mutable; theLow,  theUp:  Integer  from Standard);
-    ---Purpose: Inits the internal container
-    --  if  (upper  -  lower)  ==  0  and (upper  |  lower) == 0, the corresponding  
-    --  array is empty (not requested)
-     
-    IsEmpty (me)
-    ---Purpose: Returns true if the internal container is empty
-    returns Boolean from Standard;  
-
-    Upper  (me)
-     ---Purpose: Returns an upper bound of the internal container
-    returns Integer from Standard;   
-
-    Lower  (me)
-     ---Purpose: Returns a lower bound of the internal container
-    returns Integer from Standard;   
-    
-    GetValue (me; theIndex : Integer from Standard)  
-    returns Integer from Standard;
-        
-    SetValue (me : mutable; theIndex : Integer from Standard;  
-                           theValue : Integer from Standard);
-     
-    SetDelta(me : mutable; delta : Boolean from Standard); 
-     
-    GetDelta(me) returns Boolean from Standard;
-    
-fields 
-
-    myIntValues      :  HArray1OfInteger from PColStd;       
-    myDelta  : Boolean from Standard;
-
-end IntPackedMap_1;
-
-
diff --git a/src/PDataStd/PDataStd_IntPackedMap_1.cxx b/src/PDataStd/PDataStd_IntPackedMap_1.cxx
deleted file mode 100644 (file)
index c25cb63..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-// Created on: 2008-03-27
-// Created by: Sergey ZARITCHNY
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_IntPackedMap_1.ixx>
-#include <PColStd_HArray1OfInteger.hxx>
-
-//=======================================================================
-//function : PDataStd_IntPackedMap_1
-//purpose  : Constructor
-//=======================================================================
-PDataStd_IntPackedMap_1::PDataStd_IntPackedMap_1() : myDelta(Standard_False) {}
-
-//=======================================================================
-//function : Init
-//purpose  : Initializes the internal container
-//=======================================================================
-void PDataStd_IntPackedMap_1::Init(const Standard_Integer theLow, 
-const Standard_Integer theUp) {
-  myIntValues = new PColStd_HArray1OfInteger(theLow, theUp);
-}
-
-//=======================================================================
-//function : GetValue
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_IntPackedMap_1::GetValue(
-                                  const Standard_Integer theIndex) const
-{ return myIntValues->Value(theIndex); }
-
-//=======================================================================
-//function : SetValue
-//purpose  : 
-//=======================================================================
-void PDataStd_IntPackedMap_1::SetValue(const Standard_Integer theIndx, 
-                                    const Standard_Integer theValue) 
-{ 
-  myIntValues->SetValue(theIndx, theValue);
-}
-
-//=======================================================================
-//function : IsEmpty
-//purpose  : 
-//=======================================================================
-Standard_Boolean PDataStd_IntPackedMap_1::IsEmpty() const
-{ 
-  if(myIntValues.IsNull()) return Standard_True;
-  if(!myIntValues->Upper() && !myIntValues->Lower()) return Standard_True;
-  return Standard_False;
-}
-
-//=======================================================================
-//function : Returns an upper bound of the internal container
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_IntPackedMap_1::Upper() const
-{ 
-  if(myIntValues.IsNull()) return 0;
-  return myIntValues->Upper();
-}
-
-//=======================================================================
-//function : Returns a lower bound of the internal container
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_IntPackedMap_1::Lower() const
-{ 
-  if(myIntValues.IsNull()) return 0;
-  return myIntValues->Lower();
-}
-
-//=======================================================================
-//function : SetDelta
-//purpose  : 
-//=======================================================================
-void PDataStd_IntPackedMap_1::SetDelta(const Standard_Boolean delta)
-{
-  myDelta = delta;
-}
-
-//=======================================================================
-//function : GetDelta
-//purpose  : 
-//=======================================================================
-Standard_Boolean PDataStd_IntPackedMap_1::GetDelta() const
-{
-  return myDelta;
-}
diff --git a/src/PDataStd/PDataStd_Integer.cdl b/src/PDataStd/PDataStd_Integer.cdl
deleted file mode 100644 (file)
index 5ae6250..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
--- Created on: 1997-04-09
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Integer from PDataStd inherits Attribute from PDF
-
-       ---Purpose: 
-
-uses Integer from Standard
-
-is
-
-
-    Create returns Integer from PDataStd;
-
-
-    Create (V : Integer from Standard)
-    returns Integer from PDataStd;
-    
-    
-    Get (me) returns Integer from Standard;
-
-
-    Set (me : mutable; V : Integer from Standard);
-    
-
-fields
-
-    myValue : Integer from Standard;
-
-end Integer;
diff --git a/src/PDataStd/PDataStd_Integer.cxx b/src/PDataStd/PDataStd_Integer.cxx
deleted file mode 100644 (file)
index 69c3af9..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-// Created on: 1997-04-09
-// Created by: VAUTHIER Jean-Claude
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_Integer.ixx>
-
-
-//=======================================================================
-//function : PDataStd_Integer
-//purpose  : 
-//=======================================================================
-
-PDataStd_Integer::PDataStd_Integer () : myValue(0) {}
-
-
-//=======================================================================
-//function : PDataStd_Integer
-//purpose  : 
-//=======================================================================
-
-PDataStd_Integer::PDataStd_Integer (const Standard_Integer V) : myValue (V) { }
-
-
-
-//=======================================================================
-//function : Set
-//purpose  : 
-//=======================================================================
-
-void PDataStd_Integer::Set (const Standard_Integer V) 
-{
-  myValue = V;
-}
-
-
-//=======================================================================
-//function : Get
-//purpose  : 
-//=======================================================================
-
-Standard_Integer PDataStd_Integer::Get () const
-{
-  return myValue;
-}
-
diff --git a/src/PDataStd/PDataStd_IntegerArray.cdl b/src/PDataStd/PDataStd_IntegerArray.cdl
deleted file mode 100644 (file)
index 5ebc905..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
--- Created on: 1999-06-11
--- Created by: Sergey RUIN
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class IntegerArray from PDataStd inherits Attribute from PDF
-
-       ---Purpose: 
-
-uses HArray1OfInteger from PColStd
-     
-     
-is
-
-    Create returns IntegerArray from PDataStd;
-
-    Init(me : mutable; lower, upper : Integer from Standard);
-
-    SetValue(me: mutable; Index : Integer from Standard; Value : Integer from Standard);
-    
-    Value(me;  Index : Integer from Standard) returns Integer  from Standard;
-   
-    Lower (me) returns Integer from Standard;      
-
-    Upper (me) returns Integer from Standard;   
-     
-fields
-    myValue     :  HArray1OfInteger from PColStd;
-end IntegerArray;
diff --git a/src/PDataStd/PDataStd_IntegerArray.cxx b/src/PDataStd/PDataStd_IntegerArray.cxx
deleted file mode 100644 (file)
index f9c16c3..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-// Created on: 1999-06-15
-// Created by: Sergey RUIN
-// Copyright (c) 1999-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_IntegerArray.ixx>
-
-//=======================================================================
-//function : PDataStd_IntegerArray
-//purpose  : 
-//=======================================================================
-
-PDataStd_IntegerArray::PDataStd_IntegerArray () { }
-
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
-
-void PDataStd_IntegerArray::Init(const Standard_Integer lower,
-                           const Standard_Integer upper)
-{
-  myValue = new PColStd_HArray1OfInteger(lower, upper);
-}
-
-
-//=======================================================================
-//function : SetValue
-//purpose  : 
-//=======================================================================
-
-void PDataStd_IntegerArray::SetValue(const Standard_Integer index, const Standard_Integer value)
-{
-  myValue->SetValue(index, value);
-}
-
-//=======================================================================
-//function : Value
-//purpose  : 
-//=======================================================================
-
-Standard_Integer PDataStd_IntegerArray::Value( const Standard_Integer index ) const
-{
-  return myValue->Value(index);
-}
-
-//=======================================================================
-//function : Lower
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_IntegerArray::Lower (void) const 
-{ return myValue->Lower(); }
-
-
-//=======================================================================
-//function : Upper
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_IntegerArray::Upper (void) const 
-{ return myValue->Upper(); }
diff --git a/src/PDataStd/PDataStd_IntegerArray_1.cdl b/src/PDataStd/PDataStd_IntegerArray_1.cdl
deleted file mode 100644 (file)
index 13c657d..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
--- Created on: 2008-03-26
--- Created by: Sergey ZARITCHNY
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class IntegerArray_1 from PDataStd inherits Attribute from PDF
-
-       ---Purpose: Persistence
-uses HArray1OfInteger from PColStd
-     
-     
-is
-
-    Create returns IntegerArray_1 from PDataStd;
-
-    Init(me : mutable; lower, upper : Integer from Standard);
-
-    SetValue(me: mutable; Index : Integer from Standard; Value : Integer from Standard);
-    
-    Value(me;  Index : Integer from Standard) returns Integer  from Standard;
-   
-    Lower (me) returns Integer from Standard;      
-
-    Upper (me) returns Integer from Standard;   
-    SetDelta(me : mutable; delta : Boolean from Standard);  
-    
-    GetDelta(me) returns Boolean from Standard;          
-    
-fields
-    myValue  :  HArray1OfInteger from PColStd;
-    myDelta  : Boolean from Standard;
-end IntegerArray_1;
-
-
diff --git a/src/PDataStd/PDataStd_IntegerArray_1.cxx b/src/PDataStd/PDataStd_IntegerArray_1.cxx
deleted file mode 100644 (file)
index 7a10d43..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-// Created on: 2008-03-26
-// Created by: Sergey ZARITCHNY
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_IntegerArray_1.ixx>
-
-//=======================================================================
-//function : PDataStd_IntegerArray_1
-//purpose  : 
-//=======================================================================
-
-PDataStd_IntegerArray_1::PDataStd_IntegerArray_1 () : myDelta(Standard_False) { }
-
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
-
-void PDataStd_IntegerArray_1::Init(const Standard_Integer lower,
-                           const Standard_Integer upper)
-{
-  myValue = new PColStd_HArray1OfInteger(lower, upper);
-}
-
-
-//=======================================================================
-//function : SetValue
-//purpose  : 
-//=======================================================================
-
-void PDataStd_IntegerArray_1::SetValue(const Standard_Integer index, 
-                                      const Standard_Integer value)
-{
-  myValue->SetValue(index, value);
-}
-
-//=======================================================================
-//function : Value
-//purpose  : 
-//=======================================================================
-
-Standard_Integer PDataStd_IntegerArray_1::Value
-                                   ( const Standard_Integer index ) const
-{
-  return myValue->Value(index);
-}
-
-//=======================================================================
-//function : Lower
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_IntegerArray_1::Lower (void) const 
-{ return myValue->Lower(); }
-
-
-//=======================================================================
-//function : Upper
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_IntegerArray_1::Upper (void) const 
-{ return myValue->Upper(); }
-
-//=======================================================================
-//function : SetDelta
-//purpose  : 
-//=======================================================================
-void PDataStd_IntegerArray_1::SetDelta(const Standard_Boolean delta)
-{
-  myDelta = delta;
-}
-
-//=======================================================================
-//function : GetDelta
-//purpose  : 
-//=======================================================================
-Standard_Boolean PDataStd_IntegerArray_1::GetDelta() const
-{
-  return myDelta;
-}
diff --git a/src/PDataStd/PDataStd_IntegerList.cdl b/src/PDataStd/PDataStd_IntegerList.cdl
deleted file mode 100644 (file)
index 534c24b..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class IntegerList from PDataStd inherits Attribute from PDF
-
-uses 
-
-    HArray1OfInteger from PColStd
-
-is
-
-    Create 
-    returns IntegerList from PDataStd;
-
-    Init (me : mutable; 
-         lower, upper : Integer from Standard);
-
-    SetValue (me: mutable; 
-             index : Integer from Standard; 
-             value : Integer from Standard);
-
-    Value (me;  
-          index : Integer from Standard) 
-    returns Integer from Standard;
-
-    Lower (me) 
-    returns Integer from Standard;      
-
-    Upper (me) 
-    returns Integer from Standard;   
-
-fields
-
-    myValue     :  HArray1OfInteger from PColStd;
-
-
-end IntegerList;
diff --git a/src/PDataStd/PDataStd_IntegerList.cxx b/src/PDataStd/PDataStd_IntegerList.cxx
deleted file mode 100644 (file)
index 5697e00..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_IntegerList.ixx>
-
-//=======================================================================
-//function : PDataStd_IntegerList
-//purpose  : 
-//=======================================================================
-PDataStd_IntegerList::PDataStd_IntegerList() 
-{ 
-
-}
-
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
-void PDataStd_IntegerList::Init(const Standard_Integer lower,
-                               const Standard_Integer upper)
-{
-  if (upper >= lower)
-    myValue = new PColStd_HArray1OfInteger(lower, upper);
-}
-
-//=======================================================================
-//function : SetValue
-//purpose  : 
-//=======================================================================
-void PDataStd_IntegerList::SetValue(const Standard_Integer index, const Standard_Integer value)
-{
-  myValue->SetValue(index, value);
-}
-
-//=======================================================================
-//function : Value
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_IntegerList::Value( const Standard_Integer index ) const
-{
-  return myValue->Value(index);
-}
-
-//=======================================================================
-//function : Lower
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_IntegerList::Lower (void) const 
-{ 
-  if (!myValue.IsNull())
-    return myValue->Lower(); 
-  return 0;
-}
-
-//=======================================================================
-//function : Upper
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_IntegerList::Upper (void) const 
-{ 
-  if (!myValue.IsNull())
-    return myValue->Upper(); 
-  return -1;
-}
diff --git a/src/PDataStd/PDataStd_Name.cdl b/src/PDataStd/PDataStd_Name.cdl
deleted file mode 100644 (file)
index 965cd01..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
--- Created on: 1997-07-31
--- Created by: Denis PASCAL
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Name from PDataStd inherits Attribute from PDF
-
-uses HExtendedString from PCollection
-
-is
-
-    Create returns Name from  PDataStd;
-    
-    
-    Create (V : HExtendedString from PCollection) 
-    returns Name from PDataStd;
-    
-    
-    Get (me) returns HExtendedString from PCollection;
-    
-    
-    Set (me : mutable; V : HExtendedString from PCollection);
-
-    
-fields
-
-    myValue : HExtendedString from PCollection;
-
-end Name;
diff --git a/src/PDataStd/PDataStd_Name.cxx b/src/PDataStd/PDataStd_Name.cxx
deleted file mode 100644 (file)
index 3fa954c..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_Name.ixx>
-
-PDataStd_Name::PDataStd_Name() {}
-
-PDataStd_Name::PDataStd_Name(const Handle(PCollection_HExtendedString)& V)
-: myValue (V) {}
-
-Handle(PCollection_HExtendedString) PDataStd_Name::Get() const
-{ return myValue; }
-
-void PDataStd_Name::Set(const Handle(PCollection_HExtendedString)& V) 
-{ myValue = V; }
-
diff --git a/src/PDataStd/PDataStd_NamedData.cdl b/src/PDataStd/PDataStd_NamedData.cdl
deleted file mode 100644 (file)
index a7e69f0..0000000
+++ /dev/null
@@ -1,183 +0,0 @@
--- Created on: 2007-06-26
--- Created by: Sergey ZARITCHNY
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class NamedData from PDataStd inherits Attribute from PDF
-
-       ---Purpose: Persistence of NamedData
-
-uses
-    HExtendedString from PCollection,
-    HArray1OfExtendedString from PColStd, 
-    HArray2OfInteger  from  PColStd, 
-    HArray1OfInteger  from  PColStd, 
-    HArray1OfReal  from  PColStd, 
-    HArray1OfByte  from  PDataStd, 
-    HArray2OfInteger  from TColStd, 
-    HArray1OfHArray1OfInteger from PDataStd, 
-    HArray1OfHArray1OfReal from PDataStd
-is
-
-    Create 
-    returns NamedData from PDataStd;
-
-    Init (me : mutable; theDimension:  HArray2OfInteger  from TColStd);
-    ---Purpose: 6 pairs of (lower, upper) <theDimension> should be  initialized
-    --  if  (upper  -  lower)  ==  0  and (upper  |  lower) == 0, the corresponding  
-    --  array is empty (not requested) 
-    
-    SetIntDataItem (me: mutable; 
-             index : Integer from Standard; 
-             key   : HExtendedString from PCollection; 
-             value : Integer from Standard); 
-     
-    IntDataItemValue(me; 
-             index : Integer from Standard; 
-             key   : out HExtendedString from PCollection) 
-    returns Integer from Standard;        
-     
-    SetRealDataItem (me: mutable; 
-             index : Integer from Standard; 
-             key   : HExtendedString from PCollection; 
-             value : Real from Standard); 
-     
-    RealDataItemValue(me; 
-             index : Integer from Standard; 
-             key   : out HExtendedString from PCollection) 
-    returns Real from Standard;        
-         
-    SetStrDataItem (me: mutable; 
-             index : Integer from Standard; 
-             key   : HExtendedString from PCollection; 
-             value : HExtendedString from PCollection); 
-     
-    StrDataItemValue(me; 
-             index : Integer from Standard; 
-             key   : out HExtendedString from PCollection) 
-    returns HExtendedString from PCollection; 
-     
-    SetByteDataItem (me: mutable; 
-             index : Integer from Standard; 
-             key   : HExtendedString from PCollection; 
-             value : Byte from Standard); 
-     
-    ByteDataItemValue(me; 
-             index : Integer from Standard; 
-             key   : out HExtendedString from PCollection) 
-    returns Byte from Standard;        
-     
-    SetArrIntDataItem (me: mutable; 
-             index : Integer from Standard; 
-             key   : HExtendedString from PCollection; 
-             value : HArray1OfInteger from PColStd); 
-     
-    ArrIntDataItemValue(me; 
-             index : Integer from Standard; 
-             key   : out HExtendedString from PCollection) 
-    returns HArray1OfInteger from PColStd;
-
-    SetArrRealDataItem (me: mutable; 
-             index : Integer from Standard; 
-             key   : HExtendedString from PCollection; 
-             value : HArray1OfReal from PColStd); 
-     
-    ArrRealDataItemValue(me; 
-             index : Integer from Standard; 
-             key   : out HExtendedString from PCollection) 
-    returns HArray1OfReal from PColStd;
-
-
-    LowerI (me) 
-    returns Integer from Standard;      
-
-    UpperI (me) 
-    returns Integer from Standard; 
-     
-    LowerR (me) 
-    returns Integer from Standard;      
-
-    UpperR (me) 
-    returns Integer from Standard;     
-
-    LowerS (me) 
-    returns Integer from Standard;      
-
-    UpperS (me) 
-    returns Integer from Standard; 
-
-    LowerB (me) 
-    returns Integer from Standard;      
-
-    UpperB (me) 
-    returns Integer from Standard;  
-     
-    LowerAI (me) 
-    returns Integer from Standard;      
-
-    UpperAI (me) 
-    returns Integer from Standard;  
-
-    LowerAR (me) 
-    returns Integer from Standard;      
-
-    UpperAR (me) 
-    returns Integer from Standard; 
-     
-    HasIntegers (me)
-    ---Purpose: Returns true if at least one named integer value is kept. 
-    returns Boolean from Standard;  
-     
-    HasReals (me)
-    ---Purpose: Returns true if at least one named real value is kept. 
-    returns Boolean from Standard; 
-     
-    HasStrings (me)
-    ---Purpose: Returns true if at least one named string value is kept.
-    returns Boolean from Standard; 
-     
-    HasBytes (me)
-    ---Purpose: Returns true if at least one named byte value is kept.
-    returns Boolean from Standard; 
-     
-    HasArraysOfIntegers (me)
-    ---Purpose: Returns true if at least one named array of integer values is kept.
-    returns Boolean from Standard; 
-     
-    HasArraysOfReals (me)
-    ---Purpose: Returns true if at least one named array of real values is kept.
-    returns Boolean from Standard;
-     
-fields
-    myDimensions     :  HArray2OfInteger  from  PColStd; 
-    
-    myIntKeys        :  HArray1OfExtendedString from PColStd;  
-    myIntValues      :  HArray1OfInteger from PColStd;   
-    
-    myRealKeys       :  HArray1OfExtendedString from PColStd;  
-    myRealValues     :  HArray1OfReal from PColStd;    
-    
-    myStrKeys        :  HArray1OfExtendedString from PColStd; 
-    myStrValues      :  HArray1OfExtendedString from PColStd; 
-     
-    myByteKeys       :  HArray1OfExtendedString from PColStd;   
-    myByteValues     :  HArray1OfByte from PDataStd;    
-     
-    myArrIntKeys     :  HArray1OfExtendedString from PColStd;  
-    myArrIntValues   :  HArray1OfHArray1OfInteger from PDataStd; 
-     
-    myArrRealKeys    :  HArray1OfExtendedString from PColStd;  
-    myArrRealValues  :  HArray1OfHArray1OfReal from PDataStd;  
-    
-end NamedData;
diff --git a/src/PDataStd/PDataStd_NamedData.cxx b/src/PDataStd/PDataStd_NamedData.cxx
deleted file mode 100644 (file)
index aa32583..0000000
+++ /dev/null
@@ -1,405 +0,0 @@
-// Created on: 2007-06-27
-// Created by: Sergey ZARITCHNY
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_NamedData.ixx>
-#define ROW_NUMBER 6
-//=======================================================================
-//function : PDataStd_NamedData
-//purpose  : 
-//=======================================================================
-PDataStd_NamedData::PDataStd_NamedData() { }
-
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
-void PDataStd_NamedData::Init(const Handle(TColStd_HArray2OfInteger)& theDim)
-{
-  if(theDim.IsNull()) return;
-  if(theDim->RowLength() > 0 && (theDim->UpperRow() - theDim->LowerRow() + 1) == ROW_NUMBER ) {
-    myDimensions = new PColStd_HArray2OfInteger(theDim->LowerRow(),theDim->UpperRow(),theDim->LowerCol(),theDim->UpperCol(), 0);
-    Standard_Integer i, j = theDim->LowerCol();
-
-    for(i = theDim->LowerRow();i<=theDim->UpperRow(); i++) {
-      myDimensions->SetValue(i,j, theDim->Value(i,j));
-      myDimensions->SetValue(i,j+1, theDim->Value(i,j+1));
-    }
-  
-    i = theDim->LowerRow();
-    //1.Integers
-    Standard_Integer aSize = theDim->Value(i,j+1) - theDim->Value(i,j);
-    if(aSize>=0 && (theDim->Value(i,j) | theDim->Value(i,j+1))) {
-      myIntKeys = new  PColStd_HArray1OfExtendedString (theDim->Value(i,j), theDim->Value(i,j+1));
-      myIntValues = new PColStd_HArray1OfInteger(theDim->Value(i,j), theDim->Value(i,j+1));
-    }
-    //2.Reals
-    i++;
-    aSize = theDim->Value(i,j+1) - theDim->Value(i,j);
-    if(aSize>=0 && (theDim->Value(i,j) | theDim->Value(i,j+1))) {
-      myRealKeys = new  PColStd_HArray1OfExtendedString (theDim->Value(i,j), theDim->Value(i,j+1));
-      myRealValues = new PColStd_HArray1OfReal(theDim->Value(i,j), theDim->Value(i,j+1));
-    }
-    //3.Strings
-    i++;
-    aSize = theDim->Value(i,j+1) - theDim->Value(i,j);
-    if(aSize>=0 && (theDim->Value(i,j) | theDim->Value(i,j+1))) {
-      myStrKeys   = new PColStd_HArray1OfExtendedString (theDim->Value(i,j), theDim->Value(i,j+1));
-      myStrValues = new PColStd_HArray1OfExtendedString (theDim->Value(i,j), theDim->Value(i,j+1));
-    }
-
-    //4.Bytes
-    i++;
-    aSize = theDim->Value(i,j+1) - theDim->Value(i,j);
-    if(aSize>=0 && (theDim->Value(i,j) | theDim->Value(i,j+1))) {
-      myByteKeys   = new PColStd_HArray1OfExtendedString (theDim->Value(i,j), theDim->Value(i,j+1));
-      myByteValues = new PDataStd_HArray1OfByte(theDim->Value(i,j), theDim->Value(i,j+1));
-    }
-
-    //5.ArraysOfIntegers
-    i++;
-    aSize = theDim->Value(i,j+1) - theDim->Value(i,j);
-    if(aSize>=0 && (theDim->Value(i,j) | theDim->Value(i,j+1))) {
-      myArrIntKeys   = new PColStd_HArray1OfExtendedString (theDim->Value(i,j), theDim->Value(i,j+1));
-      myArrIntValues = new PDataStd_HArray1OfHArray1OfInteger(theDim->Value(i,j), theDim->Value(i,j+1));
-    }
-
-    //6.
-    i++;
-    aSize = theDim->Value(i,j+1) - theDim->Value(i,j);
-    if(aSize>=0 && (theDim->Value(i,j) | theDim->Value(i,j+1))) {
-      myArrRealKeys   = new PColStd_HArray1OfExtendedString (theDim->Value(i,j), theDim->Value(i,j+1));
-      myArrRealValues = new PDataStd_HArray1OfHArray1OfReal(theDim->Value(i,j), theDim->Value(i,j+1));
-    }
-
-  }
-}
-
-//=======================================================================
-//function : LowerI
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_NamedData::LowerI() const
-{
-  return myDimensions->Value(myDimensions->LowerRow(),myDimensions->LowerCol());
-}
-
-//=======================================================================
-//function : UpperI
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_NamedData::UpperI() const
-{
-  return myDimensions->Value(myDimensions->LowerRow(),myDimensions->UpperCol());
-}
-
-//=======================================================================
-//function : LowerR
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_NamedData::LowerR() const
-{
-  return myDimensions->Value(myDimensions->LowerRow()+1,myDimensions->LowerCol());
-}
-
-//=======================================================================
-//function : UpperR
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_NamedData::UpperR() const
-{
-  return myDimensions->Value(myDimensions->LowerRow()+1,myDimensions->UpperCol());
-}
-
-//=======================================================================
-//function : LowerS
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_NamedData::LowerS() const
-{
-  return myDimensions->Value(myDimensions->LowerRow()+2,myDimensions->LowerCol());
-}
-
-//=======================================================================
-//function : UpperS
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_NamedData::UpperS() const
-{
-  return myDimensions->Value(myDimensions->LowerRow()+2,myDimensions->UpperCol());
-}
-
-//=======================================================================
-//function : LowerB
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_NamedData::LowerB() const
-{
-  return myDimensions->Value(myDimensions->LowerRow()+3,myDimensions->LowerCol());
-}
-
-//=======================================================================
-//function : UpperB
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_NamedData::UpperB() const
-{
-  return myDimensions->Value(myDimensions->LowerRow()+3,myDimensions->UpperCol());
-}
-
-//=======================================================================
-//function : LowerAI
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_NamedData::LowerAI() const
-{
-  return myDimensions->Value(myDimensions->LowerRow()+4,myDimensions->LowerCol());
-}
-
-//=======================================================================
-//function : UpperAI
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_NamedData::UpperAI() const
-{
-  return myDimensions->Value(myDimensions->LowerRow()+4,myDimensions->UpperCol());
-}
-
-//=======================================================================
-//function : LowerAR
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_NamedData::LowerAR() const
-{
-  return myDimensions->Value(myDimensions->LowerRow()+5,myDimensions->LowerCol());
-}
-
-//=======================================================================
-//function : UpperAR
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_NamedData::UpperAR() const
-{
-  return myDimensions->Value(myDimensions->LowerRow()+5,myDimensions->UpperCol());
-}
-
-
-//=======================================================================
-//function : SetIntDataItem
-//purpose  : 
-//=======================================================================
-void PDataStd_NamedData::SetIntDataItem(const Standard_Integer index, 
-                                       const Handle(PCollection_HExtendedString)& key,
-                                       const Standard_Integer value)
-{
-  if(myIntKeys.IsNull() || myIntValues.IsNull()) return;
-  myIntKeys->SetValue(index, key);
-  myIntValues->SetValue(index, value);
-}
-
-//=======================================================================
-//function : IntDataItemValue
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_NamedData::IntDataItemValue(const Standard_Integer index, 
-                                                     Handle(PCollection_HExtendedString)& key) const
-{
-  if(myIntKeys.IsNull() || myIntValues.IsNull()) return 0;
-  key = myIntKeys->Value(index);
-  return myIntValues->Value(index);
-}
-
-//=======================================================================
-//function : SetRealDataItem
-//purpose  : 
-//=======================================================================
-void PDataStd_NamedData::SetRealDataItem(const Standard_Integer index, 
-                                       const Handle(PCollection_HExtendedString)& key,
-                                       const Standard_Real value)
-{
-  if(myRealKeys.IsNull() || myRealValues.IsNull()) return;
-  myRealKeys->SetValue(index, key);
-  myRealValues->SetValue(index, value);
-}
-
-//=======================================================================
-//function : RealDataItemValue
-//purpose  : 
-//=======================================================================
-Standard_Real PDataStd_NamedData::RealDataItemValue(const Standard_Integer index, 
-                                                     Handle(PCollection_HExtendedString)& key) const
-{
-  if(myRealKeys.IsNull() || myRealValues.IsNull()) return 0.;
-  key = myRealKeys->Value(index);
-  return myRealValues->Value(index);
-}
-
-//=======================================================================
-//function : SetStrDataItem
-//purpose  : 
-//=======================================================================
-void PDataStd_NamedData::SetStrDataItem(const Standard_Integer index, 
-                                       const Handle(PCollection_HExtendedString)& key,
-                                       const Handle(PCollection_HExtendedString)& value)
-{
-  if(myStrKeys.IsNull() || myStrValues.IsNull()) return;
-  myStrKeys->SetValue(index, key);
-  myStrValues->SetValue(index, value);
-}
-
-//=======================================================================
-//function : StrDataItemValue
-//purpose  : 
-//=======================================================================
-Handle(PCollection_HExtendedString) PDataStd_NamedData::StrDataItemValue
-                                           (const Standard_Integer index, 
-                         Handle(PCollection_HExtendedString)& key) const
-{
-  Handle(PCollection_HExtendedString) aVal;
-  if(myStrKeys.IsNull() || myStrValues.IsNull()) return aVal;
-  key = myStrKeys->Value(index);
-  return myStrValues->Value(index);
-}
-
-//=======================================================================
-//function : SetByteDataItem
-//purpose  : 
-//=======================================================================
-void PDataStd_NamedData::SetByteDataItem(const Standard_Integer index, 
-                                       const Handle(PCollection_HExtendedString)& key,
-                                       const Standard_Byte value)
-{
-  if(myByteKeys.IsNull() || myByteValues.IsNull()) return;
-  myByteKeys->SetValue(index, key);
-  myByteValues->SetValue(index, value);
-}
-
-//=======================================================================
-//function : ByteDataItemValue
-//purpose  : 
-//=======================================================================
-Standard_Byte PDataStd_NamedData::ByteDataItemValue(const Standard_Integer index, 
-                                                   Handle(PCollection_HExtendedString)& key) const
-{
-  if(myByteKeys.IsNull() || myByteValues.IsNull()) return 0x00;
-  key = myByteKeys->Value(index);
-  return myByteValues->Value(index);
-}
-
-//=======================================================================
-//function : SetArrIntDataItem
-//purpose  : 
-//=======================================================================
-void PDataStd_NamedData::SetArrIntDataItem(const Standard_Integer index, 
-                                          const Handle(PCollection_HExtendedString)& key,
-                                          const Handle(PColStd_HArray1OfInteger)& value)
-{
-  if(myArrIntKeys.IsNull() || myArrIntValues.IsNull()) return;
-  myArrIntKeys->SetValue(index, key);
-  myArrIntValues->SetValue(index, value);
-}
-
-//=======================================================================
-//function : ArrIntDataItemValue
-//purpose  : 
-//=======================================================================
-Handle(PColStd_HArray1OfInteger) PDataStd_NamedData::ArrIntDataItemValue
-                                           (const Standard_Integer index, 
-                         Handle(PCollection_HExtendedString)& key) const
-{
-  Handle(PColStd_HArray1OfInteger) aVal;
-  if(myArrIntKeys.IsNull() || myArrIntValues.IsNull()) return aVal;
-  key = myArrIntKeys->Value(index);
-  return myArrIntValues->Value(index);
-}
-
-//=======================================================================
-//function : SetArrRealDataItem
-//purpose  : 
-//=======================================================================
-void PDataStd_NamedData::SetArrRealDataItem(const Standard_Integer index, 
-                                          const Handle(PCollection_HExtendedString)& key,
-                                          const Handle(PColStd_HArray1OfReal)& value)
-{
-  if(myArrRealKeys.IsNull() || myArrRealValues.IsNull()) return;
-  myArrRealKeys->SetValue(index, key);
-  myArrRealValues->SetValue(index, value);
-}
-
-//=======================================================================
-//function : ArrRealDataItemValue
-//purpose  : 
-//=======================================================================
-Handle(PColStd_HArray1OfReal) PDataStd_NamedData::ArrRealDataItemValue
-                                           (const Standard_Integer index, 
-                         Handle(PCollection_HExtendedString)& key) const
-{
-  Handle(PColStd_HArray1OfReal) aVal;
-  if(myArrRealKeys.IsNull() || myArrRealValues.IsNull()) return aVal;
-  key = myArrRealKeys->Value(index);
-  return myArrRealValues->Value(index);
-}
-
-//=======================================================================
-//function : HasIntegers
-//purpose  : 
-//=======================================================================
-Standard_Boolean PDataStd_NamedData::HasIntegers() const
-{
-  return !myIntKeys.IsNull();
-}
-//=======================================================================
-//function : HasReals
-//purpose  : 
-//=======================================================================
-Standard_Boolean PDataStd_NamedData::HasReals() const
-{
-  return !myRealKeys.IsNull();
-}
-
-//=======================================================================
-//function : HasStrings
-//purpose  : 
-//=======================================================================
-Standard_Boolean PDataStd_NamedData::HasStrings() const
-{
-  return !myStrKeys.IsNull();
-}
-
-//=======================================================================
-//function : HasBytes
-//purpose  : 
-//=======================================================================
-Standard_Boolean PDataStd_NamedData::HasBytes() const
-{
-  return !myByteKeys.IsNull();
-}
-
-//=======================================================================
-//function : HasArraysOfIntegers
-//purpose  : 
-//=======================================================================
-Standard_Boolean PDataStd_NamedData::HasArraysOfIntegers() const
-{
-  return !myArrIntKeys.IsNull();
-}
-
-//=======================================================================
-//function : HasArraysOfReals
-//purpose  : 
-//=======================================================================
-Standard_Boolean PDataStd_NamedData::HasArraysOfReals() const
-{
-  return !myArrRealKeys.IsNull();
-}
diff --git a/src/PDataStd/PDataStd_NoteBook.cdl b/src/PDataStd/PDataStd_NoteBook.cdl
deleted file mode 100644 (file)
index 8300f35..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
--- Created on: 1997-07-29
--- Created by: Denis PASCAL
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class NoteBook from PDataStd inherits Attribute from PDF
-
-       ---Purpose: 
-is
-
-    Create returns NoteBook from  PDataStd;
-
-end NoteBook;
diff --git a/src/PDataStd/PDataStd_NoteBook.cxx b/src/PDataStd/PDataStd_NoteBook.cxx
deleted file mode 100644 (file)
index 9e03eb2..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_NoteBook.ixx>
-
-PDataStd_NoteBook::PDataStd_NoteBook() {}
-
diff --git a/src/PDataStd/PDataStd_Real.cdl b/src/PDataStd/PDataStd_Real.cdl
deleted file mode 100644 (file)
index 7afa5bc..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
--- Created on: 1997-04-09
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Real from PDataStd inherits Attribute from PDF
-
-       ---Purpose: 
-
-uses Real from Standard
-
-is
-
-    Create returns Real from PDataStd;
-
-    
-    Create (Value     : Real from Standard;
-            Dimension : Integer from Standard)
-    returns Real from PDataStd;
-    
-    Get (me) returns Real from Standard;
-
-    Set (me : mutable; V : Real from Standard);
-    
-    SetDimension (me : mutable; DIM : Integer from Standard);
-    
-    GetDimension (me)
-    returns Integer from Standard;
-
-fields
-
-    myValue     : Real    from Standard;
-    myDimension : Integer from Standard;
-
-end Real;
diff --git a/src/PDataStd/PDataStd_Real.cxx b/src/PDataStd/PDataStd_Real.cxx
deleted file mode 100644 (file)
index 5c8718a..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-// Created on: 1997-04-09
-// Created by: VAUTHIER Jean-Claude
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_Real.ixx>
-
-
-//=======================================================================
-//function : PDataStd_Real
-//purpose  : 
-//=======================================================================
-
-PDataStd_Real::PDataStd_Real () : myValue(0.),myDimension(0) { }
-
-
-//=======================================================================
-//function : PDataStd_Real
-//purpose  : 
-//=======================================================================
-
-PDataStd_Real::PDataStd_Real (const Standard_Real V, 
-                             const Standard_Integer D) : myValue (V), myDimension(D) { }
-
-
-//=======================================================================
-//function : Set
-//purpose  : 
-//=======================================================================
-
-void PDataStd_Real::Set (const Standard_Real V) 
-{
-  myValue = V;
-}
-
-
-
-//=======================================================================
-//function : Get
-//purpose  : 
-//=======================================================================
-
-Standard_Real PDataStd_Real::Get () const
-{
-  return myValue;
-}
-
-//=======================================================================
-//function : SetDimension
-//purpose  : 
-//=======================================================================
-
-void PDataStd_Real::SetDimension (const Standard_Integer D)
-{
-  myDimension = D;
-}
-
-
-
-//=======================================================================
-//function : GetDimension
-//purpose  : 
-//=======================================================================
-
-Standard_Integer PDataStd_Real::GetDimension () const
-{
-  return myDimension;
-}
-
-
diff --git a/src/PDataStd/PDataStd_RealArray.cdl b/src/PDataStd/PDataStd_RealArray.cdl
deleted file mode 100644 (file)
index 88a7173..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
--- Created on: 1999-06-11
--- Created by: Sergey RUIN
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class RealArray from PDataStd inherits Attribute from PDF
-
-       ---Purpose: 
-
-uses HArray1OfReal from PColStd
-     
-     
-is
-
-    Create returns RealArray from PDataStd;
-
-    Init(me : mutable; lower, upper : Integer from Standard);
-
-    SetValue(me: mutable; Index : Integer from Standard; Value : Real from Standard);
-    
-    Value(me;  Index : Integer from Standard) returns Real  from Standard;
-   
-    Lower (me) returns Integer from Standard;      
-
-    Upper (me) returns Integer from Standard;   
-     
-fields
-    myValue     :  HArray1OfReal from PColStd;
-end RealArray;
diff --git a/src/PDataStd/PDataStd_RealArray.cxx b/src/PDataStd/PDataStd_RealArray.cxx
deleted file mode 100644 (file)
index 45a71f5..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-// Created on: 1999-06-15
-// Created by: Sergey RUIN
-// Copyright (c) 1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_RealArray.ixx>
-
-//=======================================================================
-//function : PDataStd_RealArray
-//purpose  : 
-//=======================================================================
-
-PDataStd_RealArray::PDataStd_RealArray () { }
-
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
-
-void PDataStd_RealArray::Init(const Standard_Integer lower,
-                           const Standard_Integer upper)
-{
-  myValue = new PColStd_HArray1OfReal(lower, upper);
-}
-
-
-//=======================================================================
-//function : SetValue
-//purpose  : 
-//=======================================================================
-
-void PDataStd_RealArray::SetValue(const Standard_Integer index, const Standard_Real value)
-{
-  myValue->SetValue(index, value);
-}
-
-//=======================================================================
-//function : Value
-//purpose  : 
-//=======================================================================
-
-Standard_Real PDataStd_RealArray::Value( const Standard_Integer index ) const
-{
-  return myValue->Value(index);
-}
-
-//=======================================================================
-//function : Lower
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_RealArray::Lower (void) const 
-{ return myValue->Lower(); }
-
-
-//=======================================================================
-//function : Upper
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_RealArray::Upper (void) const 
-{ return myValue->Upper(); }
diff --git a/src/PDataStd/PDataStd_RealArray_1.cdl b/src/PDataStd/PDataStd_RealArray_1.cdl
deleted file mode 100644 (file)
index 143e7a3..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
--- Created on: 2008-03-26
--- Created by: Sergey ZARITCHNY
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class RealArray_1 from PDataStd inherits Attribute from PDF
-
-       ---Purpose: Persistence
-
-uses HArray1OfReal from PColStd
-     
-     
-is
-
-    Create returns RealArray_1 from PDataStd;
-
-    Init(me : mutable; lower, upper : Integer from Standard);
-
-    SetValue(me: mutable; Index : Integer from Standard; Value : Real from Standard);
-    
-    Value(me;  Index : Integer from Standard) returns Real  from Standard;
-   
-    Lower (me) returns Integer from Standard;      
-
-    Upper (me) returns Integer from Standard; 
-     
-    SetDelta(me : mutable; delta : Boolean from Standard); 
-     
-    GetDelta(me) returns Boolean from Standard;      
-    
-fields
-    myValue  :  HArray1OfReal from PColStd;
-    myDelta  : Boolean from Standard;
-end RealArray_1;
diff --git a/src/PDataStd/PDataStd_RealArray_1.cxx b/src/PDataStd/PDataStd_RealArray_1.cxx
deleted file mode 100644 (file)
index ec6527d..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-// Created on: 2008-03-26
-// Created by: Sergey ZARITCHNY
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_RealArray_1.ixx>
-
-//=======================================================================
-//function : PDataStd_RealArray_1
-//purpose  : 
-//=======================================================================
-
-PDataStd_RealArray_1::PDataStd_RealArray_1 () : myDelta(Standard_False) { }
-
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
-
-void PDataStd_RealArray_1::Init(const Standard_Integer lower,
-                           const Standard_Integer upper)
-{
-  myValue = new PColStd_HArray1OfReal(lower, upper);
-}
-
-
-//=======================================================================
-//function : SetValue
-//purpose  : 
-//=======================================================================
-
-void PDataStd_RealArray_1::SetValue(const Standard_Integer index, const Standard_Real value)
-{
-  myValue->SetValue(index, value);
-}
-
-//=======================================================================
-//function : Value
-//purpose  : 
-//=======================================================================
-
-Standard_Real PDataStd_RealArray_1::Value( const Standard_Integer index ) const
-{
-  return myValue->Value(index);
-}
-
-//=======================================================================
-//function : Lower
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_RealArray_1::Lower (void) const 
-{ return myValue->Lower(); }
-
-
-//=======================================================================
-//function : Upper
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_RealArray_1::Upper (void) const 
-{ return myValue->Upper(); }
-
-//=======================================================================
-//function : SetDelta
-//purpose  : 
-//=======================================================================
-void PDataStd_RealArray_1::SetDelta(const Standard_Boolean delta)
-{
-  myDelta = delta;
-}
-
-//=======================================================================
-//function : GetDelta
-//purpose  : 
-//=======================================================================
-Standard_Boolean PDataStd_RealArray_1::GetDelta() const
-{
-  return myDelta;
-}
diff --git a/src/PDataStd/PDataStd_RealList.cdl b/src/PDataStd/PDataStd_RealList.cdl
deleted file mode 100644 (file)
index 8451c93..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class RealList from PDataStd inherits Attribute from PDF
-
-uses 
-
-    HArray1OfReal from PColStd
-
-is
-
-    Create 
-    returns RealList from PDataStd;
-
-    Init (me : mutable; 
-         lower, upper : Integer from Standard);
-
-    SetValue (me: mutable; 
-             index : Integer from Standard; 
-             value : Real from Standard);
-
-    Value (me;  
-          index : Integer from Standard) 
-    returns Real from Standard;
-
-    Lower (me) 
-    returns Integer from Standard;      
-
-    Upper (me) 
-    returns Integer from Standard;   
-
-
-fields
-
-    myValue     :  HArray1OfReal from PColStd;
-
-
-end RealList;
diff --git a/src/PDataStd/PDataStd_RealList.cxx b/src/PDataStd/PDataStd_RealList.cxx
deleted file mode 100644 (file)
index 2f0f94d..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_RealList.ixx>
-
-//=======================================================================
-//function : PDataStd_RealList
-//purpose  : 
-//=======================================================================
-PDataStd_RealList::PDataStd_RealList() 
-{ 
-
-}
-
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
-void PDataStd_RealList::Init(const Standard_Integer lower,
-                            const Standard_Integer upper)
-{
-  if (upper >= lower)
-    myValue = new PColStd_HArray1OfReal(lower, upper);
-}
-
-//=======================================================================
-//function : SetValue
-//purpose  : 
-//=======================================================================
-void PDataStd_RealList::SetValue(const Standard_Integer index, const Standard_Real value)
-{
-  myValue->SetValue(index, value);
-}
-
-//=======================================================================
-//function : Value
-//purpose  : 
-//=======================================================================
-Standard_Real PDataStd_RealList::Value( const Standard_Integer index ) const
-{
-  return myValue->Value(index);
-}
-
-//=======================================================================
-//function : Lower
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_RealList::Lower (void) const 
-{ 
-  if (!myValue.IsNull())
-    return myValue->Lower(); 
-  return 0;
-}
-
-//=======================================================================
-//function : Upper
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_RealList::Upper (void) const 
-{ 
-  if (!myValue.IsNull())
-    return myValue->Upper(); 
-  return -1;
-}
diff --git a/src/PDataStd/PDataStd_ReferenceArray.cdl b/src/PDataStd/PDataStd_ReferenceArray.cdl
deleted file mode 100644 (file)
index aa2ea33..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ReferenceArray from PDataStd inherits Attribute from PDF
-
-uses 
-
-    HExtendedString from PCollection,
-    HArray1OfExtendedString from PColStd
-
-is
-
-    Create 
-    returns ReferenceArray from PDataStd;
-
-    Init (me : mutable; 
-         lower, upper : Integer from Standard);
-
-    SetValue (me: mutable; 
-             index : Integer from Standard; 
-             value : HExtendedString from PCollection);
-
-    Value (me;  
-          index : Integer from Standard) 
-    returns HExtendedString from PCollection;
-
-    Lower (me) 
-    returns Integer from Standard;      
-
-    Upper (me) 
-    returns Integer from Standard;   
-
-
-fields
-
-    myValue     :  HArray1OfExtendedString from PColStd;
-
-
-end ReferenceArray;
diff --git a/src/PDataStd/PDataStd_ReferenceArray.cxx b/src/PDataStd/PDataStd_ReferenceArray.cxx
deleted file mode 100644 (file)
index f49135e..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_ReferenceArray.ixx>
-
-//=======================================================================
-//function : PDataStd_ReferenceArray
-//purpose  : 
-//=======================================================================
-PDataStd_ReferenceArray::PDataStd_ReferenceArray() 
-{ 
-
-}
-
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
-void PDataStd_ReferenceArray::Init(const Standard_Integer lower,
-                                  const Standard_Integer upper)
-{
-  if (upper >= lower)
-    myValue = new PColStd_HArray1OfExtendedString(lower, upper);
-}
-
-//=======================================================================
-//function : SetValue
-//purpose  : 
-//=======================================================================
-void PDataStd_ReferenceArray::SetValue(const Standard_Integer index, const Handle(PCollection_HExtendedString)& value)
-{
-  myValue->SetValue(index, value);
-}
-
-//=======================================================================
-//function : Value
-//purpose  : 
-//=======================================================================
-Handle(PCollection_HExtendedString) PDataStd_ReferenceArray::Value( const Standard_Integer index ) const
-{
-  return myValue->Value(index);
-}
-
-//=======================================================================
-//function : Lower
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_ReferenceArray::Lower (void) const 
-{ 
-  if (!myValue.IsNull())
-    return myValue->Lower(); 
-  return 0;
-}
-
-//=======================================================================
-//function : Upper
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_ReferenceArray::Upper (void) const 
-{ 
-  if (!myValue.IsNull())
-    return myValue->Upper(); 
-  return -1;
-}
diff --git a/src/PDataStd/PDataStd_ReferenceList.cdl b/src/PDataStd/PDataStd_ReferenceList.cdl
deleted file mode 100644 (file)
index f6c3964..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ReferenceList from PDataStd inherits Attribute from PDF
-
-uses 
-
-    HExtendedString from PCollection,
-    HArray1OfExtendedString from PColStd
-
-is
-
-    Create 
-    returns ReferenceList from PDataStd;
-
-    Init (me : mutable; 
-         lower, upper : Integer from Standard);
-
-    SetValue (me: mutable; 
-             index : Integer from Standard; 
-             value : HExtendedString from PCollection);
-
-    Value (me;  
-          index : Integer from Standard) 
-    returns HExtendedString from PCollection;
-
-    Lower (me) 
-    returns Integer from Standard;      
-
-    Upper (me) 
-    returns Integer from Standard;   
-
-
-fields
-
-    myValue     :  HArray1OfExtendedString from PColStd;
-
-
-end ReferenceList;
diff --git a/src/PDataStd/PDataStd_ReferenceList.cxx b/src/PDataStd/PDataStd_ReferenceList.cxx
deleted file mode 100644 (file)
index 9dde96d..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_ReferenceList.ixx>
-
-//=======================================================================
-//function : PDataStd_ReferenceList
-//purpose  : 
-//=======================================================================
-PDataStd_ReferenceList::PDataStd_ReferenceList() 
-{ 
-
-}
-
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
-void PDataStd_ReferenceList::Init(const Standard_Integer lower,
-                                 const Standard_Integer upper)
-{
-  if (upper >= lower)
-    myValue = new PColStd_HArray1OfExtendedString(lower, upper);
-}
-
-//=======================================================================
-//function : SetValue
-//purpose  : 
-//=======================================================================
-void PDataStd_ReferenceList::SetValue(const Standard_Integer index, const Handle(PCollection_HExtendedString)& value)
-{
-  myValue->SetValue(index, value);
-}
-
-//=======================================================================
-//function : Value
-//purpose  : 
-//=======================================================================
-Handle(PCollection_HExtendedString) PDataStd_ReferenceList::Value( const Standard_Integer index ) const
-{
-  return myValue->Value(index);
-}
-
-//=======================================================================
-//function : Lower
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_ReferenceList::Lower (void) const 
-{ 
-  if (!myValue.IsNull())
-    return myValue->Lower(); 
-  return 0;
-}
-
-//=======================================================================
-//function : Upper
-//purpose  : 
-//=======================================================================
-Standard_Integer PDataStd_ReferenceList::Upper (void) const 
-{ 
-  if (!myValue.IsNull())
-    return myValue->Upper(); 
-  return -1;
-}
diff --git a/src/PDataStd/PDataStd_Relation.cdl b/src/PDataStd/PDataStd_Relation.cdl
deleted file mode 100644 (file)
index 7d54f31..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
--- Created on: 1997-07-31
--- Created by: Denis PASCAL
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Relation from PDataStd inherits Attribute from PDF
-
-uses HExtendedString  from PCollection,
-     HAttributeArray1 from PDF 
-
-is
-
-    Create returns Relation from  PDataStd;
-    
-    Create (name : HExtendedString from PCollection) 
-    returns Relation from PDataStd;
-    
-    GetName (me) returns HExtendedString from PCollection;
-    
-    SetName (me : mutable; vars : HExtendedString from PCollection);
-
-    GetVariables (me) returns HAttributeArray1 from PDF;
-    
-    SetVariables (me : mutable; vars : HAttributeArray1 from PDF);
-    
-fields
-
-    myName      : HExtendedString from PCollection;    
-    myVariables : HAttributeArray1 from PDF;
-
-end Relation;
diff --git a/src/PDataStd/PDataStd_Relation.cxx b/src/PDataStd/PDataStd_Relation.cxx
deleted file mode 100644 (file)
index 2ade3f3..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-// Created on: 1997-12-10
-// Created by: Denis PASCAL
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_Relation.ixx>
-
-//=======================================================================
-//function : PDataStd_Relation
-//purpose  : 
-//=======================================================================
-
-PDataStd_Relation::PDataStd_Relation()
-{
-}
-
-//=======================================================================
-//function : PDataStd_Relation
-//purpose  : 
-//=======================================================================
-
-PDataStd_Relation::PDataStd_Relation(const Handle(PCollection_HExtendedString)& name)
-{
-  SetName(name);
-}
-
-//=======================================================================
-//function : GetName
-//purpose  : 
-//=======================================================================
-
-Handle(PCollection_HExtendedString) PDataStd_Relation::GetName() const
-{
-  return myName;
-}
-
-//=======================================================================
-//function : SetName
-//purpose  : 
-//=======================================================================
-
-void PDataStd_Relation::SetName(const Handle(PCollection_HExtendedString)& name)
-{
-  myName = name;
-}
-
-
-//=======================================================================
-//function : GetVariables
-//purpose  : 
-//=======================================================================
-
-Handle(PDF_HAttributeArray1) PDataStd_Relation::GetVariables() const
-{ 
-  return myVariables; 
-}
-
-
-//=======================================================================
-//function : SetVariables
-//purpose  : 
-//=======================================================================
-
-void PDataStd_Relation::SetVariables(const Handle(PDF_HAttributeArray1)& vars) 
-{ 
-  myVariables = vars; 
-}
diff --git a/src/PDataStd/PDataStd_Tick.cdl b/src/PDataStd/PDataStd_Tick.cdl
deleted file mode 100644 (file)
index beeeb55..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
--- Created on: 2007-05-29
--- Created by: Vlad Romashko
--- Copyright (c) 2007-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Tick from PDataStd inherits Attribute from PDF
-
-is
-
-    Create 
-    returns Tick from  PDataStd;
-
-end Tick;
diff --git a/src/PDataStd/PDataStd_Tick.cxx b/src/PDataStd/PDataStd_Tick.cxx
deleted file mode 100644 (file)
index b43a914..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-// Created on: 2007-05-29
-// Created by: Vlad Romashko
-// Copyright (c) 2007-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_Tick.ixx>
-
-PDataStd_Tick::PDataStd_Tick() 
-{
-
-}
diff --git a/src/PDataStd/PDataStd_TreeNode.cdl b/src/PDataStd/PDataStd_TreeNode.cdl
deleted file mode 100644 (file)
index 34233b0..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
--- Created on: 1999-06-17
--- Created by: Vladislav ROMASHKO
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TreeNode from PDataStd inherits Attribute from PDF 
-
-uses 
-     
-    Attribute from PDF, 
-    GUID      from Standard 
-
-is
-
-    Create returns TreeNode from PDataStd;
-        
-    First(me) returns TreeNode from PDataStd;
-        
-    SetFirst(me : mutable; F : TreeNode from PDataStd);    
-    
-    Next(me) returns TreeNode from PDataStd;
-        
-    SetNext(me : mutable; F : TreeNode from PDataStd);    
-    
-    SetTreeID(me : mutable; GUID : GUID from Standard);
-
-    GetTreeID(me) returns GUID from Standard;
-
-fields
-
-    myFirst  : TreeNode from PDataStd;  
-    myNext   : TreeNode from PDataStd;  
-    myTreeID : GUID     from Standard;
-
-end TreeNode;
diff --git a/src/PDataStd/PDataStd_TreeNode.cxx b/src/PDataStd/PDataStd_TreeNode.cxx
deleted file mode 100644 (file)
index 622a32a..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-// Created on: 1999-06-17
-// Created by: Vladislav ROMASHKO
-// Copyright (c) 1999-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_TreeNode.ixx>
-#include <Standard_GUID.hxx>
-
-PDataStd_TreeNode::PDataStd_TreeNode()
-{}
-
-Handle(PDataStd_TreeNode) PDataStd_TreeNode::First() const
-{
-  return myFirst;
-}
-
-void PDataStd_TreeNode::SetFirst(const Handle(PDataStd_TreeNode)& F)
-{
-  myFirst = F;
-}
-
-Handle(PDataStd_TreeNode) PDataStd_TreeNode::Next() const
-{
-  return myNext;
-}
-
-void PDataStd_TreeNode::SetNext(const Handle(PDataStd_TreeNode)& F )
-{
-  myNext = F;
-}
-
-void PDataStd_TreeNode::SetTreeID(const Standard_GUID& ID)
-{
-  myTreeID = ID;
-}
-
-Standard_GUID PDataStd_TreeNode::GetTreeID() const
-{
-  return myTreeID;
-}
diff --git a/src/PDataStd/PDataStd_UAttribute.cdl b/src/PDataStd/PDataStd_UAttribute.cdl
deleted file mode 100644 (file)
index bcd28a2..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
--- Created on: 1999-06-11
--- Created by: Sergey RUIN
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class UAttribute from PDataStd inherits Attribute from PDF
-
-       ---Purpose: 
-
-uses HExtendedString from PCollection
-     
-is
-
-    Create returns UAttribute from PDataStd;
-
-    SetID(me: mutable; guid: HExtendedString from PCollection );
-    
-    GetID(me) returns HExtendedString from PCollection;
-    
-fields
-
-    myID     :  HExtendedString from PCollection;
-    
-end UAttribute;
diff --git a/src/PDataStd/PDataStd_UAttribute.cxx b/src/PDataStd/PDataStd_UAttribute.cxx
deleted file mode 100644 (file)
index e83f510..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-// Created on: 1999-06-15
-// Created by: Sergey RUIN
-// Copyright (c) 1999-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_UAttribute.ixx>
-#include <PCollection_HExtendedString.hxx>
-
-//=======================================================================
-//function : PDataStd_UAttribute
-//purpose  : 
-//=======================================================================
-
-PDataStd_UAttribute::PDataStd_UAttribute () { }
-
-
-//=======================================================================
-//function : SetID
-//purpose  : 
-//=======================================================================
-
-void PDataStd_UAttribute::SetID( const Handle(PCollection_HExtendedString)&  guid)
-{
-  myID = guid;
-}
-
-//=======================================================================
-//function : GetLocalID
-//purpose  : 
-//=======================================================================
-
-Handle(PCollection_HExtendedString) PDataStd_UAttribute::GetID( void ) const
-{
-  return myID;
-}
diff --git a/src/PDataStd/PDataStd_Variable.cdl b/src/PDataStd/PDataStd_Variable.cdl
deleted file mode 100644 (file)
index d62e6f5..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
--- Created on: 1997-12-10
--- Created by: Denis PASCAL
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Variable from PDataStd inherits Attribute from PDF
-
-       ---Purpose: Persistant variable
-       --          ===================
-
-uses HAsciiString from PCollection
-is
-
-    Create returns Variable from PDataStd;
-
-    
-    Create (constant : Boolean from Standard)
-    returns Variable from PDataStd;
-    
-    Constant (me : mutable; status : Boolean from Standard);    
-    Constant (me)
-    returns Boolean from Standard;
-
-    Unit(me:mutable; unit : HAsciiString from PCollection);
-    Unit(me) 
-    returns HAsciiString from PCollection;
-
-fields
-
-    isConstant : Boolean      from Standard;
-    myUnit     : HAsciiString from PCollection;
-
-end Variable;
diff --git a/src/PDataStd/PDataStd_Variable.cxx b/src/PDataStd/PDataStd_Variable.cxx
deleted file mode 100644 (file)
index a757242..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-// Created on: 1997-12-10
-// Created by: Denis PASCAL
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataStd_Variable.ixx>
-
-//=======================================================================
-//function : PDataStd_Variable
-//purpose  : 
-//=======================================================================
-
-PDataStd_Variable::PDataStd_Variable() : isConstant(Standard_False)
-{
-}
-
-//=======================================================================
-//function : PDataStd_Variable
-//purpose  : 
-//=======================================================================
-
-PDataStd_Variable::PDataStd_Variable(const Standard_Boolean constant)
-{
-  Constant(constant);
-}
-
-//=======================================================================
-//function : Constant
-//purpose  : 
-//=======================================================================
-
-void PDataStd_Variable::Constant(const Standard_Boolean status) 
-{
-  isConstant = status;
-}
-//=======================================================================
-//function : Constant
-//purpose  : 
-//=======================================================================
-Standard_Boolean PDataStd_Variable::Constant() const
-{
-  return isConstant;
-}
-//=======================================================================
-//function : Unit
-//purpose  : 
-//=======================================================================
-
-void PDataStd_Variable::Unit(const Handle(PCollection_HAsciiString)& unit) 
-{
-  myUnit = unit;
-}
-//=======================================================================
-//function : Unit
-//purpose  : 
-//=======================================================================
-Handle(PCollection_HAsciiString) PDataStd_Variable::Unit() const
-{
-  return myUnit;
-}
diff --git a/src/PDataXtd/PDataXtd.cdl b/src/PDataXtd/PDataXtd.cdl
deleted file mode 100644 (file)
index 71ac6cc..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
--- Created on: 1995-05-10
--- Created by: Denis PASCAL 
--- Copyright (c) 1995-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-
-
-package PDataXtd 
-
-       ---Purpose: 
-
-
-uses Standard,
-     PDF,
-     PTopoDS,
-     PGeom,
-     PNaming, 
-     PDataStd,
-     PCollection,
-     PColStd,
-     PTopLoc,
-     PGeom, 
-     TColStd,
-     gp
-
-is
-
-
-    ---Category: General Data
-    --           ============
-
-    class Position;
-    
-    class Point;
-    
-    class Axis;
-    
-    class Plane;  
-
-    class Geometry;  -- Point | Line ...etc..
-    
-    class Constraint;
-    
-    class Placement;
-    
-    class PatternStd;
-    
-    class Shape; 
-     
-end PDataXtd;
diff --git a/src/PDataXtd/PDataXtd_Axis.cdl b/src/PDataXtd/PDataXtd_Axis.cdl
deleted file mode 100644 (file)
index 2a87741..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
--- Created on: 1997-04-09
--- Created by: VAUTHIER Jean-Claude 
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-
-class Axis from PDataXtd inherits Attribute from PDF
-
-       ---Purpose: 
-
-is
-
-    Create returns Axis from  PDataXtd;
-    
-end Axis;
diff --git a/src/PDataXtd/PDataXtd_Axis.cxx b/src/PDataXtd/PDataXtd_Axis.cxx
deleted file mode 100644 (file)
index c194c01..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataXtd_Axis.ixx>
-
-PDataXtd_Axis::PDataXtd_Axis() {}
diff --git a/src/PDataXtd/PDataXtd_Constraint.cdl b/src/PDataXtd/PDataXtd_Constraint.cdl
deleted file mode 100644 (file)
index b1d2cfa..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
--- Created on: 1997-07-29
--- Created by: Denis PASCAL 
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-
-class Constraint from PDataXtd inherits Attribute from PDF
-
-       ---Purpose: 
-
-uses Integer          from Standard,
-     Real             from PDataStd,
-     HAttributeArray1 from PDF,
-     NamedShape       from PNaming
-    
-is
-
-    Create returns Constraint from  PDataXtd;
-    
-    
-    Create (Type        : Integer          from Standard;
-           Geometries  : HAttributeArray1 from PDF;
-           Value       : Real             from PDataStd;
-           Plane       : NamedShape       from PNaming) 
-    returns Constraint from PDataXtd;
-    
-    
-    GetValue (me) returns Real from PDataStd;
-    
-
-    GetType (me) returns Integer from Standard;
-    
-    
-    GetGeometries (me) returns HAttributeArray1 from PDF;
-    
-    
-    Set (me : mutable; V : Real from PDataStd);
-
-
-    SetType (me : mutable; Type : Integer from Standard);
-    
-    
-    SetGeometries (me : mutable; Geometries : HAttributeArray1 from PDF);
-    
-    SetPlane (me : mutable; plane : NamedShape from PNaming);
-    GetPlane (me)
-    returns NamedShape from PNaming;
-    
-    Verified(me:mutable; status : Boolean from Standard);
-    Verified(me) 
-    returns Boolean from Standard;    
-
-    Inverted(me:mutable; status : Boolean from Standard);
-    Inverted(me) 
-    returns Boolean from Standard;    
-
-    Reversed(me:mutable; status : Boolean from Standard);
-    Reversed(me) 
-    returns Boolean from Standard;    
-    
-fields
-
-    myType       : Integer          from Standard;
-    myGeometries : HAttributeArray1 from PDF;
-    myValue      : Real             from PDataStd;
-    myIsReversed : Boolean          from Standard;
-    myIsInverted : Boolean          from Standard;
-    myIsVerified : Boolean          from Standard;
-    myPlane      : NamedShape       from PNaming;
-    
-end Constraint;
diff --git a/src/PDataXtd/PDataXtd_Constraint.cxx b/src/PDataXtd/PDataXtd_Constraint.cxx
deleted file mode 100644 (file)
index 8b99da5..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataXtd_Constraint.ixx>
-
-
-
-PDataXtd_Constraint::PDataXtd_Constraint () : 
-    myType(0),
-    myIsReversed(Standard_False),
-    myIsInverted(Standard_False),
-    myIsVerified(Standard_False)
-{ }
-
-PDataXtd_Constraint::PDataXtd_Constraint(const Standard_Integer Type,
-                                        const Handle(PDF_HAttributeArray1)& Geometries,
-                                        const Handle(PDataStd_Real)& Value,
-                                        const Handle(PNaming_NamedShape)& Plane)
-
-: myType (Type), myGeometries (Geometries), myValue (Value), myIsReversed(Standard_False),
-  myIsInverted(Standard_False),
-  myIsVerified(Standard_True),
-  myPlane(Plane)
-  {}
-
-Handle(PDataStd_Real) PDataXtd_Constraint::GetValue() const
-{ return myValue; }
-
-Standard_Integer PDataXtd_Constraint::GetType() const
-{ return myType; }
-
-Handle(PDF_HAttributeArray1) PDataXtd_Constraint::GetGeometries() const
-{ return myGeometries; }
-
-Handle(PNaming_NamedShape) PDataXtd_Constraint::GetPlane() const 
-{ return myPlane;}
-
-void PDataXtd_Constraint::SetPlane(const Handle(PNaming_NamedShape)& plane)
-{ myPlane = plane;}
-
-void PDataXtd_Constraint::Set(const Handle(PDataStd_Real)& V) 
-{ myValue = V; }
-
-void PDataXtd_Constraint::SetType(const Standard_Integer Type) 
-{ myType = Type; }
-
-void PDataXtd_Constraint::SetGeometries(const Handle(PDF_HAttributeArray1)& Geometries) 
-{ myGeometries = Geometries; }
-
-//=======================================================================
-//function : Verified
-//purpose  : 
-//=======================================================================
-void PDataXtd_Constraint::Verified(const Standard_Boolean status)
-{
-  myIsVerified = status;
-}
-
-//=======================================================================
-//function : Verified
-//purpose  : 
-//=======================================================================
-Standard_Boolean PDataXtd_Constraint::Verified() const 
-{
-  return myIsVerified;
-}
-
-//=======================================================================
-//function : Reversed
-//purpose  : 
-//=======================================================================
-void PDataXtd_Constraint::Reversed(const Standard_Boolean status)
-{
-  myIsReversed = status;
-}
-
-//=======================================================================
-//function : Reversed
-//purpose  : 
-//=======================================================================
-Standard_Boolean PDataXtd_Constraint::Reversed() const 
-{
-  return myIsReversed;
-}
-
-//=======================================================================
-//function : Inverted
-//purpose  : 
-//=======================================================================
-void PDataXtd_Constraint::Inverted(const Standard_Boolean status)
-{
-  myIsInverted = status;
-}
-
-//=======================================================================
-//function : Inverted
-//purpose  : 
-//=======================================================================
-Standard_Boolean PDataXtd_Constraint::Inverted() const 
-{
-  return myIsInverted;
-}
diff --git a/src/PDataXtd/PDataXtd_Geometry.cdl b/src/PDataXtd/PDataXtd_Geometry.cdl
deleted file mode 100644 (file)
index ed47751..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
--- Created on: 1997-11-19
--- Created by: Denis PASCAL
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-
-
-class Geometry from PDataXtd inherits Attribute from PDF
-
-       ---Purpose: 
-
-uses Integer          from Standard,
-     Real             from PDataStd,
-     HAttributeArray1 from PDF
-    
-is
-
-    Create returns Geometry from  PDataXtd;
-    
-    Create (Type : Integer from Standard)
-    returns Geometry from PDataXtd;
-    
-    GetType (me) returns Integer from Standard;
-    
-    SetType (me : mutable; Type : Integer from Standard);
-    
-fields
-
-    myType : Integer from Standard;
-
-end Geometry;
diff --git a/src/PDataXtd/PDataXtd_Geometry.cxx b/src/PDataXtd/PDataXtd_Geometry.cxx
deleted file mode 100644 (file)
index 5725679..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-// Created on: 1997-11-19
-// Created by: Denis PASCAL
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataXtd_Geometry.ixx>
-
-PDataXtd_Geometry::PDataXtd_Geometry () : myType(0) { }
-
-PDataXtd_Geometry::PDataXtd_Geometry (const Standard_Integer Type) : myType (Type) {}
-
-Standard_Integer PDataXtd_Geometry::GetType() const 
-{ return myType; }
-
-void PDataXtd_Geometry::SetType(const Standard_Integer Type) 
-{ myType = Type; }
diff --git a/src/PDataXtd/PDataXtd_PatternStd.cdl b/src/PDataXtd/PDataXtd_PatternStd.cdl
deleted file mode 100644 (file)
index ca1023a..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
--- Created on: 1998-02-16
--- Created by: Jing Cheng MEI
--- Copyright (c) 1998-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-
-class PatternStd from PDataXtd inherits Attribute from PDF
-
-       ---Purpose: to create a pattern function
-
-uses
-
-
-    NamedShape      from PNaming,
-    Integer         from PDataStd,
-    Real            from PDataStd
-
-
-is
-
-    Create
-    returns PatternStd from PDataXtd;
-    
-    --- Category: Set and Get methods
-
-    Signature(me: mutable; signature: Integer from Standard);
-        ---C++: inline
-
-    Axis1Reversed(me: mutable;  Axis1Reversed:  Boolean from Standard);
-        ---C++: inline
-     
-    Axis2Reversed(me: mutable;  Axis2Reversed:  Boolean from Standard);
-        ---C++: inline
-     
-    Axis1(me: mutable; Axis1: NamedShape from PNaming);
-        ---C++: inline
-
-    Axis2(me: mutable; Axis2: NamedShape from PNaming);
-        ---C++: inline
-
-    Value1(me: mutable; Value1: Real from PDataStd);
-        ---C++: inline
-
-    Value2(me: mutable; Value2: Real from PDataStd);
-        ---C++: inline
-
-    NbInstances1(me: mutable; NbInstances1: Integer from PDataStd);
-        ---C++: inline
-
-    NbInstances2(me: mutable; NbInstances2: Integer from PDataStd);
-        ---C++: inline
-
-    Mirror(me: mutable; plane: NamedShape from PNaming);
-        ---C++: inline
-
-
-
-    Signature(me) returns Integer from Standard;
-        ---C++: inline
-    
-    Axis1Reversed(me) returns Boolean from Standard;
-        ---C++: inline
-     
-    Axis2Reversed(me) returns Boolean from Standard;
-        ---C++: inline
-
-    Axis1(me) returns NamedShape from PNaming;
-        ---C++: inline
-
-    Axis2(me) returns NamedShape from PNaming;
-        ---C++: inline
-
-    Value1(me) returns Real from PDataStd;
-        ---C++: inline
-
-    Value2(me) returns Real from PDataStd;
-        ---C++: inline
-
-    NbInstances1(me) returns Integer from PDataStd;
-        ---C++: inline
-
-    NbInstances2(me) returns Integer from PDataStd;
-        ---C++: inline
-
-    Mirror(me) returns NamedShape from PNaming;
-        ---C++: inline
-
-
-fields
-
-    mySignature     : Integer         from Standard;
-    myAxis1Reversed : Boolean         from Standard;
-    myAxis2Reversed : Boolean         from Standard;
-
-    myAxis1         : NamedShape      from PNaming;
-    myAxis2         : NamedShape      from PNaming;
-    myValue1        : Real            from PDataStd;
-    myValue2        : Real            from PDataStd;
-    myNb1           : Integer         from PDataStd;
-    myNb2           : Integer         from PDataStd;
-    myMirror        : NamedShape      from PNaming;
-
-end PatternStd;
diff --git a/src/PDataXtd/PDataXtd_PatternStd.cxx b/src/PDataXtd/PDataXtd_PatternStd.cxx
deleted file mode 100644 (file)
index 5488026..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-// Created on: 1998-02-16
-// Created by: Jing Cheng MEI
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataXtd_PatternStd.ixx>
-
-PDataXtd_PatternStd::PDataXtd_PatternStd() :
-    mySignature(0),
-    myAxis1Reversed(Standard_False),
-    myAxis2Reversed(Standard_False)
-{
-}
diff --git a/src/PDataXtd/PDataXtd_PatternStd.lxx b/src/PDataXtd/PDataXtd_PatternStd.lxx
deleted file mode 100644 (file)
index 59a40fb..0000000
+++ /dev/null
@@ -1,218 +0,0 @@
-// Created on: 1998-02-16
-// Created by: Jing Cheng MEI
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-// modified     Sergey Zaritchny
-
-//=======================================================================
-//function : Signature
-//purpose  : 
-//=======================================================================
-
-inline void PDataXtd_PatternStd::Signature(const Standard_Integer signature) 
-{
-  mySignature = signature;
-}
-
-//=======================================================================
-//function : Axis1Reversed
-//purpose  : 
-//=======================================================================
-
-inline void PDataXtd_PatternStd::Axis1Reversed(const Standard_Boolean Axis1Reversed) 
-{
-  myAxis1Reversed = Axis1Reversed;
-}
-
-//=======================================================================
-//function : Axis2Reversed
-//purpose  : 
-//=======================================================================
-
-inline void PDataXtd_PatternStd::Axis2Reversed(const Standard_Boolean Axis2Reversed) 
-{
-  myAxis2Reversed = Axis2Reversed;
-}
-//=======================================================================
-//function : Axis1
-//purpose  : 
-//=======================================================================
-
-inline void PDataXtd_PatternStd::Axis1(const Handle(PNaming_NamedShape)& Axis1) 
-{
-  myAxis1 = Axis1;
-}
-
-//=======================================================================
-//function : Axis2
-//purpose  : 
-//=======================================================================
-
-inline void PDataXtd_PatternStd::Axis2(const Handle(PNaming_NamedShape)& Axis2) 
-{
-  myAxis2 = Axis2;
-}
-
-//=======================================================================
-//function : Value1
-//purpose  : 
-//=======================================================================
-
-inline void PDataXtd_PatternStd::Value1(const Handle(PDataStd_Real)& Value1) 
-{
-  myValue1 = Value1;
-}
-
-//=======================================================================
-//function : Value2
-//purpose  : 
-//=======================================================================
-
-inline void PDataXtd_PatternStd::Value2(const Handle(PDataStd_Real)& Value2) 
-{
-  myValue2 = Value2;
-}
-
-//=======================================================================
-//function : NbInstances1
-//purpose  : 
-//=======================================================================
-
-inline void PDataXtd_PatternStd::NbInstances1(const Handle(PDataStd_Integer)& NbInstances1) 
-{
-  myNb1 = NbInstances1;
-}
-
-//=======================================================================
-//function : NbInstances2
-//purpose  : 
-//=======================================================================
-
-inline void PDataXtd_PatternStd::NbInstances2(const Handle(PDataStd_Integer)& NbInstances2) 
-{
-  myNb2 = NbInstances2;
-}
-
-//=======================================================================
-//function : Mirror
-//purpose  : 
-//=======================================================================
-
-inline void PDataXtd_PatternStd::Mirror(const Handle(PNaming_NamedShape)& plane)
-{
-  myMirror = plane;
-}
-
-//=======================================================================
-//function : Signature
-//purpose  : 
-//=======================================================================
-
-inline Standard_Integer PDataXtd_PatternStd::Signature() const
-{
-  return mySignature;
-}
-
-//=======================================================================
-//function : Axis1Reversed
-//purpose  : 
-//=======================================================================
-
-inline Standard_Boolean PDataXtd_PatternStd::Axis1Reversed() const
-{
-  return myAxis1Reversed;
-}
-
-
-//=======================================================================
-//function : Axis2Reversed
-//purpose  : 
-//=======================================================================
-
-inline Standard_Boolean PDataXtd_PatternStd::Axis2Reversed() const
-{
-  return myAxis2Reversed;
-}
-
-//=======================================================================
-//function : Axis1
-//purpose  : 
-//=======================================================================
-
-inline Handle(PNaming_NamedShape) PDataXtd_PatternStd::Axis1() const
-{
-  return myAxis1;
-}
-
-//=======================================================================
-//function : Axis2
-//purpose  : 
-//=======================================================================
-
-inline Handle(PNaming_NamedShape) PDataXtd_PatternStd::Axis2() const
-{
-  return myAxis2;
-}
-
-//=======================================================================
-//function : Value1
-//purpose  : 
-//=======================================================================
-
-inline Handle(PDataStd_Real) PDataXtd_PatternStd::Value1() const
-{
-  return myValue1;
-}
-
-//=======================================================================
-//function : Value2
-//purpose  : 
-//=======================================================================
-
-inline Handle(PDataStd_Real) PDataXtd_PatternStd::Value2() const
-{
-  return myValue2;
-}
-
-//=======================================================================
-//function : NbInstances1
-//purpose  : 
-//=======================================================================
-
-inline Handle(PDataStd_Integer) PDataXtd_PatternStd::NbInstances1() const
-{
-  return myNb1;
-}
-
-//=======================================================================
-//function : NbInstances2
-//purpose  : 
-//=======================================================================
-
-inline Handle(PDataStd_Integer) PDataXtd_PatternStd::NbInstances2() const
-{
-  return myNb2;
-}
-
-//=======================================================================
-//function : Mirror
-//purpose  : 
-//=======================================================================
-
-inline Handle(PNaming_NamedShape) PDataXtd_PatternStd::Mirror() const
-{
-  return myMirror;
-}
-
diff --git a/src/PDataXtd/PDataXtd_Placement.cdl b/src/PDataXtd/PDataXtd_Placement.cdl
deleted file mode 100644 (file)
index 2a51629..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
--- Created on: 1997-07-29
--- Created by: Denis PASCAL 
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-
-class Placement from PDataXtd inherits Attribute from PDF
-
-       ---Purpose: 
-
-    
-is
-
-    Create returns Placement from  PDataXtd;
-    
-
-end Placement;
diff --git a/src/PDataXtd/PDataXtd_Placement.cxx b/src/PDataXtd/PDataXtd_Placement.cxx
deleted file mode 100644 (file)
index 2c35900..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataXtd_Placement.ixx>
-
-PDataXtd_Placement::PDataXtd_Placement() {}
-
diff --git a/src/PDataXtd/PDataXtd_Plane.cdl b/src/PDataXtd/PDataXtd_Plane.cdl
deleted file mode 100644 (file)
index ab765ec..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
--- Created on: 1997-04-09
--- Created by: VAUTHIER Jean-Claude 
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-
-class Plane from PDataXtd inherits Attribute from PDF
-
-       ---Purpose: 
-
-is
-
-    Create returns Plane from PDataXtd;
-
-end Plane;
diff --git a/src/PDataXtd/PDataXtd_Plane.cxx b/src/PDataXtd/PDataXtd_Plane.cxx
deleted file mode 100644 (file)
index 97015dd..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataXtd_Plane.ixx>
-
-PDataXtd_Plane::PDataXtd_Plane() { }
-
diff --git a/src/PDataXtd/PDataXtd_Point.cdl b/src/PDataXtd/PDataXtd_Point.cdl
deleted file mode 100644 (file)
index 6d397d9..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
--- Created on: 1997-04-09
--- Created by: VAUTHIER Jean-Claude 
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-
-class Point from PDataXtd inherits Attribute from PDF
-
-       ---Purpose: 
-
-is
-
-    Create returns Point from PDataXtd;
-
-end Point;
diff --git a/src/PDataXtd/PDataXtd_Point.cxx b/src/PDataXtd/PDataXtd_Point.cxx
deleted file mode 100644 (file)
index 53104b6..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDataXtd_Point.ixx>
-
-
-PDataXtd_Point::PDataXtd_Point() { }
diff --git a/src/PDataXtd/PDataXtd_Position.cdl b/src/PDataXtd/PDataXtd_Position.cdl
deleted file mode 100644 (file)
index 67bc8b3..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
--- Created on: 1998-04-07
--- Created by: Jean-Pierre COMBE
--- Copyright (c) 1998-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-class Position from PDataXtd inherits Attribute from PDF
-
-       ---Purpose: Position of a Label
-
-uses Pnt from gp
-
-is
-
-    Create returns Position from PDataXtd;
-    
-    GetPosition (me)
-    ---C++: inline
-    returns Pnt from gp;
-    
-    SetPosition (me: mutable ; aPosition : Pnt from gp);
-    ---C++: inline
-
-fields
-
-    myPosition : Pnt  from gp; 
-    
-end Position;
-
diff --git a/src/PDataXtd/PDataXtd_Position.cxx b/src/PDataXtd/PDataXtd_Position.cxx
deleted file mode 100644 (file)
index 7cc34b6..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Created on: 1998-04-07
-// Created by: Jean-Pierre COMBE
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-// modified     Sergey Zaritchny
-
-#include <PDataXtd_Position.ixx>
-
-//=======================================================================
-//function : PDataXtd_Position
-//purpose  : 
-//=======================================================================
-PDataXtd_Position::PDataXtd_Position()
-:myPosition(0.,0.,0.)
-{
-}
-
diff --git a/src/PDataXtd/PDataXtd_Position.lxx b/src/PDataXtd/PDataXtd_Position.lxx
deleted file mode 100644 (file)
index 8e7ead1..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// Created on: 1998-04-07
-// Created by: Jean-Pierre COMBE
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-// modified     Sergey Zaritchny
-
-//=======================================================================
-//function : Position
-//purpose  : 
-//=======================================================================
-inline gp_Pnt PDataXtd_Position::GetPosition() const
-{
-  return myPosition;
-} 
-//=======================================================================
-//function : Color
-//purpose  : 
-//=======================================================================
-inline void PDataXtd_Position::SetPosition(const gp_Pnt& aPosition) 
-{
-  myPosition = aPosition;
-}
-
diff --git a/src/PDataXtd/PDataXtd_Shape.cdl b/src/PDataXtd/PDataXtd_Shape.cdl
deleted file mode 100644 (file)
index 333b2e7..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
--- Created on: 1999-07-01
--- Created by: Sergey RUIN 
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- modified     Sergey Zaritchny
-
-
-
-class Shape from PDataXtd inherits Attribute from PDF
-
-       ---Purpose: 
-is
-
-    Create returns Shape from  PDataXtd;
-
-end Shape;
diff --git a/src/PDataXtd/PDataXtd_Shape.cxx b/src/PDataXtd/PDataXtd_Shape.cxx
deleted file mode 100644 (file)
index e5c9f3a..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-//modified     Sergey Zaritchny
-#include <PDataXtd_Shape.ixx>
-
-PDataXtd_Shape::PDataXtd_Shape() {}
-
diff --git a/src/PDocStd/PDocStd.cdl b/src/PDocStd/PDocStd.cdl
deleted file mode 100644 (file)
index 7608a3d..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
--- Created on: 1997-11-05
--- Created by: Francois PONTET
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package PDocStd 
-
-       ---Purpose: 
-
-uses   PCollection,
-       PCDM,
-       PDF
-      
-
-is
-
-      class Document;
-
-      class XLink;
-
-end PDocStd;
diff --git a/src/PDocStd/PDocStd_Document.cdl b/src/PDocStd/PDocStd_Document.cdl
deleted file mode 100644 (file)
index 2c5fde0..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
--- Created on: 1997-11-05
--- Created by: Francois PONTET
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Document from PDocStd inherits Document from PCDM
-
-       ---Purpose: 
-
-uses
-
-      Data from PDF
-
-is
-
-    Create
-    returns Document from PDocStd;   
-
-    Create (data : Data from PDF)
-    returns Document from PDocStd;
-
-
-    SetData (me : mutable; data : Data from PDF);
-
-    GetData (me) 
-    returns Data from PDF;
-
-fields
-
-     myData :  Data from PDF;
-
-end Document;
diff --git a/src/PDocStd/PDocStd_Document.cxx b/src/PDocStd/PDocStd_Document.cxx
deleted file mode 100644 (file)
index 18b4697..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PDocStd_Document.ixx>
-
-
-
-//=======================================================================
-//function : PDocStd_Document
-//purpose  : 
-//=======================================================================
-
-PDocStd_Document::PDocStd_Document () {}
-
-
-//=======================================================================
-//function : PDocStd_Document
-//purpose  : 
-//=======================================================================
-
-PDocStd_Document::PDocStd_Document(const Handle(PDF_Data)& data)
-:myData(data)
-{
-}
-
-
-//=======================================================================
-//function : SetData
-//purpose  : 
-//=======================================================================
-
-void PDocStd_Document::SetData(const Handle(PDF_Data)& data)
-{
-  myData = data;
-}
-
-
-
-//=======================================================================
-//function : GetData
-//purpose  : 
-//=======================================================================
-
-Handle(PDF_Data) PDocStd_Document::GetData() const
-{
- return myData;
-}
-
diff --git a/src/PDocStd/PDocStd_XLink.cdl b/src/PDocStd/PDocStd_XLink.cdl
deleted file mode 100644 (file)
index f5acb2a..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
--- Created by: DAUTRY Philippe
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
---             --------------
-
----Version:    0.0
---Version      Date            Purpose
---             0.0     Sep 17 1997     Creation
-
-
-class XLink from PDocStd inherits Attribute from PDF
-
-       ---Purpose: This attribute define a persistant external link.
-
-uses
-
-    HAsciiString from PCollection
-
--- raises
-
-is
-
-    Create
-    returns XLink from PDocStd;
-    ---Purpose: Returns an empty persistent external reference.
-
-
-    DocumentEntry(me : mutable; aDocEntry : HAsciiString from PCollection);
-    ---Purpose: Sets the field <myDocEntry> with <aDocEntry>.
-    
-    DocumentEntry(me)
-    returns HAsciiString from PCollection;
-    ---Purpose: Returns the contents of the field <myDocEntry>.
-
-    LabelEntry(me : mutable; aLabEntry : HAsciiString from PCollection);
-    ---Purpose: Sets the field <myLabEntry> with <aLabEntry>.
-
-    LabelEntry(me)
-    returns HAsciiString from PCollection;
-    ---Purpose: Returns the contents of the field <myLabEntry>.
-
-
-fields
-
-    myDocEntry       : HAsciiString from PCollection;
-    myLabEntry       : HAsciiString from PCollection;
-
-end XLink from PDocStd;
diff --git a/src/PDocStd/PDocStd_XLink.cxx b/src/PDocStd/PDocStd_XLink.cxx
deleted file mode 100644 (file)
index ab0b02d..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-// Created by: DAUTRY Philippe
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-//             --------------
-
-// Version:    0.0
-//Version      Date            Purpose
-//             0.0     Sep 17 1997     Creation
-
-
-
-#include <PDocStd_XLink.ixx>
-
-
-//=======================================================================
-//function : PDocStd_XLink
-//purpose  : 
-//=======================================================================
-
-PDocStd_XLink::PDocStd_XLink()
-{}
-
-
-//=======================================================================
-//function : DocumentEntry
-//purpose  : 
-//=======================================================================
-
-void PDocStd_XLink::DocumentEntry
-(const Handle(PCollection_HAsciiString)& aDocEntry) 
-{ myDocEntry = aDocEntry; }
-
-
-//=======================================================================
-//function : DocumentEntry
-//purpose  : 
-//=======================================================================
-
-Handle(PCollection_HAsciiString) PDocStd_XLink::DocumentEntry() const
-{ return myDocEntry; }
-
-
-//=======================================================================
-//function : LabelEntry
-//purpose  : 
-//=======================================================================
-
-void PDocStd_XLink::LabelEntry
-(const Handle(PCollection_HAsciiString)& aLabEntry) 
-{ myLabEntry = aLabEntry; }
-
-
-//=======================================================================
-//function : LabelEntry
-//purpose  : 
-//=======================================================================
-
-Handle(PCollection_HAsciiString) PDocStd_XLink::LabelEntry() const
-{ return myLabEntry; }
-
diff --git a/src/PFunction/PFunction.cdl b/src/PFunction/PFunction.cdl
deleted file mode 100644 (file)
index 0b8957e..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
--- Created on: 1999-06-17
--- Created by: Vladislav ROMASHKO
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package PFunction 
-
-uses 
-     
-    PDF, 
-    Standard   
-    
-is 
-    class Function; 
-     
-end PFunction;    
diff --git a/src/PFunction/PFunction_Function.cdl b/src/PFunction/PFunction_Function.cdl
deleted file mode 100644 (file)
index 0ed64a1..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
--- Created on: 1999-06-17
--- Created by: Vladislav ROMASHKO
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Function from PFunction inherits Attribute from PDF 
-
-uses 
-     
-    Attribute from PDF, 
-    GUID      from Standard 
-
-is
-
-    Create returns Function from PFunction;
-        
-    SetDriverGUID(me : mutable; driverGUID : GUID from Standard);
-
-    GetDriverGUID(me) returns GUID from Standard;
-
-    GetFailure(me) returns Integer from Standard;
-    
-    SetFailure(me : mutable; mode : Integer from Standard);
-
-fields
-
-    myDriverGUID  : GUID     from Standard;
-    myFailure     : Integer  from Standard;
-
-end Function;
diff --git a/src/PFunction/PFunction_Function.cxx b/src/PFunction/PFunction_Function.cxx
deleted file mode 100644 (file)
index c6d8ac5..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-// Created on: 1999-06-17
-// Created by: Vladislav ROMASHKO
-// Copyright (c) 1999-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PFunction_Function.ixx>
-#include <Standard_GUID.hxx>
-
-PFunction_Function::PFunction_Function()
-{}
-
-void PFunction_Function::SetDriverGUID(const Standard_GUID& driverGUID)
-{
-  myDriverGUID = driverGUID;
-}
-
-Standard_GUID PFunction_Function::GetDriverGUID() const
-{
-  return myDriverGUID;
-}
-
-Standard_Integer PFunction_Function::GetFailure() const
-{
-  return myFailure;
-}
-
-void PFunction_Function::SetFailure(const Standard_Integer mode)
-{
-  myFailure = mode;
-}
-
diff --git a/src/PGeom/PGeom.cdl b/src/PGeom/PGeom.cdl
deleted file mode 100644 (file)
index f3b7f8b..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
--- Created on: 1993-02-22
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package PGeom 
-
-        ---Purpose :  This  package contains   the definition   of the
-        --         geometric persistent objects such as point, vector,
-        --         axis placement, curves, surfaces.
-        --  
-        --  All these entities are defined in 3D space.
-        --  This package gives the possibility :
-        --    . to create geometric objects with given or default field values,
-        --    . to set field values,
-        --    . to get field values.
-
-
-uses PColStd, gp, PColgp, GeomAbs
-
-is
-
-
-  class Transformation from PGeom;
-
-
-  deferred class Geometry from PGeom;
-
-
-     deferred class Point from PGeom;
-              class  CartesianPoint from PGeom;
-
-
-     deferred class Vector from PGeom;
-              class Direction from PGeom;
-              class VectorWithMagnitude from PGeom;
-     
-
-     deferred class AxisPlacement from PGeom;
-              class Axis1Placement from PGeom;
-              class Axis2Placement from PGeom;
-
-
-     deferred class Curve from PGeom;
-
-              class Line from PGeom;
-
-              deferred class Conic from PGeom;
-                       class Circle from PGeom;
-                       class Ellipse from PGeom;
-                       class Hyperbola from PGeom;
-                       class Parabola from PGeom;
-
-              deferred class BoundedCurve from PGeom;
-                       class BezierCurve from PGeom;
-                       class BSplineCurve from PGeom;
-                       class TrimmedCurve from PGeom;
-
-              class  OffsetCurve from PGeom;
-
-
-     deferred class Surface from PGeom;
-
-              deferred class ElementarySurface from PGeom;
-                       class Plane from PGeom;
-                       class ConicalSurface from PGeom;
-                       class CylindricalSurface from PGeom;
-                       class SphericalSurface from PGeom;
-                       class ToroidalSurface from PGeom;
-
-              deferred class SweptSurface from PGeom;
-                       class SurfaceOfLinearExtrusion from PGeom;
-                       class SurfaceOfRevolution from PGeom;
-
-              deferred class BoundedSurface from PGeom;
-                       class BezierSurface from PGeom;
-                       class BSplineSurface from PGeom;
-                       class RectangularTrimmedSurface from PGeom;
-
-              
-              class OffsetSurface from PGeom;
-
-
-end PGeom;
diff --git a/src/PGeom/PGeom_Axis1Placement.cdl b/src/PGeom/PGeom_Axis1Placement.cdl
deleted file mode 100644 (file)
index 415240f..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
--- Created on: 1993-02-22
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Axis1Placement from PGeom inherits AxisPlacement from PGeom
-
-       ---Purpose : This class describes an axis  one placement built
-       --         with a point and a direction.
-       --          
-
-uses Ax1 from gp
-
-is
-
-
-  Create returns Axis1Placement from PGeom;
-        --- Purpose : Creates an Axis1Placement with Ax1 default value.
-       ---Level: Internal 
-
-  Create (aAxis : Ax1 from gp) returns Axis1Placement from PGeom;
-        --- Purpose : Creates an Axis1Placement with <aAxis>.
-       ---Level: Internal 
-
-
-end;
-
-
diff --git a/src/PGeom/PGeom_Axis1Placement.cxx b/src/PGeom/PGeom_Axis1Placement.cxx
deleted file mode 100644 (file)
index c760c29..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_Axis1Placement.ixx>
-
-//=======================================================================
-//function : PGeom_Axis1Placement
-//purpose  : 
-//=======================================================================
-
-PGeom_Axis1Placement::PGeom_Axis1Placement()
-{}
-
-
-//=======================================================================
-//function : PGeom_Axis1Placement
-//purpose  : 
-//=======================================================================
-
-PGeom_Axis1Placement::PGeom_Axis1Placement(const gp_Ax1& aAxis) :
-       PGeom_AxisPlacement(aAxis)
-{}
diff --git a/src/PGeom/PGeom_Axis2Placement.cdl b/src/PGeom/PGeom_Axis2Placement.cdl
deleted file mode 100644 (file)
index 77527ce..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
--- Created on: 1993-02-22
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Axis2Placement from PGeom inherits AxisPlacement from PGeom
-
-       ---Purpose : This class describes an  axis two placement built
-       --         with a point and two directions.
-       --          
-       ---See Also : Axis2Placement from Geom.
-
-uses Ax1      from gp,
-     Dir      from gp
-
-is
-
-
-  Create returns Axis2Placement from PGeom;
-        ---Purpose : Returns an Axis2Placement with default values.
-       ---Level: Internal 
-
-
-  Create (aAxis : Ax1 from gp; aXDirection: Dir from gp)
-    returns Axis2Placement from PGeom;
-        ---Purpose : Creates an Axis2Placement with <A2>.
-       ---Level: Internal 
-
-
-  XDirection (me : mutable; aXDirection : Dir from gp);
-        ---Purpose : Set the value of the field xDirection with <aXDirection>.
-       ---Level: Internal 
-
-
-  XDirection (me) returns Dir from gp;
-       ---Purpose : Returns the "XDirection". This is a unit vector.
-       ---Level: Internal 
-
-
-fields
-
-  xDirection : Dir from gp;
-
-end;
diff --git a/src/PGeom/PGeom_Axis2Placement.cxx b/src/PGeom/PGeom_Axis2Placement.cxx
deleted file mode 100644 (file)
index ac9a164..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_Axis2Placement.ixx>
-
-//=======================================================================
-//function : PGeom_Axis2Placement
-//purpose  : 
-//=======================================================================
-
-PGeom_Axis2Placement::PGeom_Axis2Placement()
-{}
-
-
-//=======================================================================
-//function : PGeom_Axis2Placement
-//purpose  : 
-//=======================================================================
-
-PGeom_Axis2Placement::PGeom_Axis2Placement
-  (const gp_Ax1& aAxis,
-   const gp_Dir& aXDirection) :
-  PGeom_AxisPlacement(aAxis),
-  xDirection(aXDirection)
-{}
-
-
-//=======================================================================
-//function : XDirection
-//purpose  : 
-//=======================================================================
-
-void  PGeom_Axis2Placement::XDirection(const gp_Dir& aXDirection)
-{ xDirection = aXDirection; }
-
-
-//=======================================================================
-//function : XDirection
-//purpose  : 
-//=======================================================================
-
-gp_Dir  PGeom_Axis2Placement::XDirection() const 
-{ return xDirection; }
diff --git a/src/PGeom/PGeom_AxisPlacement.cdl b/src/PGeom/PGeom_AxisPlacement.cdl
deleted file mode 100644 (file)
index 0a7a221..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
--- Created on: 1993-02-22
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class AxisPlacement from PGeom inherits Geometry from PGeom
-
-        ---Purpose :   An  axis  placement  defines a  local cartesian
-        --         coordinate  system and   can be used to  locate  an
-        --         entity in 3D space.
-        --  
-       ---See Also : AxisPlacement from Geom.
-
-uses Ax1 from gp
-
-is
-
-
-    Initialize;
-       ---Purpose: Initializes the field(s) with default value(s).
-       ---Level: Internal 
-
-
-    Initialize(aAxis: Ax1 from gp);
-       ---Purpose: Initializes the field axis with <aAxis>.
-       ---Level: Internal 
-
-
-  Axis (me : mutable; aAxis : Ax1 from gp);
-        --- Purpose : Set the field axis with <aAxis>.
-       ---Level: Internal 
-
-
-  Axis (me)  returns Ax1 from gp;
-        --- Purpose : Returns the value of the field axis.
-       ---Level: Internal 
-
-
-fields
-
-  axis : Ax1 from gp is protected;
-
-end;
diff --git a/src/PGeom/PGeom_AxisPlacement.cxx b/src/PGeom/PGeom_AxisPlacement.cxx
deleted file mode 100644 (file)
index ea176c8..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_AxisPlacement.ixx>
-
-//=======================================================================
-//function : PGeom_AxisPlacement
-//purpose  : 
-//=======================================================================
-
-PGeom_AxisPlacement::PGeom_AxisPlacement(const gp_Ax1& aAxis) :
-       axis(aAxis)
-{}
-
-
-//=======================================================================
-//function : PGeom_AxisPlacement
-//purpose  : 
-//=======================================================================
-
-PGeom_AxisPlacement::PGeom_AxisPlacement()
-{}
-
-
-//=======================================================================
-//function : Axis
-//purpose  : 
-//=======================================================================
-
-void  PGeom_AxisPlacement::Axis(const gp_Ax1& aAxis)
-{ axis = aAxis; }
-
-
-//=======================================================================
-//function : Axis
-//purpose  : 
-//=======================================================================
-
-gp_Ax1  PGeom_AxisPlacement::Axis() const 
-{ return axis; }
diff --git a/src/PGeom/PGeom_BSplineCurve.cdl b/src/PGeom/PGeom_BSplineCurve.cdl
deleted file mode 100644 (file)
index 15d5f6b..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
--- Created on: 1993-03-01
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class BSplineCurve from PGeom inherits BoundedCurve from PGeom
-
-        ---Purpose :  Definition of  a  B_spline   curve (it can    be
-        --         periodic, rational and non uniform : NURBS).
-        --         
-       ---See Also : BSplineCurve from Geom.
-
-uses  HArray1OfInteger from PColStd,
-      HArray1OfReal    from PColStd,
-      HArray1OfPnt     from PColgp
-
-is
-
-
-  Create returns BSplineCurve from PGeom;
-       ---Purpose: Creates a BSplineCurve with default values.
-       ---Level: Internal 
-
-
-  Create (
-           aRational       : Boolean from Standard;
-           aPeriodic       : Boolean from Standard;
-           aSpineDegree    : Integer from Standard;
-           aPoles          : HArray1OfPnt from PColgp;
-           aWeights        : HArray1OfReal from PColStd;
-           aKnots          : HArray1OfReal from PColStd;
-           aMultiplicities : HArray1OfInteger from PColStd)
-     returns BSplineCurve from PGeom;
-       ---Purpose: Creates a BSplineCurve with these field values.
-       ---Level: Internal 
-
-
-  Periodic (me: mutable; aPeriodic: Boolean from Standard);
-        ---Purpose :Set the field periodic with <aPeriodic>.
-       ---Level: Internal 
-
-
-  Periodic (me) returns Boolean from Standard;
-        ---Purpose :Returns the value of the field periodic.
-       ---Level: Internal 
-
-
-  Rational (me: mutable; aRational: Boolean from Standard);
-        ---Purpose :Set  the   value  of  the    field rational   with
-        --         <aRational>.
-       ---Level: Internal 
-    
-    
-  Rational (me) returns Boolean from Standard;
-        ---Purpose :Returns the value of the field rational.
-       ---Level: Internal 
-    
-    
-  SpineDegree (me: mutable; aSpineDegree: Integer from Standard);
-       ---Purpose: Set the value of the field spineDegree with <aSpineDegree>.
-       ---Level: Internal 
-
-
-  SpineDegree (me)  returns Integer from Standard;
-       ---Purpose: Returns the value of the field spineDegree.
-       ---Level: Internal 
-
-
-  Poles (me: mutable; aPoles: HArray1OfPnt from PColgp);
-        ---Purpose : Set the value of the field poles with <aPoles>.
-       ---Level: Internal 
-
-
-  Poles (me) returns HArray1OfPnt from PColgp;
-        ---Purpose : Returns the value of the field poles.
-       ---Level: Internal 
-
-
-  Weights (me: mutable; aWeights : HArray1OfReal from PColStd);
-        ---Purpose : Set the value of the field weights with <aWeights>.
-       ---Level: Internal 
-
-
-  Weights (me) returns HArray1OfReal from PColStd;
-        ---Purpose : Returns the the value of the field weights.
-       ---Level: Internal 
-
-
-  Knots (me: mutable; aKnots : HArray1OfReal);
-       ---Purpose :  Set the field knots with <aKnots>.
-        --  The multiplicity of the knots are not modified.
-       ---Level: Internal 
-
-
-  Knots (me) returns HArray1OfReal from PColStd;
-        ---Purpose : returns the value of the field knots.
-       ---Level: Internal 
-
-
-  Multiplicities (me: mutable; aMultiplicities : HArray1OfInteger);
-       ---Purpose :  Set the field multiplicities with <aMultiplicities>.
-       ---Level: Internal 
-
-
-  Multiplicities (me) returns HArray1OfInteger from PColStd;
-        ---Purpose : returns the value of the field multiplicities.
-       ---Level: Internal 
-
-
-fields
-
-  rational       : Boolean from Standard;
-  periodic       : Boolean from Standard;
-  spineDegree    : Integer from Standard;
-  poles          : HArray1OfPnt from PColgp;
-  weights        : HArray1OfReal from PColStd;
-  knots          : HArray1OfReal from PColStd;
-  multiplicities : HArray1OfInteger from PColStd;
-
-end;
diff --git a/src/PGeom/PGeom_BSplineCurve.cxx b/src/PGeom/PGeom_BSplineCurve.cxx
deleted file mode 100644 (file)
index 3a973f0..0000000
+++ /dev/null
@@ -1,178 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_BSplineCurve.ixx>
-
-//=======================================================================
-//function : PGeom_BSplineCurve
-//purpose  : 
-//=======================================================================
-
-PGeom_BSplineCurve::PGeom_BSplineCurve()
-{}
-
-
-//=======================================================================
-//function : PGeom_BSplineCurve
-//purpose  : 
-//=======================================================================
-
-PGeom_BSplineCurve::PGeom_BSplineCurve
-  (const Standard_Boolean aRational,
-   const Standard_Boolean aPeriodic,
-   const Standard_Integer aSpineDegree,
-   const Handle(PColgp_HArray1OfPnt)& aPoles,
-   const Handle(PColStd_HArray1OfReal)& aWeights,
-   const Handle(PColStd_HArray1OfReal)& aKnots,
-   const Handle(PColStd_HArray1OfInteger)& aMultiplicities) :
-  rational(aRational),
-  periodic(aPeriodic),
-  spineDegree(aSpineDegree),
-  poles(aPoles),
-  weights(aWeights),
-  knots(aKnots),
-  multiplicities(aMultiplicities)
-{}
-
-
-//=======================================================================
-//function : Periodic
-//purpose  : 
-//=======================================================================
-
-void  PGeom_BSplineCurve::Periodic(const Standard_Boolean aPeriodic)
-{ periodic = aPeriodic; }
-
-
-//=======================================================================
-//function : Periodic
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PGeom_BSplineCurve::Periodic() const 
-{ return periodic; }
-
-
-//=======================================================================
-//function : Rational
-//purpose  : 
-//=======================================================================
-
-void  PGeom_BSplineCurve::Rational(const Standard_Boolean aRational)
-{ rational = aRational; }
-
-
-//=======================================================================
-//function : Rational
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PGeom_BSplineCurve::Rational() const 
-{ return rational; }
-
-
-//=======================================================================
-//function : SpineDegree
-//purpose  : 
-//=======================================================================
-
-void  PGeom_BSplineCurve::SpineDegree(const Standard_Integer aSpineDegree)
-{ spineDegree = aSpineDegree; }
-
-
-//=======================================================================
-//function : SpineDegree
-//purpose  : 
-//=======================================================================
-
-Standard_Integer  PGeom_BSplineCurve::SpineDegree() const 
-{ return spineDegree; }
-
-
-//=======================================================================
-//function : Poles
-//purpose  : 
-//=======================================================================
-
-void  PGeom_BSplineCurve::Poles(const Handle(PColgp_HArray1OfPnt)& aPoles)
-{ poles = aPoles; }
-
-
-//=======================================================================
-//function : Poles
-//purpose  : 
-//=======================================================================
-
-Handle(PColgp_HArray1OfPnt)  PGeom_BSplineCurve::Poles() const 
-{ return poles; }
-
-
-//=======================================================================
-//function : Weights
-//purpose  : 
-//=======================================================================
-
-void  PGeom_BSplineCurve::Weights
-  (const Handle(PColStd_HArray1OfReal)& aWeights)
-{ weights = aWeights; }
-
-
-//=======================================================================
-//function : Weights
-//purpose  : 
-//=======================================================================
-
-Handle(PColStd_HArray1OfReal)  PGeom_BSplineCurve::Weights() const 
-{ return weights; }
-
-
-//=======================================================================
-//function : Knots
-//purpose  : 
-//=======================================================================
-
-void  PGeom_BSplineCurve::Knots
-  (const Handle(PColStd_HArray1OfReal)& aKnots)
-{ knots = aKnots; }
-
-
-//=======================================================================
-//function : Knots
-//purpose  : 
-//=======================================================================
-
-Handle(PColStd_HArray1OfReal)  PGeom_BSplineCurve::Knots() const 
-{ return knots; }
-
-
-//=======================================================================
-//function : Multiplicities
-//purpose  : 
-//=======================================================================
-
-void  PGeom_BSplineCurve::Multiplicities
-  (const Handle(PColStd_HArray1OfInteger)& aMultiplicities)
-{ multiplicities = aMultiplicities; }
-
-
-//=======================================================================
-//function : Multiplicities
-//purpose  : 
-//=======================================================================
-
-Handle(PColStd_HArray1OfInteger)
-     PGeom_BSplineCurve::Multiplicities() const 
-{ return multiplicities; }
diff --git a/src/PGeom/PGeom_BSplineSurface.cdl b/src/PGeom/PGeom_BSplineSurface.cdl
deleted file mode 100644 (file)
index 6922df4..0000000
+++ /dev/null
@@ -1,198 +0,0 @@
--- Created on: 1993-03-02
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class BSplineSurface from PGeom inherits BoundedSurface from PGeom
-
-        ---Purpose : Definition  of  a B-spline   Surface   (it can be
-        --         rational,  periodic and   non uniform) The  maximum
-        --         degree  of  the  normalized B-spline   functions is
-        --         limited to 9 in this package.
-        --  
-       ---See Also : BSplineSurface from Geom.
-
-uses  HArray1OfInteger from PColStd,
-      HArray1OfReal    from PColStd,
-      HArray2OfReal    from PColStd,
-      HArray2OfPnt     from PColgp
-
-
-is
-  
-  Create returns BSplineSurface from PGeom;
-       ---Purpose: Creates a BSplineSurface with default values.
-       ---Level: Internal 
-
-
-  Create (
-           aURational : Boolean from Standard;
-           aVRational : Boolean from Standard;
-           aUPeriodic : Boolean from Standard;
-           aVPeriodic : Boolean from Standard;
-           aUSpineDegree      : Integer from Standard;
-           aVSpineDegree      : Integer from Standard;
-           aPoles     : HArray2OfPnt from PColgp;
-           aWeights   : HArray2OfReal from PColStd;
-           aUKnots    : HArray1OfReal from PColStd;
-           aVKnots    : HArray1OfReal from PColStd;
-           aUMultiplicities    : HArray1OfInteger from PColStd;
-           aVMultiplicities    : HArray1OfInteger from PColStd)
-    returns BSplineSurface from PGeom;
-       ---Purpose: Creates a BSplineSurface with these values.
-
-
-
-  URational (me: mutable; aURational: Boolean from Standard);
-        ---Purpose : Set the value of the field uRational with <aURational>.
-       ---Level: Internal 
-
-
-  URational (me) returns Boolean from Standard;
-        ---Purpose : Returns the value of the field uRational.
-       ---Level: Internal 
-
-
-  VRational (me: mutable; aVRational: Boolean from Standard);
-        ---Purpose : Set the value of the field vRational with <aVRational>.
-       ---Level: Internal 
-
-
-  VRational (me) returns Boolean from Standard;
-        ---Purpose : Returns the value of the field vRational.
-       ---Level: Internal 
-
-
-  UPeriodic (me: mutable; aUPeriodic: Boolean from Standard);
-       ---Purpose: Set the value of the field uPeriodic with <aUPeriodic>.
-       ---Level: Internal 
-
-
-  UPeriodic (me) returns Boolean from Standard;
-       ---Level: Internal 
-       ---Purpose: Returns the value of the field uPeriodic.
-
-
-  VPeriodic (me: mutable; aVPeriodic: Boolean from Standard);
-       ---Purpose: Set the value of the field vPeriodic with <aVPeriodic>.
-       ---Level: Internal 
-
-
-  VPeriodic (me) returns Boolean from Standard;
-       ---Purpose: Returns the value of the field vPeriodic.
-       ---Level: Internal 
-
-
-  USpineDegree (me: mutable; aUSpineDegree: Integer from Standard);
-        ---Purpose : Set  the value  of the  field  uSpineDegree  with
-        --         <aUSpineDegree>.
-       ---Level: Internal 
-
-
-  USpineDegree (me) returns Integer from Standard;
-        ---Purpose : Returns the value of the field uSpineDegree.
-       ---Level: Internal 
-
-
-  VSpineDegree (me: mutable; aVSpineDegree: Integer from Standard);
-        ---Purpose : Set  the value  of the  field  vSpineDegree  with
-        --         <aVSpineDegree>.
-       ---Level: Internal 
-
-
-  VSpineDegree (me) returns Integer from Standard;
-        ---Purpose : Returns the value of the field vSpineDegree.
-       ---Level: Internal 
-
-
-  Poles (me: mutable; aPoles : HArray2OfPnt from PColgp);
-       ---Purpose: Set the value of the field poles with <aPoles>.
-       ---Level: Internal 
-
-
-  Poles (me) returns HArray2OfPnt from PColgp;
-       ---Purpose: Returns the value of the field poles.
-       ---Level: Internal 
-
-
-  Weights (me: mutable; aWeights : HArray2OfReal from PColStd);
-       ---Purpose: Set the value of the field weights with <aWeights>.
-       ---Level: Internal 
-
-
-  Weights (me) returns HArray2OfReal from PColStd;
-       ---Purpose: Returns the value of the field weights.
-       ---Level: Internal 
-
-
-  UKnots (me: mutable; aUKnots : HArray1OfReal from PColStd);
-       ---Purpose: Set the value of the field uKnots with <aUKnots>.
-       ---Level: Internal 
-
-
-  UKnots (me) returns HArray1OfReal from PColStd;
-       ---Purpose: Returns the value of the field uKnots.
-       ---Level: Internal 
-
-
-  VKnots (me: mutable; aVKnots : HArray1OfReal from PColStd);
-       ---Purpose: Set the value of the field vKnots with <aVKnots>.
-       ---Level: Internal 
-
-
-  VKnots (me) returns HArray1OfReal from PColStd;
-       ---Purpose: Returns the value of the field vKnots.
-       ---Level: Internal 
-
-
-  UMultiplicities (me: mutable;
-                   aUMultiplicities : HArray1OfInteger from PColStd);
-       ---Purpose: Set the  value of the  field  uMultiplicities with
-       --          <aUMultiplicities>.
-       ---Level: Internal 
-
-
-  UMultiplicities (me) returns HArray1OfInteger from PColStd;
-       ---Purpose: Returns the value of the field uMultiplicities.
-       ---Level: Internal 
-
-
-  VMultiplicities (me: mutable;
-                   aVMultiplicities : HArray1OfInteger from PColStd);
-       ---Purpose: Set the value  of  the field vMultiplicities  with
-       --          <aVMultiplicities>.
-       ---Level: Internal 
-
-
-  VMultiplicities (me) returns HArray1OfInteger from PColStd;
-       ---Purpose: Returns the value of the field vMultiplicities.
-       ---Level: Internal 
-
-
-fields
-            
-   uRational       : Boolean from Standard;
-   vRational       : Boolean from Standard;
-   uPeriodic       : Boolean from Standard;
-   vPeriodic       : Boolean from Standard;
-   uSpineDegree    : Integer from Standard;
-   vSpineDegree    : Integer from Standard;
-   poles           : HArray2OfPnt from PColgp;
-   weights         : HArray2OfReal from PColStd;
-   uKnots          : HArray1OfReal from PColStd;
-   vKnots          : HArray1OfReal from PColStd;
-   uMultiplicities : HArray1OfInteger from PColStd;
-   vMultiplicities : HArray1OfInteger from PColStd;
-   
-end;
diff --git a/src/PGeom/PGeom_BSplineSurface.cxx b/src/PGeom/PGeom_BSplineSurface.cxx
deleted file mode 100644 (file)
index 1299675..0000000
+++ /dev/null
@@ -1,281 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_BSplineSurface.ixx>
-
-//=======================================================================
-//function : PGeom_BSplineSurface
-//purpose  : 
-//=======================================================================
-
-PGeom_BSplineSurface::PGeom_BSplineSurface()
-{}
-
-
-//=======================================================================
-//function : PGeom_BSplineSurface
-//purpose  : 
-//=======================================================================
-
-PGeom_BSplineSurface::PGeom_BSplineSurface
-  (const Standard_Boolean aURational,
-   const Standard_Boolean aVRational,
-   const Standard_Boolean aUPeriodic,
-   const Standard_Boolean aVPeriodic,
-   const Standard_Integer aUSpineDegree,
-   const Standard_Integer aVSpineDegree,
-   const Handle(PColgp_HArray2OfPnt)& aPoles,
-   const Handle(PColStd_HArray2OfReal)& aWeights,
-   const Handle(PColStd_HArray1OfReal)& aUKnots,
-   const Handle(PColStd_HArray1OfReal)& aVKnots,
-   const Handle(PColStd_HArray1OfInteger)& aUMultiplicities,
-   const Handle(PColStd_HArray1OfInteger)& aVMultiplicities) :
-   uRational(aURational),
-   vRational(aVRational),
-   uPeriodic(aUPeriodic),
-   vPeriodic(aVPeriodic),
-   uSpineDegree(aUSpineDegree),
-   vSpineDegree(aVSpineDegree),
-   poles(aPoles),
-   weights(aWeights),
-   uKnots(aUKnots),
-   vKnots(aVKnots),
-   uMultiplicities(aUMultiplicities),
-   vMultiplicities(aVMultiplicities)
-{}
-
-
-//=======================================================================
-//function : URational
-//purpose  : 
-//=======================================================================
-
-void  PGeom_BSplineSurface::URational(const Standard_Boolean aURational)
-{ uRational = aURational; }
-
-
-//=======================================================================
-//function : URational
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PGeom_BSplineSurface::URational() const 
-{ return uRational; }
-
-
-//=======================================================================
-//function : VRational
-//purpose  : 
-//=======================================================================
-
-void  PGeom_BSplineSurface::VRational(const Standard_Boolean aVRational)
-{ vRational = aVRational; }
-
-
-//=======================================================================
-//function : VRational
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PGeom_BSplineSurface::VRational() const 
-{ return vRational; }
-
-
-//=======================================================================
-//function : UPeriodic
-//purpose  : 
-//=======================================================================
-
-void  PGeom_BSplineSurface::UPeriodic(const Standard_Boolean aUPeriodic)
-{ uPeriodic = aUPeriodic; }
-
-
-//=======================================================================
-//function : UPeriodic
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PGeom_BSplineSurface::UPeriodic() const 
-{ return uPeriodic; }
-
-
-//=======================================================================
-//function : VPeriodic
-//purpose  : 
-//=======================================================================
-
-void  PGeom_BSplineSurface::VPeriodic(const Standard_Boolean aVPeriodic)
-{ vPeriodic = aVPeriodic; }
-
-
-//=======================================================================
-//function : VPeriodic
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PGeom_BSplineSurface::VPeriodic() const 
-{ return vPeriodic; }
-
-
-//=======================================================================
-//function : USpineDegree
-//purpose  : 
-//=======================================================================
-
-void  PGeom_BSplineSurface::USpineDegree(const Standard_Integer aUSpineDegree)
-{ uSpineDegree = aUSpineDegree; }
-
-
-//=======================================================================
-//function : USpineDegree
-//purpose  : 
-//=======================================================================
-
-Standard_Integer  PGeom_BSplineSurface::USpineDegree() const 
-{ return uSpineDegree; }
-
-
-//=======================================================================
-//function : VSpineDegree
-//purpose  : 
-//=======================================================================
-
-void  PGeom_BSplineSurface::VSpineDegree(const Standard_Integer aVSpineDegree)
-{ vSpineDegree = aVSpineDegree; }
-
-
-//=======================================================================
-//function : VSpineDegree
-//purpose  : 
-//=======================================================================
-
-Standard_Integer  PGeom_BSplineSurface::VSpineDegree() const 
-{ return vSpineDegree; }
-
-
-//=======================================================================
-//function : Poles
-//purpose  : 
-//=======================================================================
-
-void  PGeom_BSplineSurface::Poles(const Handle(PColgp_HArray2OfPnt)& aPoles)
-{ poles = aPoles; }
-
-
-//=======================================================================
-//function : Poles
-//purpose  : 
-//=======================================================================
-
-Handle(PColgp_HArray2OfPnt)  PGeom_BSplineSurface::Poles() const 
-{ return poles; }
-
-
-//=======================================================================
-//function : Weights
-//purpose  : 
-//=======================================================================
-
-void  PGeom_BSplineSurface::
-  Weights(const Handle(PColStd_HArray2OfReal)& aWeights)
-{ weights = aWeights; }
-
-
-//=======================================================================
-//function : Weights
-//purpose  : 
-//=======================================================================
-
-Handle(PColStd_HArray2OfReal)  PGeom_BSplineSurface::Weights() const 
-{ return weights; }
-
-
-//=======================================================================
-//function : UKnots
-//purpose  : 
-//=======================================================================
-
-void  PGeom_BSplineSurface::
-  UKnots(const Handle(PColStd_HArray1OfReal)& aUKnots)
-{ uKnots = aUKnots; }
-
-
-//=======================================================================
-//function : UKnots
-//purpose  : 
-//=======================================================================
-
-Handle(PColStd_HArray1OfReal)  PGeom_BSplineSurface::UKnots() const 
-{ return uKnots; }
-
-
-//=======================================================================
-//function : VKnots
-//purpose  : 
-//=======================================================================
-
-void  PGeom_BSplineSurface::
-  VKnots(const Handle(PColStd_HArray1OfReal)& aVKnots)
-{ vKnots = aVKnots; }
-
-
-//=======================================================================
-//function : VKnots
-//purpose  : 
-//=======================================================================
-
-Handle(PColStd_HArray1OfReal)  PGeom_BSplineSurface::VKnots() const 
-{ return vKnots; }
-
-
-//=======================================================================
-//function : UMultiplicities
-//purpose  : 
-//=======================================================================
-
-void  PGeom_BSplineSurface::UMultiplicities
-  (const Handle(PColStd_HArray1OfInteger)& aUMultiplicities)
-{ uMultiplicities = aUMultiplicities; }
-
-
-//=======================================================================
-//function : UMultiplicities
-//purpose  : 
-//=======================================================================
-
-Handle(PColStd_HArray1OfInteger)  PGeom_BSplineSurface::
-       UMultiplicities() const 
-{ return uMultiplicities; }
-
-
-//=======================================================================
-//function : VMultiplicities
-//purpose  : 
-//=======================================================================
-
-void  PGeom_BSplineSurface::
-  VMultiplicities(const Handle(PColStd_HArray1OfInteger)& aVMultiplicities)
-{ vMultiplicities = aVMultiplicities; }
-
-
-//=======================================================================
-//function : VMultiplicities
-//purpose  : 
-//=======================================================================
-
-Handle(PColStd_HArray1OfInteger)  PGeom_BSplineSurface::
-       VMultiplicities() const 
-{ return vMultiplicities; }
diff --git a/src/PGeom/PGeom_BezierCurve.cdl b/src/PGeom/PGeom_BezierCurve.cdl
deleted file mode 100644 (file)
index 21ebab6..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
--- Created on: 1993-02-22
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class BezierCurve from PGeom inherits BoundedCurve from PGeom
-
-        ---Purpose : Defines a rational or non rational Bezier curve.
-        --         
-       ---See Also : BezierCurve from Geom.
-
-uses  HArray1OfReal from PColStd,
-      HArray1OfPnt  from PColgp
-
-is 
-
-
-  Create returns BezierCurve from PGeom;
-        ---Purpose : Creates a non rational  Bezier curve with default
-        --         values.
-       ---Level: Internal 
-
-  Create(aPoles    : HArray1OfPnt;
-         aWeights  : HArray1OfReal;
-        aRational : Boolean from Standard)
-     returns BezierCurve from PGeom;
-        ---Purpose : Creates a non rational Bezier curve with a set of
-        --         poles aCurvePoles and a set of weights aPoleWeight.
-       ---Level: Internal 
-
-
-  Rational (me: mutable; aRational: Boolean from Standard);
-        ---Purpose : Set the value of the field rational with <aRational>.
-       ---Level: Internal 
-
-
-  Rational (me) returns Boolean;
-        ---Purpose : Returns the value of the field rational.
-       ---Level: Internal 
-
-
-  Poles (me: mutable; aPoles : HArray1OfPnt from PColgp);
-        ---Purpose : Set the value of the field poles with <aPoles>.
-       ---Level: Internal 
-
-
-  Poles (me) returns HArray1OfPnt from PColgp;
-        ---Purpose : Returns the value of the field poles.
-       ---Level: Internal 
-
-
-  Weights (me: mutable; aWeights : HArray1OfReal from PColStd);
-        ---Purpose : Set the value of the field weights.
-       ---Level: Internal 
-
-
-  Weights (me)returns HArray1OfReal from PColStd;
-        ---Purpose : Returns the value of the field weights.
-       ---Level: Internal 
-
-
-fields
-
-   rational : Boolean from Standard;
-   poles    : HArray1OfPnt  from PColgp;
-   weights  : HArray1OfReal from PColStd;
-
-end;
diff --git a/src/PGeom/PGeom_BezierCurve.cxx b/src/PGeom/PGeom_BezierCurve.cxx
deleted file mode 100644 (file)
index 9bd1eca..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_BezierCurve.ixx>
-
-//=======================================================================
-//function : PGeom_BezierCurve
-//purpose  : 
-//=======================================================================
-
-PGeom_BezierCurve::PGeom_BezierCurve()
-{}
-
-
-//=======================================================================
-//function : PGeom_BezierCurve
-//purpose  : 
-//=======================================================================
-
-PGeom_BezierCurve::PGeom_BezierCurve
-  (const Handle(PColgp_HArray1OfPnt)& aPoles,
-   const Handle(PColStd_HArray1OfReal)& aWeights,
-   const Standard_Boolean aRational) :
-   rational(aRational),
-   poles(aPoles),
-   weights(aWeights)
-{}
-
-
-//=======================================================================
-//function : Rational
-//purpose  : 
-//=======================================================================
-
-void  PGeom_BezierCurve::Rational(const Standard_Boolean aRational)
-{ rational = aRational; }
-
-
-//=======================================================================
-//function : Rational
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PGeom_BezierCurve::Rational() const 
-{ return rational; }
-
-
-//=======================================================================
-//function : Poles
-//purpose  : 
-//=======================================================================
-
-void  PGeom_BezierCurve::Poles
-  (const Handle(PColgp_HArray1OfPnt)& aPoles)
-{ poles = aPoles; }
-
-
-//=======================================================================
-//function : Poles
-//purpose  : 
-//=======================================================================
-
-Handle(PColgp_HArray1OfPnt)  PGeom_BezierCurve::Poles() const 
-{ return poles; }
-
-
-//=======================================================================
-//function : Weights
-//purpose  : 
-//=======================================================================
-
-void  PGeom_BezierCurve::Weights
-  (const Handle(PColStd_HArray1OfReal)& aWeights)
-{ weights = aWeights; }
-
-
-//=======================================================================
-//function : Weights
-//purpose  : 
-//=======================================================================
-
-Handle(PColStd_HArray1OfReal)
-     PGeom_BezierCurve::Weights() const 
-{ return weights; }
diff --git a/src/PGeom/PGeom_BezierSurface.cdl b/src/PGeom/PGeom_BezierSurface.cdl
deleted file mode 100644 (file)
index 614c9cb..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
--- Created on: 1993-03-02
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class BezierSurface from PGeom inherits BoundedSurface from PGeom
-
-        ---Purpose :   Defines a  rational  or  non  rational   Bezier
-        --         surface.  In this package the  degree of the Bezier
-        --         surface is limited to MaxDegree and must be greater
-        --         or equal to 1.
-        --         
-       ---See Also : BezierSurface from Geom.
-
-uses HArray2OfReal from PColStd,
-     HArray2OfPnt  from PColgp
-
-is
-
-
-  Create returns BezierSurface from PGeom;
-       ---Purpose: Creates a BezierSurface with default values.
-       ---Level: Internal 
-
-
-  Create (aURational : Boolean from Standard;
-         aVRational : Boolean from Standard;
-         aPoles     : HArray2OfPnt from PColgp;
-         aWeights   : HArray2OfReal from PColStd)
-     returns BezierSurface from PGeom;
-       ---Purpose: Creates a BezierSurface with these values.
-       ---Level: Internal 
-
-
-  Poles (me: mutable; aPoles: HArray2OfPnt from PColgp);
-       ---Purpose: Set the field poles with <aPoles>.
-       ---Level: Internal 
-
-
-
-  Poles (me) returns HArray2OfPnt from PColgp;
-       ---Purpose: Returns the value of the field poles.
-       ---Level: Internal 
-
-
-  Weights (me: mutable; aWeights : HArray2OfReal from PColStd);
-        ---Purpose : Set the value of the field weights with <aWeights>.
-       ---Level: Internal 
-
-  
-  Weights (me) returns HArray2OfReal from PColStd;
-        ---Purpose : Returns the value of the field weights.
-       ---Level: Internal 
-
-  
-  URational (me: mutable; aURational: Boolean from Standard);
-        ---Purpose : Set the value of the field uRational with <aURational>.
-       ---Level: Internal 
-
-
-  URational (me) returns Boolean from Standard;
-        ---Purpose : Returns the value of the field uRational.
-       ---Level: Internal 
-
-
-  VRational (me: mutable; aVRational: Boolean from Standard);
-        ---Purpose : Set the value of the field vRational with <aVRational>.
-       ---Level: Internal 
-
-
-  VRational (me) returns Boolean from Standard;
-        ---Purpose : Returns the value of the field vRational.
-       ---Level: Internal 
-
-
-
-fields
-
-   uRational : Boolean from Standard;
-   vRational : Boolean from Standard;
-   poles     : HArray2OfPnt from PColgp;
-   weights   : HArray2OfReal from PColStd;
-
-end;
diff --git a/src/PGeom/PGeom_BezierSurface.cxx b/src/PGeom/PGeom_BezierSurface.cxx
deleted file mode 100644 (file)
index 6895f7d..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_BezierSurface.ixx>
-
-//=======================================================================
-//function : PGeom_BezierSurface
-//purpose  : 
-//=======================================================================
-
-PGeom_BezierSurface::PGeom_BezierSurface()
-{}
-
-
-//=======================================================================
-//function : PGeom_BezierSurface
-//purpose  : 
-//=======================================================================
-
-PGeom_BezierSurface::PGeom_BezierSurface
-  (const Standard_Boolean aURational,
-   const Standard_Boolean aVRational,
-   const Handle(PColgp_HArray2OfPnt)& aPoles,
-   const Handle(PColStd_HArray2OfReal)& aWeights) :
-  uRational(aURational),
-  vRational(aVRational),
-  poles(aPoles),
-  weights(aWeights)
-{}
-
-
-//=======================================================================
-//function : Poles
-//purpose  : 
-//=======================================================================
-
-void  PGeom_BezierSurface::Poles(const Handle(PColgp_HArray2OfPnt)& aPoles)
-{ poles = aPoles; }
-
-
-//=======================================================================
-//function : Poles
-//purpose  : 
-//=======================================================================
-
-Handle(PColgp_HArray2OfPnt)  PGeom_BezierSurface::Poles() const 
-{ return poles; }
-
-
-//=======================================================================
-//function : Weights
-//purpose  : 
-//=======================================================================
-
-void  PGeom_BezierSurface::Weights(const Handle(PColStd_HArray2OfReal)& aWeights)
-{ weights = aWeights; }
-
-
-//=======================================================================
-//function : Weights
-//purpose  : 
-//=======================================================================
-
-Handle(PColStd_HArray2OfReal)  PGeom_BezierSurface::Weights() const 
-{ return weights; }
-
-
-//=======================================================================
-//function : URational
-//purpose  : 
-//=======================================================================
-
-void  PGeom_BezierSurface::URational(const Standard_Boolean aURational)
-{ uRational = aURational; }
-
-
-//=======================================================================
-//function : URational
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PGeom_BezierSurface::URational() const 
-{ return uRational; }
-
-
-//=======================================================================
-//function : VRational
-//purpose  : 
-//=======================================================================
-
-void  PGeom_BezierSurface::VRational(const Standard_Boolean aVRational)
-{ vRational = aVRational; }
-
-
-//=======================================================================
-//function : VRational
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PGeom_BezierSurface::VRational() const 
-{ return vRational; }
diff --git a/src/PGeom/PGeom_BoundedCurve.cdl b/src/PGeom/PGeom_BoundedCurve.cdl
deleted file mode 100644 (file)
index 576887e..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
--- Created on: 1993-02-22
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class BoundedCurve from PGeom inherits Curve from PGeom
-
-        ---Purpose : Defines a bounded  curve, with finite arc length.
-        --         The curve is limited with its parametric values.
-        --         
-       ---See Also BoundedCurve from Geom.
-
-is
-
-end;
diff --git a/src/PGeom/PGeom_BoundedCurve.cxx b/src/PGeom/PGeom_BoundedCurve.cxx
deleted file mode 100644 (file)
index 172dcfa..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_BoundedCurve.ixx>
diff --git a/src/PGeom/PGeom_BoundedSurface.cdl b/src/PGeom/PGeom_BoundedSurface.cdl
deleted file mode 100644 (file)
index ddc3df7..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
--- Created on: 1993-03-02
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class BoundedSurface from PGeom inherits Surface from PGeom
-
-        ---Purpose : Defines a  non  infinite surface limited by its U
-        --         isoparametric and V  isoparametric curves which are
-        --         the boundaries of the surface.
-        --  
-       ---See Also : BoundedSurface from Geom.
-
-is
-
-end;
-
-
-
diff --git a/src/PGeom/PGeom_BoundedSurface.cxx b/src/PGeom/PGeom_BoundedSurface.cxx
deleted file mode 100644 (file)
index 8d4829e..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_BoundedSurface.ixx>
diff --git a/src/PGeom/PGeom_CartesianPoint.cdl b/src/PGeom/PGeom_CartesianPoint.cdl
deleted file mode 100644 (file)
index 2e89a35..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
--- Created on: 1993-02-22
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class CartesianPoint from PGeom inherits Point from PGeom
-
-        ---Purpose : Point defined  in  3D space with its 3  cartesian
-        --         coordinates X, Y, Z.
-        --         
-       ---See Also : CartesianPoint from Geom.
-
-uses Pnt from gp
-
-is
-
-
-  Create returns CartesianPoint from PGeom;
-        ---Purpose : Returns a CartesianPoint with default values..
-       ---Level: Internal 
-
-
-  Create (aPnt : Pnt from gp) returns CartesianPoint from PGeom;
-        ---Purpose : Returns a CartesianPoint built with <aPnt>.
-       ---Level: Internal 
-
-
-  Pnt (me : mutable; aPnt : Pnt from gp);
-        ---Purpose : Set the field pnt.
-       ---Level: Internal 
-
-
-  Pnt (me)  returns Pnt;
-        ---Purpose : Returns the value of the field pnt.
-       ---Level: Internal 
-
-
-fields
-
-    pnt : Pnt from gp;
-
-end;
diff --git a/src/PGeom/PGeom_CartesianPoint.cxx b/src/PGeom/PGeom_CartesianPoint.cxx
deleted file mode 100644 (file)
index df09085..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_CartesianPoint.ixx>
-
-//=======================================================================
-//function : PGeom_CartesianPoint
-//purpose  : 
-//=======================================================================
-
-PGeom_CartesianPoint::PGeom_CartesianPoint ()
-{}
-
-
-//=======================================================================
-//function : PGeom_CartesianPoint
-//purpose  : 
-//=======================================================================
-
-PGeom_CartesianPoint::PGeom_CartesianPoint (const gp_Pnt& aPnt) :
-       pnt(aPnt)
-{}
-
-
-//=======================================================================
-//function : Pnt
-//purpose  : 
-//=======================================================================
-
-void  PGeom_CartesianPoint::Pnt(const gp_Pnt& aPnt)
-{ pnt = aPnt; }
-
-
-//=======================================================================
-//function : Pnt
-//purpose  : 
-//=======================================================================
-
-gp_Pnt  PGeom_CartesianPoint::Pnt() const 
-{ return pnt; }
diff --git a/src/PGeom/PGeom_Circle.cdl b/src/PGeom/PGeom_Circle.cdl
deleted file mode 100644 (file)
index 159e9e5..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
--- Created on: 1993-02-22
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Circle from PGeom inherits Conic from PGeom
-
-        ---Purpose : Defines a circle in 3D space.
-        --         
-       ---See Also : Circle from Geom.
-
-uses Ax2 from gp
-
-is
-
-
-  Create returns Circle from PGeom;
-       ---Purpose : Creates a circle with default values.
-       ---Level: Internal 
-
-
-  Create (aPosition : Ax2 from gp; aRadius : Real from Standard)
-    returns Circle from PGeom;
-        ---Purpose : Creates a Circle with <aPosition> and <aRadius> as field
-        --         values.
-       ---Level: Internal 
-
-
-  Radius (me : mutable; aRadius : Real from Standard);
-       ---Purpose: Set the value of the field radius with <aRadius>.
-       ---Level: Internal 
-
-
-  Radius (me) returns Real from Standard;
-       ---Purpose: Returns the value of the field radius.
-       ---Level: Internal 
-
-
-fields
-
-  radius : Real from Standard;
-
-end;
-
diff --git a/src/PGeom/PGeom_Circle.cxx b/src/PGeom/PGeom_Circle.cxx
deleted file mode 100644 (file)
index 56b73a8..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_Circle.ixx>
-
-//=======================================================================
-//function : PGeom_Circle
-//purpose  : 
-//=======================================================================
-
-PGeom_Circle::PGeom_Circle()
-{}
-
-
-//=======================================================================
-//function : PGeom_Circle
-//purpose  : 
-//=======================================================================
-
-PGeom_Circle::PGeom_Circle
-  (const gp_Ax2& aPosition,
-   const Standard_Real aRadius) :
-  PGeom_Conic(aPosition),
-  radius(aRadius)
-{}
-
-
-//=======================================================================
-//function : Radius
-//purpose  : 
-//=======================================================================
-
-void  PGeom_Circle::Radius(const Standard_Real aRadius)
-{ radius = aRadius; }
-
-
-//=======================================================================
-//function : Radius
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom_Circle::Radius() const 
-{ return radius; }
diff --git a/src/PGeom/PGeom_Conic.cdl b/src/PGeom/PGeom_Conic.cdl
deleted file mode 100644 (file)
index 43b42a0..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
--- Created on: 1993-02-22
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class Conic from PGeom inherits Curve from PGeom
-
-        ---Purpose : Defines the general   characteristics of a  conic
-        --         curve : Ellipse, Circle, Hyperbola, Parabola.
-        --  
-       ---See Also : Conic from Geom
-
-uses  Ax2 from gp
-
-is
-
-
-    Initialize;
-       ---Purpose: Initializes the field(s) with default value(s).
-       ---Level: Internal 
-
-
-    Initialize(aPosition: Ax2 from gp);
-       ---Purpose: Initializes the field position with <aPosition>.
-       ---Level: Internal 
-
-
-  Position (me : mutable; aPosition : Ax2 from gp);
-        ---Purpose : Set the value of the field position with <aPosition>.
-       ---Level: Internal 
-
-
-  Position (me)   returns Ax2 from gp;
-        ---Purpose : Returns the value of the field <position>.
-       ---Level: Internal 
-
-
-fields
-
-  position : Ax2 from gp is protected;
-
-end;
diff --git a/src/PGeom/PGeom_Conic.cxx b/src/PGeom/PGeom_Conic.cxx
deleted file mode 100644 (file)
index ba4b451..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_Conic.ixx>
-
-//=======================================================================
-//function : PGeom_Conic
-//purpose  : 
-//=======================================================================
-
-PGeom_Conic::PGeom_Conic(const gp_Ax2& aPosition) :
-       position(aPosition)
-{}
-
-
-//=======================================================================
-//function : PGeom_Conic
-//purpose  : 
-//=======================================================================
-
-PGeom_Conic::PGeom_Conic()
-{}
-
-
-//=======================================================================
-//function : Position
-//purpose  : 
-//=======================================================================
-
-void  PGeom_Conic::Position(const gp_Ax2& aPosition)
-{ position = aPosition; }
-
-
-//=======================================================================
-//function : Position
-//purpose  : 
-//=======================================================================
-
-gp_Ax2  PGeom_Conic::Position() const 
-{ return position; }
diff --git a/src/PGeom/PGeom_ConicalSurface.cdl b/src/PGeom/PGeom_ConicalSurface.cdl
deleted file mode 100644 (file)
index e32702e..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
--- Created on: 1993-03-02
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ConicalSurface from PGeom inherits ElementarySurface from PGeom
-
-        ---Purpose : This class defines the infinite conical surface .
-        -- 
-       ---See Also : ConicalSurface from Geom.
-
-uses Ax3      from gp
-
-is
-
-
-  Create returns ConicalSurface from PGeom;
-       ---Purpose: Creates a ConicalSurface with default values.
-       ---Level: Internal 
-
-
-  Create (aPosition  : Ax3 from gp;
-         aRadius    : Real from Standard;
-         aSemiAngle : Real from Standard)
-     returns ConicalSurface from PGeom;
-       ---Purpose: Creates a ConicalSurface with these values.
-       ---Level: Internal 
-
-
-  Radius (me: mutable; aRadius: Real from Standard);
-        ---Purpose : Set the field radius with <aRadius>.
-       ---Level: Internal 
-
-
-  Radius (me) returns Real from Standard;
-        ---Purpose : Returns the value of the field radius.
-       ---Level: Internal 
-     
-     
-  SemiAngle (me : mutable; aSemiAngle : Real from Standard);
-        ---Purpose : Set the value of the field semiAngle with <aSemiAngle>.
-       ---Level: Internal 
-
-
-  SemiAngle (me) returns Real from Standard;
-        --- Purpose : Returns the value of the field semiAngle.
-       ---Level: Internal 
-
-
-fields
-
-  radius    : Real from Standard;
-  semiAngle : Real from Standard;
-
-end;
diff --git a/src/PGeom/PGeom_ConicalSurface.cxx b/src/PGeom/PGeom_ConicalSurface.cxx
deleted file mode 100644 (file)
index c85a1d0..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_ConicalSurface.ixx>
-
-//=======================================================================
-//function : PGeom_ConicalSurface
-//purpose  : 
-//=======================================================================
-
-PGeom_ConicalSurface::PGeom_ConicalSurface()
-{}
-
-
-//=======================================================================
-//function : PGeom_ConicalSurface
-//purpose  : 
-//=======================================================================
-
-PGeom_ConicalSurface::PGeom_ConicalSurface
-  (const gp_Ax3& aPosition,
-   const Standard_Real aRadius,
-   const Standard_Real aSemiAngle) :
-  PGeom_ElementarySurface(aPosition),
-  radius(aRadius),
-  semiAngle(aSemiAngle)
-{}
-
-
-//=======================================================================
-//function : Radius
-//purpose  : 
-//=======================================================================
-
-void  PGeom_ConicalSurface::Radius(const Standard_Real aRadius)
-{ radius = aRadius; }
-
-
-//=======================================================================
-//function : Radius
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom_ConicalSurface::Radius() const 
-{ return radius; }
-
-
-//=======================================================================
-//function : SemiAngle
-//purpose  : 
-//=======================================================================
-
-void  PGeom_ConicalSurface::SemiAngle(const Standard_Real aSemiAngle)
-{ semiAngle = aSemiAngle; }
-
-
-//=======================================================================
-//function : SemiAngle
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom_ConicalSurface::SemiAngle() const 
-{ return semiAngle; }
diff --git a/src/PGeom/PGeom_Curve.cdl b/src/PGeom/PGeom_Curve.cdl
deleted file mode 100644 (file)
index 287d583..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
--- Created on: 1993-02-22
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class Curve from PGeom inherits Geometry from PGeom
-
-         --- Purpose :
-         --  Defines the general abstract class curve in the 3D space.
-         --  
-        ---See Also : Curve from Geom.
-
-is
-
-end;
diff --git a/src/PGeom/PGeom_Curve.cxx b/src/PGeom/PGeom_Curve.cxx
deleted file mode 100644 (file)
index acf73be..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_Curve.ixx>
diff --git a/src/PGeom/PGeom_CylindricalSurface.cdl b/src/PGeom/PGeom_CylindricalSurface.cdl
deleted file mode 100644 (file)
index 4f75023..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
--- Created on: 1993-03-02
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class CylindricalSurface from PGeom inherits ElementarySurface from PGeom
-
-        ---Purpose : This class defines the infinite cylindrical surface.
-        --  
-       ---See Also : CylindricalSurface from Geom.
-
-uses Ax3      from gp
-
-is
-
-
-  Create returns CylindricalSurface from PGeom;
-       ---Purpose: Creates a CylindricalSurface with default values.
-       ---Level: Internal 
-
-
-  Create (aPosition : Ax3 from gp;
-         aRadius    : Real from Standard)
-     returns CylindricalSurface from PGeom;
-       ---Purpose: Creates a CylindricalSurface with these values.
-       ---Level: Internal 
-
-
-  Radius (me: mutable; aRadius: Real from Standard);
-        ---Purpose : Set the field radius with <aRadius>.
-       ---Level: Internal 
-
-
-  Radius (me) returns Real from Standard;
-        ---Purpose : Returns the value of the field radius.
-       ---Level: Internal 
-     
-     
-fields
-
-  radius : Real from Standard;
-        
-end;
diff --git a/src/PGeom/PGeom_CylindricalSurface.cxx b/src/PGeom/PGeom_CylindricalSurface.cxx
deleted file mode 100644 (file)
index d6cf95c..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_CylindricalSurface.ixx>
-
-//=======================================================================
-//function : PGeom_CylindricalSurface
-//purpose  : 
-//=======================================================================
-
-PGeom_CylindricalSurface::PGeom_CylindricalSurface()
-{}
-
-
-//=======================================================================
-//function : PGeom_CylindricalSurface
-//purpose  : 
-//=======================================================================
-
-PGeom_CylindricalSurface::PGeom_CylindricalSurface
-  (const gp_Ax3& aPosition,
-   const Standard_Real aRadius) :
-  PGeom_ElementarySurface(aPosition),
-  radius(aRadius)
-{}
-
-
-//=======================================================================
-//function : Radius
-//purpose  : 
-//=======================================================================
-
-void  PGeom_CylindricalSurface::Radius(const Standard_Real aRadius)
-{ radius = aRadius; }
-
-
-//=======================================================================
-//function : Radius
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom_CylindricalSurface::Radius() const 
-{ return radius; }
diff --git a/src/PGeom/PGeom_Direction.cdl b/src/PGeom/PGeom_Direction.cdl
deleted file mode 100644 (file)
index a9d7baa..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
--- Created on: 1993-02-22
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Direction from PGeom inherits Vector from PGeom
-
-        ---Purpose :  The class Direction  specifies a vector that  is
-        --         never null. It is a unit vector.
-        --         
-       ---See Also : Direction from Geom.
-
-uses  Vec from gp
-
-is
-
-
-  Create returns Direction from PGeom;
-        --- Purpose : Creates a unit vector with default values.
-       ---Level: Internal 
-
-
-  Create (aVec: Vec from gp) returns Direction from PGeom;
-        ---Purpose : Create a unit vector with <aVec>.
-       ---Level: Internal 
-
-
-end;
diff --git a/src/PGeom/PGeom_Direction.cxx b/src/PGeom/PGeom_Direction.cxx
deleted file mode 100644 (file)
index 2aaccd6..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_Direction.ixx>
-
-//=======================================================================
-//function : PGeom_Direction
-//purpose  : 
-//=======================================================================
-
-PGeom_Direction::PGeom_Direction()
-{}
-
-
-//=======================================================================
-//function : PGeom_Direction
-//purpose  : 
-//=======================================================================
-
-PGeom_Direction::PGeom_Direction(const gp_Vec& aVec) :
-       PGeom_Vector(aVec)
-{}
diff --git a/src/PGeom/PGeom_ElementarySurface.cdl b/src/PGeom/PGeom_ElementarySurface.cdl
deleted file mode 100644 (file)
index 4cda0e1..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
--- Created on: 1993-03-02
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class ElementarySurface from PGeom inherits Surface from PGeom
-
-        ---Purpose :  This class defines  the general behaviour of the
-        --         following    elementary      surfaces    :   Plane,
-        --         CylindricalSurface,                 ConicalSurface,
-        --         SphericalSurface, ToroidalSurface.
-        --  
-        --  All these entities are located in 3D space with an axis
-        --  placement (Location point, XAxis, YAxis, ZAxis). It is 
-        --  their local coordinate system.
-        --  
-       ---See Also : ElementarySurface from Geom.
-
-uses Ax3     from gp
-
-is
-
-
-    Initialize;
-       ---Purpose: Initializes the field(s) with default value(s).
-       ---Level: Internal 
-
-
-    Initialize(aPosition : Ax3 from gp);
-       ---Purpose: Initializes the fields with these values.
-       ---Level: Internal 
-
-
-  Position (me: mutable; aPosition : Ax3 from gp);
-       ---Purpose :  Set the field position with <aPosition>.
-       ---Level: Internal 
-
-
-  Position (me)  returns Ax3 from gp;
-        --- Purpose : Returns the value of the field position.
-       ---Level: Internal 
-
-
-fields
-
-  position               : Ax3     from gp      is protected;
-
-end;
diff --git a/src/PGeom/PGeom_ElementarySurface.cxx b/src/PGeom/PGeom_ElementarySurface.cxx
deleted file mode 100644 (file)
index 34f6ed4..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_ElementarySurface.ixx>
-
-//=======================================================================
-//function : PGeom_ElementarySurface
-//purpose  : 
-//=======================================================================
-
-PGeom_ElementarySurface::PGeom_ElementarySurface()
-{}
-
-
-//=======================================================================
-//function : PGeom_ElementarySurface
-//purpose  : 
-//=======================================================================
-
-PGeom_ElementarySurface::PGeom_ElementarySurface
-  (const gp_Ax3& aPosition) :
-  position(aPosition)
-{}
-
-
-//=======================================================================
-//function : Position
-//purpose  : 
-//=======================================================================
-
-void  PGeom_ElementarySurface::Position(const gp_Ax3& aPosition)
-{ position = aPosition; }
-
-
-//=======================================================================
-//function : Position
-//purpose  : 
-//=======================================================================
-
-gp_Ax3  PGeom_ElementarySurface::Position() const 
-{ return position; }
-
-
diff --git a/src/PGeom/PGeom_Ellipse.cdl b/src/PGeom/PGeom_Ellipse.cdl
deleted file mode 100644 (file)
index e66f4c9..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
--- Created on: 1993-02-22
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Ellipse from PGeom inherits Conic from PGeom
-
-        ---Purpose :  Defines an ellipse in 3D space. 
-        --         
-       ---See Also : Ellipse from Geom.
-
-uses Ax2 from gp
-
-is
-
-
-  Create returns Ellipse from PGeom;
-        ---Purpose : Creates an ellipse with default values.
-       ---Level: Internal 
-
-
-  Create (aPosition : Ax2 from gp;
-           aMajorRadius, aMinorRadius : Real from Standard)
-     returns Ellipse from PGeom;
-       ---Purpose :      Creates   an Ellipse      with  <aPosition>,
-       --         <aMajorRadius> and <aMinorRadius> as  field values.
-       --         The major radius of  the ellipse is  on the "XAxis"
-       --         and  the minor radius   of the ellipse   is  on the
-       --         "YAxis".
-       ---Level: Internal 
-
-
-  MajorRadius (me : mutable; aMajorRadius : Real from Standard);
-       ---Purpose: Set the value of the field majorRadius with <aMajorRadius>.
-       ---Level: Internal 
-
-
-  MajorRadius (me)  returns Real from Standard;
-       ---Purpose: Returns the value of the field majorRadius.
-       ---Level: Internal 
-
-
-  MinorRadius (me : mutable; aMinorRadius : Real from Standard);
-       ---Purpose: Set the value of the field minorRadius with <aMinorRadius>.
-       ---Level: Internal 
-
-
-  MinorRadius (me)  returns Real from Standard;
-       ---Purpose: Returns the value of the field minorRadius.
-       ---Level: Internal 
-
-
-fields
-
-     majorRadius : Real from Standard;
-     minorRadius : Real from Standard;
-
-end;
-
diff --git a/src/PGeom/PGeom_Ellipse.cxx b/src/PGeom/PGeom_Ellipse.cxx
deleted file mode 100644 (file)
index 05e3af1..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_Ellipse.ixx>
-
-//=======================================================================
-//function : PGeom_Ellipse
-//purpose  : 
-//=======================================================================
-
-PGeom_Ellipse::PGeom_Ellipse()
-{}
-
-
-//=======================================================================
-//function : PGeom_Ellipse
-//purpose  : 
-//=======================================================================
-
-PGeom_Ellipse::PGeom_Ellipse
-  (const gp_Ax2& aPosition,
-   const Standard_Real aMajorRadius,
-   const Standard_Real aMinorRadius) :
-  PGeom_Conic(aPosition),
-  majorRadius(aMajorRadius),
-  minorRadius(aMinorRadius)
-{}
-
-
-//=======================================================================
-//function : MajorRadius
-//purpose  : 
-//=======================================================================
-
-void  PGeom_Ellipse::MajorRadius(const Standard_Real aMajorRadius)
-{ majorRadius = aMajorRadius; }
-
-
-//=======================================================================
-//function : MajorRadius
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom_Ellipse::MajorRadius() const 
-{ return majorRadius; }
-
-
-//=======================================================================
-//function : MinorRadius
-//purpose  : 
-//=======================================================================
-
-void  PGeom_Ellipse::MinorRadius(const Standard_Real aMinorRadius)
-{ minorRadius = aMinorRadius; }
-
-
-//=======================================================================
-//function : MinorRadius
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom_Ellipse::MinorRadius() const 
-{ return minorRadius; }
diff --git a/src/PGeom/PGeom_Geometry.cdl b/src/PGeom/PGeom_Geometry.cdl
deleted file mode 100644 (file)
index 5fda9e1..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
--- Created on: 1993-02-22
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class Geometry from PGeom inherits Persistent
-
-        ---Purpose : The  general abstract class  Geometry in 3D space
-        --         describes the common behaviour of all the geometric
-        --         entities.
-        --        
-       ---See Also : Geometry from Geom.
-
-
-is
-
-end;
diff --git a/src/PGeom/PGeom_Geometry.cxx b/src/PGeom/PGeom_Geometry.cxx
deleted file mode 100644 (file)
index 28bbec1..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_Geometry.ixx>
diff --git a/src/PGeom/PGeom_Hyperbola.cdl b/src/PGeom/PGeom_Hyperbola.cdl
deleted file mode 100644 (file)
index 937f863..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
--- Created on: 1993-02-22
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Hyperbola from PGeom inherits Conic from PGeom
-
-        ---Purpose :Defines the main branch of an hyperbola.
-        --         
-       ---See Also : Hyperbola from Geom.
-
-uses Ax2 from gp
-
-is
-
-
-  Create returns Hyperbola from PGeom;
-        ---Purpose :Creates an Hyperbola with default values.
-       ---Level: Internal 
-
-
-  Create (aPosition : Ax2 from gp;
-         aMajorRadius, aMinorRadius : Real from Standard)
-     returns Hyperbola from PGeom;
-       ---Purpose :  Creates an   Hyperbola    with      <aPosition>,
-       --         <aMajorRadius> and  <aMinorRadius> as field values.
-       --         The major  radius of the hyperbola is  on the XAxis
-       --         and   the minor  radius is  on    the YAxis of  the
-       --         hyperbola.
-       ---Level: Internal 
-
-
-  MajorRadius (me : mutable; aMajorRadius : Real from Standard);
-       ---Purpose: Set the value of the field majorRadius with <aMajorRadius>.
-       ---Level: Internal 
-
-
-  MajorRadius (me)  returns Real from Standard;
-       ---Purpose: Returns the value of the field majorRadius.
-       ---Level: Internal 
-
-
-  MinorRadius (me : mutable; aMinorRadius : Real from Standard);
-       ---Purpose: Set the value of the field minorRadius with <aMinorRadius>.
-       ---Level: Internal 
-
-
-  MinorRadius (me)  returns Real from Standard;
-       ---Purpose: Returns the value of the field minorRadius.
-       ---Level: Internal 
-
-
-fields
-
-     majorRadius : Real from Standard;
-     minorRadius : Real from Standard;
-
-end;
-
diff --git a/src/PGeom/PGeom_Hyperbola.cxx b/src/PGeom/PGeom_Hyperbola.cxx
deleted file mode 100644 (file)
index bb96b72..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_Hyperbola.ixx>
-
-//=======================================================================
-//function : PGeom_Hyperbola
-//purpose  : 
-//=======================================================================
-
-PGeom_Hyperbola::PGeom_Hyperbola()
-{}
-
-
-//=======================================================================
-//function : PGeom_Hyperbola
-//purpose  : 
-//=======================================================================
-
-PGeom_Hyperbola::PGeom_Hyperbola
-  (const gp_Ax2& aPosition,
-   const Standard_Real aMajorRadius,
-   const Standard_Real aMinorRadius) :
-  PGeom_Conic(aPosition),
-  majorRadius(aMajorRadius),
-  minorRadius(aMinorRadius)
-{}
-
-
-//=======================================================================
-//function : MajorRadius
-//purpose  : 
-//=======================================================================
-
-void  PGeom_Hyperbola::MajorRadius(const Standard_Real aMajorRadius)
-{ majorRadius = aMajorRadius; }
-
-
-//=======================================================================
-//function : MajorRadius
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom_Hyperbola::MajorRadius() const 
-{ return majorRadius; }
-
-
-//=======================================================================
-//function : MinorRadius
-//purpose  : 
-//=======================================================================
-
-void  PGeom_Hyperbola::MinorRadius(const Standard_Real aMinorRadius)
-{ minorRadius = aMinorRadius; }
-
-
-//=======================================================================
-//function : MinorRadius
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom_Hyperbola::MinorRadius() const 
-{ return minorRadius; }
diff --git a/src/PGeom/PGeom_Line.cdl b/src/PGeom/PGeom_Line.cdl
deleted file mode 100644 (file)
index 4f194a7..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
--- Created on: 1993-02-22
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Line from PGeom inherits Curve from PGeom
-
-        ---Purpose :   Defines   an   infinite   line.            The
-        --         parametrization range is ]-infinite, +infinite[.
-        --         
-       ---See Also : Line from Geom.
-
-uses Ax1 from gp
-
-is
-
-
-  Create returns Line;
-        ---Purpose : Creates a line with default values.
-       ---Level: Internal 
-
-
-  Create (aPosition : Ax1 from gp)   returns Line;
-        ---Purpose : Creates   a  line  located    in  3D space   with
-        --         <aPosition>.  The Location   of <aPosition> is  the
-        --         origin of the line.
-       ---Level: Internal 
-
-
-  Position (me : mutable; aPosition : Ax1 from gp);
-        --- Purpose : Set the value of the field position with <aPosition>.
-       ---Level: Internal 
-
-
-  Position (me) returns Ax1 from gp;
-        --- Purpose : Returns the value of the field position.
-       ---Level: Internal 
-
-
-fields
-
-  position : Ax1 from gp;
-
-end;
diff --git a/src/PGeom/PGeom_Line.cxx b/src/PGeom/PGeom_Line.cxx
deleted file mode 100644 (file)
index 0d10df6..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_Line.ixx>
-
-//=======================================================================
-//function : PGeom_Line
-//purpose  : 
-//=======================================================================
-
-PGeom_Line::PGeom_Line()
-{}
-
-
-//=======================================================================
-//function : PGeom_Line
-//purpose  : 
-//=======================================================================
-
-PGeom_Line::PGeom_Line(const gp_Ax1& aPosition) :
-       position(aPosition)
-{}
-
-
-//=======================================================================
-//function : Position
-//purpose  : 
-//=======================================================================
-
-void  PGeom_Line::Position(const gp_Ax1& aPosition)
-{ position = aPosition; }
-
-
-//=======================================================================
-//function : Position
-//purpose  : 
-//=======================================================================
-
-gp_Ax1  PGeom_Line::Position() const
-{ return position; }
diff --git a/src/PGeom/PGeom_OffsetCurve.cdl b/src/PGeom/PGeom_OffsetCurve.cdl
deleted file mode 100644 (file)
index 52ff9ba..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
--- Created on: 1993-03-01
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class OffsetCurve from PGeom inherits Curve from PGeom
-
-        ---Purpose :
-        --  This class implements the basis services for an offset curve
-        --  in 3D space.
-        --  
-       ---See Also : OffsetCurve from Geom.
-
-uses Dir      from gp,
-     Curve    from PGeom
-
-
-is
-    
-
-  Create returns OffsetCurve from PGeom;
-    ---Purpose: Creates an OffsetCurve with default values.
-       ---Level: Internal 
-
-
-  Create (
-           aBasisCurve : Curve from PGeom;
-           aOffsetValue : Real from Standard;
-           aOffsetDirection : Dir from gp)
-     returns OffsetCurve from PGeom;
-        ---Purpose : <aBasisCurve> is  the basis curve, <aOffsetValue>
-        --         is the distance between <me> and the basis curve at
-        --         any point.    <aOffsetDirection>  defines the fixed
-        --         reference direction (offset direction).
-       ---Level: Internal 
-
-
-  BasisCurve (me : mutable; aBasisCurve : Curve from PGeom);
-       ---Purpose: Set the field basisCurve with <aBasisCurve>.
-       ---Level: Internal 
-      
-
-  BasisCurve (me) returns Curve from PGeom; 
-        ---Purpose : The basis curve can be an offset curve.
-       ---Level: Internal 
-
-
-  OffsetDirection (me : mutable; aOffsetDirection : Dir from gp);
-        ---Purpose : Set the value of  the field offsetDirection with
-        --  <aOffsetDirection>.
-       ---Level: Internal 
-
-
-  OffsetDirection (me)  returns Dir from gp;
-        ---Purpose : Returns the direction of offset.
-       ---Level: Internal 
-
-
-  OffsetValue (me : mutable; aOffsetValue : Real from Standard);
-        ---Purpose : Set the field offsetValue with <aOffsetValue>.
-       ---Level: Internal 
-
-
-  OffsetValue (me) returns Real from Standard;
-        ---Purpose : Returns the value of the field offsetValue.
-       ---Level: Internal 
-
-
-fields
-
-  basisCurve      : Curve from PGeom;
-  offsetDirection : Dir from gp;
-  offsetValue     : Real from Standard;
-
-end;
diff --git a/src/PGeom/PGeom_OffsetCurve.cxx b/src/PGeom/PGeom_OffsetCurve.cxx
deleted file mode 100644 (file)
index c18bc10..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-// Created on: 1993-03-04
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_OffsetCurve.ixx>
-
-//=======================================================================
-//function : PGeom_OffsetCurve
-//purpose  : 
-//=======================================================================
-
-PGeom_OffsetCurve::PGeom_OffsetCurve()
-{}
-
-
-//=======================================================================
-//function : PGeom_OffsetCurve
-//purpose  : 
-//=======================================================================
-
-PGeom_OffsetCurve::PGeom_OffsetCurve
-  (const Handle(PGeom_Curve)& aBasisCurve,
-   const Standard_Real aOffsetValue,
-   const gp_Dir& aOffsetDirection) :
-  basisCurve(aBasisCurve),
-  offsetDirection(aOffsetDirection),
-  offsetValue(aOffsetValue)
-{}
-
-
-//=======================================================================
-//function : BasisCurve
-//purpose  : 
-//=======================================================================
-
-void  PGeom_OffsetCurve::BasisCurve(const Handle(PGeom_Curve)& aBasisCurve)
-{ basisCurve = aBasisCurve; }
-
-
-//=======================================================================
-//function : BasisCurve
-//purpose  : 
-//=======================================================================
-
-Handle(PGeom_Curve)  PGeom_OffsetCurve::BasisCurve() const 
-{ return basisCurve; }
-
-
-//=======================================================================
-//function : OffsetDirection
-//purpose  : 
-//=======================================================================
-
-void  PGeom_OffsetCurve::OffsetDirection(const gp_Dir& aOffsetDirection)
-{ offsetDirection = aOffsetDirection; }
-
-
-//=======================================================================
-//function : OffsetDirection
-//purpose  : 
-//=======================================================================
-
-gp_Dir  PGeom_OffsetCurve::OffsetDirection() const 
-{ return offsetDirection; }
-
-
-//=======================================================================
-//function : OffsetValue
-//purpose  : 
-//=======================================================================
-
-void  PGeom_OffsetCurve::OffsetValue(const Standard_Real aOffsetValue)
-{ offsetValue = aOffsetValue; }
-
-
-//=======================================================================
-//function : OffsetValue
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom_OffsetCurve::OffsetValue() const 
-{ return offsetValue; }
diff --git a/src/PGeom/PGeom_OffsetSurface.cdl b/src/PGeom/PGeom_OffsetSurface.cdl
deleted file mode 100644 (file)
index 79f5152..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
--- Created on: 1993-03-02
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class OffsetSurface from PGeom inherits Surface from PGeom
-
-        ---Purpose : This class implements  the basis services for  an
-        --         offset surface in 3D space.
-        --         
-
-uses Surface from PGeom
-
-is
-
-
-  Create returns OffsetSurface from PGeom;
-    ---Purpose: Creates an OffsetSurface with default values.
-       ---Level: Internal 
-
-
-  Create (
-           aBasisSurface : Surface from PGeom;
-           aOffsetValue : Real from Standard)
-     returns OffsetSurface from PGeom;
-        ---Purpose :  <aBasisSurface>    is  the   basis      surface,
-        --         <aOffsetValue> is the distance between <me> and the
-        --         basis  surface at any  point.    <aOffsetDirection>
-        --         defines  the  fixed  reference  direction   (offset
-        --         direction).
-       ---Level: Internal 
-
-
-  BasisSurface (me : mutable; aBasisSurface : Surface from PGeom);
-       ---Purpose: Set the field basisSurface with <aBasisSurface>.
-       ---Level: Internal 
-      
-
-  BasisSurface (me) returns Surface from PGeom;
-        ---Purpose : The basis surface can be an offset surface.
-       ---Level: Internal 
-
-
-  OffsetValue (me : mutable; aOffsetValue : Real from Standard);
-        ---Purpose : Set the field offsetValue with <aOffsetValue>.
-       ---Level: Internal 
-
-
-  OffsetValue (me) returns Real from Standard;
-        ---Purpose : Returns the value of the field offsetValue.
-       ---Level: Internal 
-
-
-fields
-
-  basisSurface : Surface from PGeom;
-  offsetValue  : Real from Standard;
-
-end;
diff --git a/src/PGeom/PGeom_OffsetSurface.cxx b/src/PGeom/PGeom_OffsetSurface.cxx
deleted file mode 100644 (file)
index 36a773c..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-// Created on: 1993-03-04
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_OffsetSurface.ixx>
-
-//=======================================================================
-//function : PGeom_OffsetSurface
-//purpose  : 
-//=======================================================================
-
-PGeom_OffsetSurface::PGeom_OffsetSurface()
-{}
-
-
-//=======================================================================
-//function : PGeom_OffsetSurface
-//purpose  : 
-//=======================================================================
-
-PGeom_OffsetSurface::PGeom_OffsetSurface
-  (const Handle(PGeom_Surface)& aBasisSurface,
-   const Standard_Real aOffsetValue) :
-  basisSurface(aBasisSurface),
-  offsetValue(aOffsetValue)
-{}
-
-
-//=======================================================================
-//function : BasisSurface
-//purpose  : 
-//=======================================================================
-
-void  PGeom_OffsetSurface::BasisSurface
-  (const Handle(PGeom_Surface)& aBasisSurface)
-{ basisSurface = aBasisSurface; }
-
-
-//=======================================================================
-//function : BasisSurface
-//purpose  : 
-//=======================================================================
-
-Handle(PGeom_Surface)  PGeom_OffsetSurface::BasisSurface() const 
-{ return basisSurface; }
-
-
-//=======================================================================
-//function : OffsetValue
-//purpose  : 
-//=======================================================================
-
-void  PGeom_OffsetSurface::OffsetValue(const Standard_Real aOffsetValue)
-{ offsetValue = aOffsetValue; }
-
-
-//=======================================================================
-//function : OffsetValue
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom_OffsetSurface::OffsetValue() const 
-{ return offsetValue; }
diff --git a/src/PGeom/PGeom_Parabola.cdl b/src/PGeom/PGeom_Parabola.cdl
deleted file mode 100644 (file)
index 3a1d5a3..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
--- Created on: 1993-02-22
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Parabola from PGeom
-inherits Conic from PGeom 
-
-        --- Purpose :
-        --  Defines the parabola in the parameterization range  :
-        --  ]-infinite,+infinite[
-        --  
-       --  See Also : Parabola from Geom.
-
-uses  Ax2 from gp 
-
-is
-
-
-  Create returns Parabola from PGeom;
-        ---Purpose : Creates a parabola with default values.
-       ---Level: Internal 
-
-
-  Create (aPosition : Ax2 from gp; aFocalLength : Real)
-    returns Parabola from PGeom;
-       ---Purpose : Creates a Parabola with <aPosition> and <aFocalLength>
-       --         as field values.
-       ---Level: Internal 
-
-
-  FocalLength (me : mutable; aFocalLength : Real);
-        ---Purpose :   Set the value  of   the  field focalLength with
-        --         <aFocalLength>.
-       ---Level: Internal 
-
-
-  FocalLength (me)  returns Real;
-       ---Purpose : Retruns the value of the field focalLength.
-       ---Level: Internal 
-
-
-fields
-
-  focalLength : Real;
-
-end;
diff --git a/src/PGeom/PGeom_Parabola.cxx b/src/PGeom/PGeom_Parabola.cxx
deleted file mode 100644 (file)
index 823736a..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-// Created on: 1993-03-04
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_Parabola.ixx>
-
-//=======================================================================
-//function : PGeom_Parabola
-//purpose  : 
-//=======================================================================
-
-PGeom_Parabola::PGeom_Parabola()
-{}
-
-
-//=======================================================================
-//function : PGeom_Parabola
-//purpose  : 
-//=======================================================================
-
-PGeom_Parabola::PGeom_Parabola
-  (const gp_Ax2& aPosition,
-   const Standard_Real aFocalLength) :
-  PGeom_Conic(aPosition),
-  focalLength(aFocalLength)
-{}
-
-
-//=======================================================================
-//function : FocalLength
-//purpose  : 
-//=======================================================================
-
-void  PGeom_Parabola::FocalLength(const Standard_Real aFocalLength)
-{ focalLength = aFocalLength; }
-
-
-//=======================================================================
-//function : FocalLength
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom_Parabola::FocalLength() const 
-{ return focalLength; }
diff --git a/src/PGeom/PGeom_Plane.cdl b/src/PGeom/PGeom_Plane.cdl
deleted file mode 100644 (file)
index cfbc139..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
--- Created on: 1993-03-02
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Plane from PGeom inherits ElementarySurface from PGeom
-
-        ---Purpose : This class describes the infinite plane.
-        --         
-       ---See Also : Plane from Geom.
-
-
-uses Ax3      from gp
-
-is
-
-
-  Create returns Plane from PGeom;
-       ---Purpose: Create a plane with default values.
-       ---Level: Internal 
-
-
-  Create (aPosition : Ax3 from gp)
-       returns Plane from PGeom;
-       ---Purpose: Creates a Plane with these field values.
-       ---Level: Internal 
-
-
-end;
-
diff --git a/src/PGeom/PGeom_Plane.cxx b/src/PGeom/PGeom_Plane.cxx
deleted file mode 100644 (file)
index c52348e..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// Created on: 1993-03-04
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_Plane.ixx>
-
-//=======================================================================
-//function : PGeom_Plane
-//purpose  : 
-//=======================================================================
-
-PGeom_Plane::PGeom_Plane()
-{}
-
-
-//=======================================================================
-//function : PGeom_Plane
-//purpose  : 
-//=======================================================================
-
-PGeom_Plane::PGeom_Plane
-  (const gp_Ax3& aPosition) :
-  PGeom_ElementarySurface(aPosition)
-{}
diff --git a/src/PGeom/PGeom_Point.cdl b/src/PGeom/PGeom_Point.cdl
deleted file mode 100644 (file)
index de7c8af..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
--- Created on: 1993-02-22
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class Point from PGeom inherits Geometry from PGeom
-
-       ---Purpose: This abstract  class describe  common behaviour of
-       --          all points.
-       --          
-       ---See Also : Point from Geom.
-
-is
-
-end;
diff --git a/src/PGeom/PGeom_Point.cxx b/src/PGeom/PGeom_Point.cxx
deleted file mode 100644 (file)
index f7b7a6d..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Created on: 1993-03-04
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_Point.ixx>
diff --git a/src/PGeom/PGeom_RectangularTrimmedSurface.cdl b/src/PGeom/PGeom_RectangularTrimmedSurface.cdl
deleted file mode 100644 (file)
index 7058ad6..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
--- Created on: 1993-03-02
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class RectangularTrimmedSurface from PGeom inherits BoundedSurface from PGeom
-
-        ---Purpose : Defines a portion of a surface (patch) limited by
-        --         two parametric   values in the U   direction (Umin,
-        --         Umax) and in the V direction (Vmin, Vmax).
-        --         
-       ---See Also : RectangularTrimmedSurface from Geom.
-
-uses Surface  from PGeom
-
-is
-
-
-   Create returns RectangularTrimmedSurface from PGeom;
-       ---Purpose: Creates a RectangularTrimmedSurface with default values.
-       ---Level: Internal 
-
-
-   Create (
-           aBasisSurface : Surface from PGeom;
-           aFirstU     : Real from Standard;
-           aLastU      : Real from Standard;
-           aFirstV     : Real from Standard;
-           aLastV      : Real from Standard)
-           returns RectangularTrimmedSurface from PGeom;
-       ---Purpose: Creates a RectangularTrimmedSurface with these values.
-       ---Level: Internal 
-
-
-  BasisSurface (me: mutable; aBasisSurface: Surface from PGeom);
-        ---Purpose :  Set the value  of  the  field basisSurface  with
-        --         <aBasisSurface>.
-       ---Level: Internal 
-
-
-  BasisSurface (me) returns Surface from PGeom;
-        ---Purpose : Returns the value of the field basisSurface.
-       ---Level: Internal 
-
-
-  FirstU(me : mutable; aFirstU: Real from Standard);
-        ---Purpose : Set the value of the field firstU with <aFirstU>.
-       ---Level: Internal 
-
-
-  FirstU(me) returns  Real from Standard;
-        ---Purpose : Returns the value of the field firstU.
-       ---Level: Internal 
-
-
-  LastU(me : mutable; aLastU: Real from Standard);
-        ---Purpose : Set the value of the field lastU with <aLastU>.
-       ---Level: Internal 
-
-
-  LastU(me) returns Real from Standard;
-        ---Purpose : Returns the value of the field lastU.
-       ---Level: Internal 
-
-
-  FirstV(me : mutable; aFirstV: Real);
-        ---Purpose : Set the value of the field firstV with <aFirstV>.
-       ---Level: Internal 
-
-
-  FirstV(me) returns  Real from Standard;
-        ---Purpose : Returns the value of the field firstV.
-       ---Level: Internal 
-
-
-  LastV(me : mutable; aLastV: Real);
-        ---Purpose : Set the value of the field lastV with <aLastV>.
-       ---Level: Internal 
-
-
-  LastV(me) returns Real from Standard;
-        ---Purpose : Returns the value of the field lastV.
-       ---Level: Internal 
-
-
-fields
-
-   basisSurface : Surface from PGeom;
-   firstU     : Real from Standard;
-   lastU      : Real from Standard;
-   firstV     : Real from Standard;
-   lastV      : Real from Standard;
-
-end;
diff --git a/src/PGeom/PGeom_RectangularTrimmedSurface.cxx b/src/PGeom/PGeom_RectangularTrimmedSurface.cxx
deleted file mode 100644 (file)
index 0695897..0000000
+++ /dev/null
@@ -1,135 +0,0 @@
-// Created on: 1993-03-04
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_RectangularTrimmedSurface.ixx>
-
-//=======================================================================
-//function : PGeom_RectangularTrimmedSurface
-//purpose  : 
-//=======================================================================
-
-PGeom_RectangularTrimmedSurface::PGeom_RectangularTrimmedSurface()
-{}
-
-
-//=======================================================================
-//function : PGeom_RectangularTrimmedSurface
-//purpose  : 
-//=======================================================================
-
-PGeom_RectangularTrimmedSurface::PGeom_RectangularTrimmedSurface
-  (const Handle(PGeom_Surface)& aBasisSurface,
-   const Standard_Real aFirstU,
-   const Standard_Real aLastU,
-   const Standard_Real aFirstV,
-   const Standard_Real aLastV) :
-  basisSurface(aBasisSurface),
-  firstU(aFirstU),
-  lastU(aLastU),
-  firstV(aFirstV),
-  lastV(aLastV)
-{}
-
-
-//=======================================================================
-//function : BasisSurface
-//purpose  : 
-//=======================================================================
-
-void  PGeom_RectangularTrimmedSurface::BasisSurface
-  (const Handle(PGeom_Surface)& aBasisSurface)
-{ basisSurface = aBasisSurface;}
-
-
-//=======================================================================
-//function : BasisSurface
-//purpose  : 
-//=======================================================================
-
-Handle(PGeom_Surface)  PGeom_RectangularTrimmedSurface::BasisSurface() const 
-{ return basisSurface; }
-
-
-//=======================================================================
-//function : FirstU
-//purpose  : 
-//=======================================================================
-
-void  PGeom_RectangularTrimmedSurface::FirstU(const Standard_Real aFirstU)
-{ firstU = aFirstU; }
-
-
-//=======================================================================
-//function : FirstU
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom_RectangularTrimmedSurface::FirstU() const 
-{ return firstU; }
-
-
-//=======================================================================
-//function : LastU
-//purpose  : 
-//=======================================================================
-
-void  PGeom_RectangularTrimmedSurface::LastU(const Standard_Real aLastU)
-{ lastU = aLastU; }
-
-
-//=======================================================================
-//function : LastU
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom_RectangularTrimmedSurface::LastU() const 
-{ return lastU; }
-
-
-//=======================================================================
-//function : FirstV
-//purpose  : 
-//=======================================================================
-
-void  PGeom_RectangularTrimmedSurface::FirstV(const Standard_Real aFirstV)
-{ firstV = aFirstV; }
-
-
-//=======================================================================
-//function : FirstV
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom_RectangularTrimmedSurface::FirstV() const 
-{ return firstV; }
-
-
-//=======================================================================
-//function : LastV
-//purpose  : 
-//=======================================================================
-
-void  PGeom_RectangularTrimmedSurface::LastV(const Standard_Real aLastV)
-{ lastV = aLastV; }
-
-
-//=======================================================================
-//function : LastV
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom_RectangularTrimmedSurface::LastV() const 
-{ return lastV; }
diff --git a/src/PGeom/PGeom_SphericalSurface.cdl b/src/PGeom/PGeom_SphericalSurface.cdl
deleted file mode 100644 (file)
index 3109576..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
--- Created on: 1993-03-02
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class SphericalSurface from PGeom inherits ElementarySurface from PGeom
-
-        ---Purpose : This class defines the spherical surface.
-        --  
-       ---See Also : SphericalSurface from Geom.
-
-
-uses Ax3      from gp
-
-is
-
-
-  Create returns SphericalSurface from PGeom;
-       ---Purpose: Creates a SphericalSurface with default values.
-       ---Level: Internal 
-
-
-  Create (aPosition : Ax3 from gp;
-         aRadius    : Real from Standard)
-     returns SphericalSurface from PGeom;
-       ---Purpose: Creates a SphericalSurface with these values.
-       ---Level: Internal 
-
-
-  Radius (me: mutable; aRadius: Real from Standard);
-        ---Purpose : Set the field radius with <aRadius>.
-       ---Level: Internal 
-
-
-  Radius (me) returns Real from Standard;
-        ---Purpose : Returns the value of the field radius.
-       ---Level: Internal 
-     
-     
-fields 
-
-  radius : Real from Standard;
-
-
-end;
diff --git a/src/PGeom/PGeom_SphericalSurface.cxx b/src/PGeom/PGeom_SphericalSurface.cxx
deleted file mode 100644 (file)
index a556734..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-// Created on: 1993-03-04
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_SphericalSurface.ixx>
-
-//=======================================================================
-//function : PGeom_SphericalSurface
-//purpose  : 
-//=======================================================================
-
-PGeom_SphericalSurface::PGeom_SphericalSurface()
-{}
-
-
-//=======================================================================
-//function : PGeom_SphericalSurface
-//purpose  : 
-//=======================================================================
-
-PGeom_SphericalSurface::PGeom_SphericalSurface
-  (const gp_Ax3& aPosition,
-   const Standard_Real aRadius) :
-  PGeom_ElementarySurface(aPosition),
-  radius(aRadius)
-{}
-
-
-//=======================================================================
-//function : Radius
-//purpose  : 
-//=======================================================================
-
-void  PGeom_SphericalSurface::Radius(const Standard_Real aRadius)
-{ radius = aRadius; }
-
-
-//=======================================================================
-//function : Radius
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom_SphericalSurface::Radius() const 
-{ return radius; }
diff --git a/src/PGeom/PGeom_Surface.cdl b/src/PGeom/PGeom_Surface.cdl
deleted file mode 100644 (file)
index 07cd88a..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
--- Created on: 1993-03-02
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class Surface from PGeom inherits Geometry from PGeom
-
-        ---Purpose : Defines the general class Surface.
-        --  
-       ---See Also : Surface from Geom
-
-is
-      
-
-end;
diff --git a/src/PGeom/PGeom_Surface.cxx b/src/PGeom/PGeom_Surface.cxx
deleted file mode 100644 (file)
index ca8cc58..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Created on: 1993-03-04
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_Surface.ixx>
diff --git a/src/PGeom/PGeom_SurfaceOfLinearExtrusion.cdl b/src/PGeom/PGeom_SurfaceOfLinearExtrusion.cdl
deleted file mode 100644 (file)
index 20cc29a..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
--- Created on: 1993-03-02
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class SurfaceOfLinearExtrusion from PGeom inherits SweptSurface from PGeom
-
-        ---Purpose : Generalised cylinder. This surface is obtained by
-        --         sweeping a curve in a given direction.
-        --         
-       ---See Also : SurfaceOfLinearExtrusion from Geom.
-
-uses Dir         from gp,
-     Curve       from PGeom,
-     SurfaceForm from GeomAbs,
-     Shape       from GeomAbs
-
-is
-
-
-  Create returns SurfaceOfLinearExtrusion from PGeom;
-       ---Purpose: Creates a SurfaceOfLinearExtrusion with default values.
-       ---Level: Internal 
-
-
-  Create (
-           aBasisCurve : Curve from PGeom;
-           aDirection  : Dir from gp)
-     returns SurfaceOfLinearExtrusion from PGeom;
-       ---Purpose: Creates a SurfaceOfLinearExtrusion with these values.
-       ---Level: Internal 
-
-
-end;  
diff --git a/src/PGeom/PGeom_SurfaceOfLinearExtrusion.cxx b/src/PGeom/PGeom_SurfaceOfLinearExtrusion.cxx
deleted file mode 100644 (file)
index 2bfc28d..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-// Created on: 1993-03-04
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_SurfaceOfLinearExtrusion.ixx>
-
-//=======================================================================
-//function : PGeom_SurfaceOfLinearExtrusion
-//purpose  : 
-//=======================================================================
-
-PGeom_SurfaceOfLinearExtrusion::PGeom_SurfaceOfLinearExtrusion()
-{}
-
-
-//=======================================================================
-//function : PGeom_SurfaceOfLinearExtrusion
-//purpose  : 
-//=======================================================================
-
-PGeom_SurfaceOfLinearExtrusion::PGeom_SurfaceOfLinearExtrusion
-  (const Handle(PGeom_Curve)& aBasisCurve,
-   const gp_Dir& aDirection) :
-  PGeom_SweptSurface(aBasisCurve, aDirection)
-{}
diff --git a/src/PGeom/PGeom_SurfaceOfRevolution.cdl b/src/PGeom/PGeom_SurfaceOfRevolution.cdl
deleted file mode 100644 (file)
index f61257d..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
--- Created on: 1993-03-02
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class SurfaceOfRevolution from PGeom inherits SweptSurface from PGeom
-
-        ---Purpose :  This  class defines    a   complete   surface of
-        --         revolution.  The surface is  obtained by rotating a
-        --         curve  a  complete revolution  about an axis.   The
-        --         curve and the axis must be in the same plane.
-        --         
-       ---See Also : SurfaceOfRevolution from Geom.
-
-uses Dir         from gp,
-     Pnt         from gp,
-     Curve       from PGeom,
-     SurfaceForm from GeomAbs,
-     Shape       from GeomAbs
-
-is
-
-
-  Create returns SurfaceOfRevolution from PGeom;
-       ---Purpose: Creates a SurfaceOfRevolution with default values.
-       ---Level: Internal 
-
-
-  Create (
-           aBasisCurve : Curve from PGeom;
-           aDirection  : Dir from gp;
-           aLocation   : Pnt from gp)
-     returns SurfaceOfRevolution from PGeom;
-       ---Purpose: Creates a SurfaceOfRevolution with these values.
-       ---Level: Internal 
-
-
-  Location (me : mutable; aLocation : Pnt from gp);
-        ---Purpose : Set the value of the field location with <aLocation>.
-       ---Level: Internal 
-
-
-  Location (me) returns Pnt from gp;
-        ---Purpose : Returns the value of the field location.
-       ---Level: Internal 
-
-
-fields
-
-  location  : Pnt from gp;
-
-end;
diff --git a/src/PGeom/PGeom_SurfaceOfRevolution.cxx b/src/PGeom/PGeom_SurfaceOfRevolution.cxx
deleted file mode 100644 (file)
index 4d17112..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-// Created on: 1993-03-04
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_SurfaceOfRevolution.ixx>
-
-//=======================================================================
-//function : PGeom_SurfaceOfRevolution
-//purpose  : 
-//=======================================================================
-
-PGeom_SurfaceOfRevolution::PGeom_SurfaceOfRevolution()
-{}
-
-
-//=======================================================================
-//function : PGeom_SurfaceOfRevolution
-//purpose  : 
-//=======================================================================
-
-PGeom_SurfaceOfRevolution::PGeom_SurfaceOfRevolution
-  (const Handle(PGeom_Curve)& aBasisCurve,
-   const gp_Dir& aDirection,
-   const gp_Pnt& aLocation) :
-  PGeom_SweptSurface(aBasisCurve, aDirection),
-  location(aLocation)
-{}
-
-
-//=======================================================================
-//function : Location
-//purpose  : 
-//=======================================================================
-
-void  PGeom_SurfaceOfRevolution::Location(const gp_Pnt& aLocation)
-{ location = aLocation; }
-
-
-//=======================================================================
-//function : Location
-//purpose  : 
-//=======================================================================
-
-gp_Pnt  PGeom_SurfaceOfRevolution::Location() const 
-{ return location; }
diff --git a/src/PGeom/PGeom_SweptSurface.cdl b/src/PGeom/PGeom_SweptSurface.cdl
deleted file mode 100644 (file)
index c75ea7e..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
--- Created on: 1993-03-02
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class SweptSurface from PGeom inherits Surface from PGeom
-
-        ---Purpose : A  swept surface  is  one that is constructed  by
-        --         sweeping a curve by another curve.
-        --         
-       ---See Also : SweptSurface from Geom.
-
-
-uses Dir         from gp,
-     Curve       from PGeom,
-     SurfaceForm from GeomAbs, 
-     Shape       from GeomAbs
-
-is
-
-
-    Initialize;
-       ---Purpose: Initializes the field(s) with default value(s).
-       ---Level: Internal 
-
-
-    Initialize(aBasisCurve: Curve from PGeom;
-              aDirection: Dir from gp);
-       ---Purpose: Initialize the fields with these values.
-       ---Level: Internal 
-
-
-  BasisCurve (me: mutable; aBasisCurve: Curve from PGeom);
-        ---Purpose : Set the value of the field basisCurve with <aBasisCurve>.
-       ---Level: Internal 
-
-
-  BasisCurve (me) returns Curve from PGeom;
-        ---Purpose : Returns the value of the field basisCurve.
-       ---Level: Internal 
-
-
-  Direction (me: mutable; aDirection: Dir from gp);
-        ---Purpose : Set the value of the field direction with <aDirection>.
-       ---Level: Internal 
-
-
-  Direction (me) returns Dir from gp;
-        ---Purpose : Returns the value of the field direction.
-       ---Level: Internal 
-
-
-fields
-
-  basisCurve : Curve       from PGeom   is protected;
-  direction  : Dir         from gp      is protected;
-
-end;
diff --git a/src/PGeom/PGeom_SweptSurface.cxx b/src/PGeom/PGeom_SweptSurface.cxx
deleted file mode 100644 (file)
index 4e7f502..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-// Created on: 1993-03-04
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_SweptSurface.ixx>
-
-//=======================================================================
-//function : PGeom_SweptSurface
-//purpose  : 
-//=======================================================================
-
-PGeom_SweptSurface::PGeom_SweptSurface()
-{}
-
-
-//=======================================================================
-//function : PGeom_SweptSurface
-//purpose  : 
-//=======================================================================
-
-PGeom_SweptSurface::PGeom_SweptSurface
-  (const Handle(PGeom_Curve)& aBasisCurve,
-   const gp_Dir& aDirection) :
-  basisCurve(aBasisCurve),
-  direction(aDirection)
-{}
-
-
-//=======================================================================
-//function : BasisCurve
-//purpose  : 
-//=======================================================================
-
-void  PGeom_SweptSurface::BasisCurve
-  (const Handle(PGeom_Curve)& aBasisCurve)
-{ basisCurve = aBasisCurve; }
-
-
-//=======================================================================
-//function : BasisCurve
-//purpose  : 
-//=======================================================================
-
-Handle(PGeom_Curve)  PGeom_SweptSurface::BasisCurve() const 
-{ return basisCurve; }
-
-
-//=======================================================================
-//function : Direction
-//purpose  : 
-//=======================================================================
-
-void  PGeom_SweptSurface::Direction(const gp_Dir& aDirection)
-{ direction = aDirection; }
-
-
-//=======================================================================
-//function : Direction
-//purpose  : 
-//=======================================================================
-
-gp_Dir  PGeom_SweptSurface::Direction() const 
-{ return direction; }
diff --git a/src/PGeom/PGeom_ToroidalSurface.cdl b/src/PGeom/PGeom_ToroidalSurface.cdl
deleted file mode 100644 (file)
index c929509..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
--- Created on: 1993-03-02
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ToroidalSurface from PGeom inherits ElementarySurface from PGeom
-
-        ---Purpose : This class defines the complete toroidal surface.
-        --
-       ---See Also : ToroidalSurface from Geom.
-
-
-uses Ax3          from gp
-
-is
-
-
-
-  Create returns ToroidalSurface from PGeom;
-       ---Purpose: Creates a ToroidalSurface with default values.
-       ---Level: Internal 
-
-
-  Create (aPosition : Ax3 from gp;
-         aMajorRadius: Real from Standard;
-         aMinorRadius: Real from Standard)
-     returns ToroidalSurface from PGeom;
-       ---Purpose: Creates a ToroidalSurface with these values.
-       ---Level: Internal 
-
-
-  MajorRadius (me: mutable; aMajorRadius: Real from Standard);
-        ---Purpose : Set the field majorRadius with <aMajorRadius>.
-       ---Level: Internal 
-
-
-  MajorRadius (me) returns Real from Standard;
-        ---Purpose : Returns the value of the field majorRadius.
-       ---Level: Internal 
-     
-     
-  MinorRadius (me: mutable; aMinorRadius: Real from Standard);
-        ---Purpose : Set the field minorRadius with <aMinorRadius>.
-       ---Level: Internal 
-
-
-  MinorRadius (me) returns Real from Standard;
-        ---Purpose : Returns the value of the field minorRadius.
-       ---Level: Internal 
-     
-     
-fields
-
-  majorRadius : Real from Standard;
-  minorRadius : Real from Standard;
-
-end;
diff --git a/src/PGeom/PGeom_ToroidalSurface.cxx b/src/PGeom/PGeom_ToroidalSurface.cxx
deleted file mode 100644 (file)
index a473a9d..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-// Created on: 1993-03-04
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_ToroidalSurface.ixx>
-
-//=======================================================================
-//function : PGeom_ToroidalSurface
-//purpose  : 
-//=======================================================================
-
-PGeom_ToroidalSurface::PGeom_ToroidalSurface()
-{}
-
-
-//=======================================================================
-//function : PGeom_ToroidalSurface
-//purpose  : 
-//=======================================================================
-
-PGeom_ToroidalSurface::PGeom_ToroidalSurface
-  (const gp_Ax3& aPosition,
-   const Standard_Real aMajorRadius,
-   const Standard_Real aMinorRadius) :
-  PGeom_ElementarySurface(aPosition),
-  majorRadius(aMajorRadius),
-  minorRadius(aMinorRadius)
-{}
-
-
-//=======================================================================
-//function : MajorRadius
-//purpose  : 
-//=======================================================================
-
-void  PGeom_ToroidalSurface::MajorRadius(const Standard_Real aMajorRadius)
-{ majorRadius = aMajorRadius; }
-
-
-//=======================================================================
-//function : MajorRadius
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom_ToroidalSurface::MajorRadius() const 
-{ return majorRadius; }
-
-
-//=======================================================================
-//function : MinorRadius
-//purpose  : 
-//=======================================================================
-
-void  PGeom_ToroidalSurface::MinorRadius(const Standard_Real aMinorRadius)
-{ minorRadius = aMinorRadius; }
-
-
-//=======================================================================
-//function : MinorRadius
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom_ToroidalSurface::MinorRadius() const 
-{ return minorRadius; }
diff --git a/src/PGeom/PGeom_Transformation.cdl b/src/PGeom/PGeom_Transformation.cdl
deleted file mode 100644 (file)
index 809d9a4..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
--- Created on: 1993-02-22
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Transformation from PGeom inherits Persistent from Standard
-
-        ---Purpose :  The    class Transformation  allows   to  create
-        --         Translation, Rotation,   Symmetry,     Scaling  and
-        --         complex transformations obtained by  combination of
-        --         the  previous elementary   transformations.     The
-        --         restriction to  these basic  transformations allows
-        --         us to be sure that   an object  will never   change
-        --         nature.
-        --         
-       ---See Also : Transformation from Geom.
-
-
-uses Trsf from gp
-
-is
-
-
-  Create returns Transformation from PGeom;
-        ---Purpose : Creates a transformation with default values.
-       ---Level: Internal 
-
-
-  Create (aTrsf : Trsf from gp) returns Transformation from PGeom;
-        ---Purpose :  Creates a transformation with <aTrsf>.
-       ---Level: Internal 
-
-
-  Trsf (me : mutable; aTrsf : Trsf from gp);
-        ---Purpose : Set the field trsf with <aTrsf>.
-       ---Level: Internal 
-
-
-  Trsf (me)  returns Trsf from gp;
-        ---Purpose : Returns the value of the field trsf.
-       ---Level: Internal 
-
-
-fields
-
-  trsf : Trsf from gp;
-
-end;
diff --git a/src/PGeom/PGeom_Transformation.cxx b/src/PGeom/PGeom_Transformation.cxx
deleted file mode 100644 (file)
index 4ca9197..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-// Created on: 1993-03-04
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_Transformation.ixx>
-
-//=======================================================================
-//function : PGeom_Transformation
-//purpose  : 
-//=======================================================================
-
-PGeom_Transformation::PGeom_Transformation()
-{}
-
-
-//=======================================================================
-//function : PGeom_Transformation
-//purpose  : 
-//=======================================================================
-
-PGeom_Transformation::PGeom_Transformation(const gp_Trsf& aTrsf) :
-       trsf(aTrsf)
-{}
-
-
-//=======================================================================
-//function : Trsf
-//purpose  : 
-//=======================================================================
-
-void  PGeom_Transformation::Trsf(const gp_Trsf& aTrsf)
-{ trsf = aTrsf; }
-
-
-//=======================================================================
-//function : Trsf
-//purpose  : 
-//=======================================================================
-
-gp_Trsf  PGeom_Transformation::Trsf() const 
-{ return trsf; }
diff --git a/src/PGeom/PGeom_TrimmedCurve.cdl b/src/PGeom/PGeom_TrimmedCurve.cdl
deleted file mode 100644 (file)
index 91a44f6..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
--- Created on: 1993-03-01
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TrimmedCurve from PGeom inherits BoundedCurve from PGeom
-
-        ---Purpose :
-        --  Defines a portion of a curve limited by two values of 
-        --  parameters inside the parametric domain of the curve.
-        --  
-       ---See Also : TrimmedCurve from Geom.
-
-
-uses Curve from PGeom
-
-is
-
-
-  Create returns TrimmedCurve from PGeom;
-       ---Purpose: Creates a TrimmedCurve with default values.
-       ---Level: Internal 
-
-
-  Create (
-       aBasisCurve: Curve from PGeom;
-       aFirstU, aLastU: Real from Standard)
-     returns TrimmedCurve from PGeom;
-        ---Purpose : Creates a TrimmedCurve with these field values.
-       ---Level: Internal 
-
-
-  FirstU(me : mutable; aFirstU: Real from Standard);
-        ---Purpose : Set the value of the field firstU with <aFirstU>.
-       ---Level: Internal 
-
-
-  FirstU(me) returns Real from Standard;
-        ---Purpose : Returns the value of the field firstU.
-       ---Level: Internal 
-
-
-  LastU(me : mutable; aLastU: Real from Standard);
-        ---Purpose : Set the value of the field lastU with <aLastU>.
-       ---Level: Internal 
-
-
-  LastU(me) returns Real from Standard;
-        ---Purpose : Returns the value of the field lastU.
-       ---Level: Internal 
-
-
-  BasisCurve (me: mutable; aBasisCurve: Curve from PGeom);
-        ---Purpose : Set the value of the field basisCurve with <aBasisCurve>.
-        --  This curve can be a trimmed curve.
-       ---Level: Internal 
-
-
-  BasisCurve (me) returns Curve from PGeom;
-        ---Purpose : Returns the value of the field basisCurve. 
-        --  This curve can be a trimmed curve.
-       ---Level: Internal 
-
-
-fields
-
-    basisCurve : Curve from PGeom;
-    firstU     : Real from Standard;
-    lastU      : Real from Standard;
-
-end;
diff --git a/src/PGeom/PGeom_TrimmedCurve.cxx b/src/PGeom/PGeom_TrimmedCurve.cxx
deleted file mode 100644 (file)
index f707e75..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-// Created on: 1993-03-04
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_TrimmedCurve.ixx>
-
-//=======================================================================
-//function : PGeom_TrimmedCurve
-//purpose  : 
-//=======================================================================
-
-PGeom_TrimmedCurve::PGeom_TrimmedCurve()
-{}
-
-
-//=======================================================================
-//function : PGeom_TrimmedCurve
-//purpose  : 
-//=======================================================================
-
-PGeom_TrimmedCurve::PGeom_TrimmedCurve
-  (const Handle(PGeom_Curve)& aBasisCurve,
-   const Standard_Real aFirstU,
-   const Standard_Real aLastU) :
-  basisCurve(aBasisCurve),
-  firstU(aFirstU),
-  lastU(aLastU)
-{}
-
-
-//=======================================================================
-//function : FirstU
-//purpose  : 
-//=======================================================================
-
-void  PGeom_TrimmedCurve::FirstU(const Standard_Real aFirstU)
-{ firstU = aFirstU; }
-
-
-//=======================================================================
-//function : FirstU
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom_TrimmedCurve::FirstU() const 
-{ return firstU; }
-
-
-//=======================================================================
-//function : LastU
-//purpose  : 
-//=======================================================================
-
-void  PGeom_TrimmedCurve::LastU(const Standard_Real aLastU)
-{ lastU = aLastU; }
-
-
-//=======================================================================
-//function : LastU
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom_TrimmedCurve::LastU() const 
-{ return lastU; }
-
-
-//=======================================================================
-//function : BasisCurve
-//purpose  : 
-//=======================================================================
-
-void  PGeom_TrimmedCurve::BasisCurve(const Handle(PGeom_Curve)& aBasisCurve)
-{ basisCurve = aBasisCurve; }
-
-
-//=======================================================================
-//function : BasisCurve
-//purpose  : 
-//=======================================================================
-
-Handle(PGeom_Curve)  PGeom_TrimmedCurve::BasisCurve() const 
-{ return basisCurve; }
diff --git a/src/PGeom/PGeom_Vector.cdl b/src/PGeom/PGeom_Vector.cdl
deleted file mode 100644 (file)
index 6a52a08..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
--- Created on: 1993-02-22
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class Vector from PGeom inherits Geometry from PGeom
-
-        ---Purpose :  Defines a vector in 3D space.
-        --  It can be a Direction (unitary vector) or a vector
-        --  with magnitude.
-        --  
-       ---See Also : Vector from Geom.
-
-uses Vec from gp
-
-is
-
-
-    Initialize;
-       ---Purpose: Initializes the field(s) with default value(s).
-       ---Level: Internal 
-
-
-    Initialize(aVec: Vec from gp);
-       ---Purpose: Initializes the field vec with <aVec>.
-       ---Level: Internal 
-
-
-  Vec (me: mutable; aVec: Vec from gp);
-        ---Purpose : Set the field vec.
-       ---Level: Internal 
-
-
-  Vec (me)  returns Vec from gp;
-        ---Purpose : Returns the value of the field vec.
-       ---Level: Internal 
-
-
-fields
-
-  vec : Vec from gp is protected;
-
-end;
diff --git a/src/PGeom/PGeom_Vector.cxx b/src/PGeom/PGeom_Vector.cxx
deleted file mode 100644 (file)
index ee3d6f7..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-// Created on: 1993-03-04
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_Vector.ixx>
-
-//=======================================================================
-//function : PGeom_Vector
-//purpose  : 
-//=======================================================================
-
-PGeom_Vector::PGeom_Vector(const gp_Vec& aVec) :
-       vec(aVec)
-{}
-
-
-//=======================================================================
-//function : PGeom_Vector
-//purpose  : 
-//=======================================================================
-
-PGeom_Vector::PGeom_Vector()
-{}
-
-
-//=======================================================================
-//function : Vec
-//purpose  : 
-//=======================================================================
-
-void  PGeom_Vector::Vec(const gp_Vec& aVec)
-{ vec = aVec; }
-
-
-//=======================================================================
-//function : Vec
-//purpose  : 
-//=======================================================================
-
-gp_Vec  PGeom_Vector::Vec() const 
-{ return vec; }
diff --git a/src/PGeom/PGeom_VectorWithMagnitude.cdl b/src/PGeom/PGeom_VectorWithMagnitude.cdl
deleted file mode 100644 (file)
index e238bc8..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
--- Created on: 1993-02-22
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class VectorWithMagnitude from PGeom inherits Vector from PGeom
-
-        ---Purpose : Defines a vector  with  magnitude.  A vector with
-        --         magnitude can have a zero length.
-        --         
-       ---See Also : VectorWithMagnitude from Geom.
-
-uses Vec from gp
-
-is
-
-
-  Create returns VectorWithMagnitude;
-        ---Purpose : Creates a VectorWithMagnitude with default values.
-       ---Level: Internal 
-
-
-  Create (aVec : Vec) returns VectorWithMagnitude;
-        ---Purpose : Creates a VectorWithMagnitude with <aVec>.
-       ---Level: Internal 
-
-
-end;
diff --git a/src/PGeom/PGeom_VectorWithMagnitude.cxx b/src/PGeom/PGeom_VectorWithMagnitude.cxx
deleted file mode 100644 (file)
index e63796f..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-// Created on: 1993-03-04
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom_VectorWithMagnitude.ixx>
-
-//=======================================================================
-//function : PGeom_VectorWithMagnitude
-//purpose  : 
-//=======================================================================
-
-PGeom_VectorWithMagnitude::PGeom_VectorWithMagnitude()
-{}
-
-
-//=======================================================================
-//function : PGeom_VectorWithMagnitude
-//purpose  : 
-//=======================================================================
-
-PGeom_VectorWithMagnitude::PGeom_VectorWithMagnitude(const gp_Vec& aVec) :
-       PGeom_Vector(aVec)
-{}
diff --git a/src/PGeom2d/PGeom2d.cdl b/src/PGeom2d/PGeom2d.cdl
deleted file mode 100644 (file)
index 01765a4..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
--- Created on: 1993-04-06
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package PGeom2d 
-
-        ---Purpose :  This  package contains   the definition   of the
-        --         geometric persistent objects such as point, vector,
-        --         axis placement, curves, surfaces.
-        --  
-        --  All these entities are defined in 2D space.
-        --  This package gives the possibility :
-        --    . to create geometric objects with given or default field values,
-        --    . to set field values,
-        --    . to get field values.
-
-
-uses PColStd, gp, PColgp, GeomAbs
-
-is
-
-
-  class Transformation from PGeom2d;
-
-
-  deferred class Geometry from PGeom2d;
-
-
-     deferred class Point from PGeom2d;
-              class  CartesianPoint from PGeom2d;
-
-
-     deferred class Vector from PGeom2d;
-              class Direction from PGeom2d;
-              class VectorWithMagnitude from PGeom2d;
-     
-
-     class AxisPlacement from PGeom2d;
-
-
-     deferred class Curve from PGeom2d;
-
-              class Line from PGeom2d;
-
-              deferred class Conic from PGeom2d;
-                       class Circle from PGeom2d;
-                       class Ellipse from PGeom2d;
-                       class Hyperbola from PGeom2d;
-                       class Parabola from PGeom2d;
-
-              deferred class BoundedCurve from PGeom2d;
-                       class BezierCurve from PGeom2d;
-                       class BSplineCurve from PGeom2d;
-                       class TrimmedCurve from PGeom2d;
-
-              class  OffsetCurve from PGeom2d;
-
-end PGeom2d;
diff --git a/src/PGeom2d/PGeom2d_AxisPlacement.cdl b/src/PGeom2d/PGeom2d_AxisPlacement.cdl
deleted file mode 100644 (file)
index a88aec7..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
--- Created on: 1993-04-06
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class AxisPlacement from PGeom2d inherits Geometry from PGeom2d
-
-        ---Purpose :   An  axis  placement  defines a  local cartesian
-        --         coordinate  system and   can be used to  locate  an
-        --         entity in 3D space.
-        --  
-
-uses Ax2d from gp
-
-is
-
-
-    Create returns AxisPlacement from PGeom2d;
-       ---Purpose: Initializes the field(s) with default value(s).
-       ---Level: Internal 
-
-
-    Create(aAxis: Ax2d from gp) returns AxisPlacement from PGeom2d;
-       ---Purpose: Initializes the field axis with <aAxis>.
-       ---Level: Internal 
-
-
-  Axis (me : mutable; aAxis : Ax2d from gp);
-        --- Purpose : Set the field axis with <aAxis>.
-       ---Level: Internal 
-
-
-  Axis (me)  returns Ax2d from gp;
-        --- Purpose : Returns the value of the field axis.
-       ---Level: Internal 
-
-
-fields
-
-  axis : Ax2d from gp;
-
-end;
diff --git a/src/PGeom2d/PGeom2d_AxisPlacement.cxx b/src/PGeom2d/PGeom2d_AxisPlacement.cxx
deleted file mode 100644 (file)
index 9de95a4..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom2d_AxisPlacement.ixx>
-
-//=======================================================================
-//function : PGeom2d_AxisPlacement
-//purpose  : 
-//=======================================================================
-
-PGeom2d_AxisPlacement::PGeom2d_AxisPlacement(const gp_Ax2d& aAxis) :
-       axis(aAxis)
-{}
-
-
-//=======================================================================
-//function : PGeom2d_AxisPlacement
-//purpose  : 
-//=======================================================================
-
-PGeom2d_AxisPlacement::PGeom2d_AxisPlacement()
-{}
-
-
-//=======================================================================
-//function : Axis
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_AxisPlacement::Axis(const gp_Ax2d& aAxis)
-{ axis = aAxis; }
-
-
-//=======================================================================
-//function : Axis
-//purpose  : 
-//=======================================================================
-
-gp_Ax2d PGeom2d_AxisPlacement::Axis() const 
-{ return axis; }
diff --git a/src/PGeom2d/PGeom2d_BSplineCurve.cdl b/src/PGeom2d/PGeom2d_BSplineCurve.cdl
deleted file mode 100644 (file)
index 3eb97a1..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
--- Created on: 1993-04-06
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class BSplineCurve from PGeom2d inherits BoundedCurve from PGeom2d
-
-        ---Purpose :  Definition of  a  B_spline   curve (it can    be
-        --         periodic, rational and non uniform : NURBS).
-        --         
-       ---See Also : BSplineCurve from Geom2d.
-
-uses  HArray1OfInteger from PColStd,
-      HArray1OfReal    from PColStd,
-      HArray1OfPnt2d     from PColgp
-
-is
-
-
-  Create returns BSplineCurve from PGeom2d;
-       ---Purpose: Creates a BSplineCurve with default values.
-       ---Level: Internal 
-
-
-  Create (
-           aRational       : Boolean from Standard;
-           aPeriodic       : Boolean from Standard;
-           aSpineDegree    : Integer from Standard;
-           aPoles          : HArray1OfPnt2d from PColgp;
-           aWeights        : HArray1OfReal from PColStd;
-           aKnots          : HArray1OfReal from PColStd;
-           aMultiplicities : HArray1OfInteger from PColStd)
-     returns BSplineCurve from PGeom2d;
-       ---Purpose: Creates a BSplineCurve with these field values.
-       ---Level: Internal 
-
-
-  Periodic (me: mutable; aPeriodic: Boolean from Standard);
-        ---Purpose :Set the field periodic with <aPeriodic>.
-       ---Level: Internal 
-
-
-  Periodic (me) returns Boolean from Standard;
-        ---Purpose :Returns the value of the field periodic.
-       ---Level: Internal 
-
-
-  Rational (me: mutable; aRational: Boolean from Standard);
-        ---Purpose :Set  the   value  of  the    field rational   with
-        --         <aRational>.
-       ---Level: Internal 
-    
-    
-  Rational (me) returns Boolean from Standard;
-        ---Purpose :Returns the value of the field rational.
-       ---Level: Internal 
-    
-    
-  SpineDegree (me: mutable; aSpineDegree: Integer from Standard);
-       ---Purpose: Set the value of the field spineDegree with <aSpineDegree>.
-       ---Level: Internal 
-
-
-  SpineDegree (me)  returns Integer from Standard;
-       ---Purpose: Returns the value of the field spineDegree.
-       ---Level: Internal 
-
-
-  Poles (me: mutable; aPoles: HArray1OfPnt2d from PColgp);
-        ---Purpose : Set the value of the field poles with <aPoles>.
-       ---Level: Internal 
-
-
-  Poles (me) returns HArray1OfPnt2d from PColgp;
-        ---Purpose : Returns the value of the field poles.
-       ---Level: Internal 
-
-
-  Weights (me: mutable; aWeights : HArray1OfReal from PColStd);
-        ---Purpose : Set the value of the field weights with <aWeights>.
-       ---Level: Internal 
-
-
-  Weights (me) returns HArray1OfReal from PColStd;
-        ---Purpose : Returns the the value of the field weights.
-       ---Level: Internal 
-
-
-  Knots (me: mutable; aKnots : HArray1OfReal);
-       ---Purpose :  Set the field knots with <aKnots>.
-        --  The multiplicity of the knots are not modified.
-       ---Level: Internal 
-
-
-  Knots (me) returns HArray1OfReal from PColStd;
-        ---Purpose : returns the value of the field knots.
-       ---Level: Internal 
-
-
-  Multiplicities (me: mutable; aMultiplicities : HArray1OfInteger);
-       ---Purpose :  Set the field multiplicities with <aMultiplicities>.
-       ---Level: Internal 
-
-
-  Multiplicities (me) returns HArray1OfInteger from PColStd;
-        ---Purpose : returns the value of the field multiplicities.
-       ---Level: Internal 
-
-
-fields
-
-  rational       : Boolean from Standard;
-  periodic       : Boolean from Standard;
-  spineDegree    : Integer from Standard;
-  poles          : HArray1OfPnt2d from PColgp;
-  weights        : HArray1OfReal from PColStd;
-  knots          : HArray1OfReal from PColStd;
-  multiplicities : HArray1OfInteger from PColStd;
-
-end;
diff --git a/src/PGeom2d/PGeom2d_BSplineCurve.cxx b/src/PGeom2d/PGeom2d_BSplineCurve.cxx
deleted file mode 100644 (file)
index 096e689..0000000
+++ /dev/null
@@ -1,178 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom2d_BSplineCurve.ixx>
-
-//=======================================================================
-//function : PGeom2d_BSplineCurve
-//purpose  : 
-//=======================================================================
-
-PGeom2d_BSplineCurve::PGeom2d_BSplineCurve()
-{}
-
-
-//=======================================================================
-//function : PGeom2d_BSplineCurve
-//purpose  : 
-//=======================================================================
-
-PGeom2d_BSplineCurve::PGeom2d_BSplineCurve
-  (const Standard_Boolean aRational,
-   const Standard_Boolean aPeriodic,
-   const Standard_Integer aSpineDegree,
-   const Handle(PColgp_HArray1OfPnt2d)& aPoles,
-   const Handle(PColStd_HArray1OfReal)& aWeights,
-   const Handle(PColStd_HArray1OfReal)& aKnots,
-   const Handle(PColStd_HArray1OfInteger)& aMultiplicities) :
-  rational(aRational),
-  periodic(aPeriodic),
-  spineDegree(aSpineDegree),
-  poles(aPoles),
-  weights(aWeights),
-  knots(aKnots),
-  multiplicities(aMultiplicities)
-{}
-
-
-//=======================================================================
-//function : Periodic
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_BSplineCurve::Periodic(const Standard_Boolean aPeriodic)
-{ periodic = aPeriodic; }
-
-
-//=======================================================================
-//function : Periodic
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PGeom2d_BSplineCurve::Periodic() const 
-{ return periodic; }
-
-
-//=======================================================================
-//function : Rational
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_BSplineCurve::Rational(const Standard_Boolean aRational)
-{ rational = aRational; }
-
-
-//=======================================================================
-//function : Rational
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PGeom2d_BSplineCurve::Rational() const 
-{ return rational; }
-
-
-//=======================================================================
-//function : SpineDegree
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_BSplineCurve::SpineDegree(const Standard_Integer aSpineDegree)
-{ spineDegree = aSpineDegree; }
-
-
-//=======================================================================
-//function : SpineDegree
-//purpose  : 
-//=======================================================================
-
-Standard_Integer  PGeom2d_BSplineCurve::SpineDegree() const 
-{ return spineDegree; }
-
-
-//=======================================================================
-//function : Poles
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_BSplineCurve::Poles(const Handle(PColgp_HArray1OfPnt2d)& aPoles)
-{ poles = aPoles; }
-
-
-//=======================================================================
-//function : Poles
-//purpose  : 
-//=======================================================================
-
-Handle(PColgp_HArray1OfPnt2d)  PGeom2d_BSplineCurve::Poles() const 
-{ return poles; }
-
-
-//=======================================================================
-//function : Weights
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_BSplineCurve::Weights
-  (const Handle(PColStd_HArray1OfReal)& aWeights)
-{ weights = aWeights; }
-
-
-//=======================================================================
-//function : Weights
-//purpose  : 
-//=======================================================================
-
-Handle(PColStd_HArray1OfReal)  PGeom2d_BSplineCurve::Weights() const 
-{ return weights; }
-
-
-//=======================================================================
-//function : Knots
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_BSplineCurve::Knots
-  (const Handle(PColStd_HArray1OfReal)& aKnots)
-{ knots = aKnots; }
-
-
-//=======================================================================
-//function : Knots
-//purpose  : 
-//=======================================================================
-
-Handle(PColStd_HArray1OfReal)  PGeom2d_BSplineCurve::Knots() const 
-{ return knots; }
-
-
-//=======================================================================
-//function : Multiplicities
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_BSplineCurve::Multiplicities
-  (const Handle(PColStd_HArray1OfInteger)& aMultiplicities)
-{ multiplicities = aMultiplicities; }
-
-
-//=======================================================================
-//function : Multiplicities
-//purpose  : 
-//=======================================================================
-
-Handle(PColStd_HArray1OfInteger)
-     PGeom2d_BSplineCurve::Multiplicities() const 
-{ return multiplicities; }
diff --git a/src/PGeom2d/PGeom2d_BezierCurve.cdl b/src/PGeom2d/PGeom2d_BezierCurve.cdl
deleted file mode 100644 (file)
index 24ee161..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
--- Created on: 1993-04-06
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class BezierCurve from PGeom2d inherits BoundedCurve from PGeom2d
-
-        ---Purpose : Defines a rational or non rational Bezier curve.
-        --         
-       ---See Also : BezierCurve from Geom2d.
-
-uses  HArray1OfReal from PColStd,
-      HArray1OfPnt2d  from PColgp
-
-is 
-
-
-  Create returns BezierCurve from PGeom2d;
-        ---Purpose : Creates a non rational  Bezier curve with default
-        --         values.
-       ---Level: Internal 
-
-
-  Create(aPoles    : HArray1OfPnt2d;
-         aWeights  : HArray1OfReal;
-        aRational : Boolean from Standard)
-     returns BezierCurve from PGeom2d;
-        ---Purpose : Creates a non rational Bezier curve with a set of
-        --         poles aCurvePoles and a set of weights aPoleWeight.
-       ---Level: Internal 
-
-
-  Rational (me: mutable; aRational: Boolean from Standard);
-        ---Purpose : Set the value of the field rational with <aRational>.
-       ---Level: Internal 
-
-
-  Rational (me) returns Boolean;
-        ---Purpose : Returns the value of the field rational.
-       ---Level: Internal 
-
-
-  Poles (me: mutable; aPoles : HArray1OfPnt2d from PColgp);
-        ---Purpose : Set the value of the field poles with <aPoles>.
-       ---Level: Internal 
-
-
-  Poles (me) returns HArray1OfPnt2d from PColgp;
-        ---Purpose : Returns the value of the field poles.
-       ---Level: Internal 
-
-
-  Weights (me: mutable; aWeights : HArray1OfReal from PColStd);
-        ---Purpose : Set the value of the field weights.
-       ---Level: Internal 
-
-
-  Weights (me)returns HArray1OfReal from PColStd;
-        ---Purpose : Returns the value of the field weights.
-       ---Level: Internal 
-
-
-fields
-
-   rational : Boolean from Standard;
-   poles    : HArray1OfPnt2d  from PColgp;
-   weights  : HArray1OfReal from PColStd;
-
-end;
diff --git a/src/PGeom2d/PGeom2d_BezierCurve.cxx b/src/PGeom2d/PGeom2d_BezierCurve.cxx
deleted file mode 100644 (file)
index bf33716..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom2d_BezierCurve.ixx>
-
-//=======================================================================
-//function : PGeom2d_BezierCurve
-//purpose  : 
-//=======================================================================
-
-PGeom2d_BezierCurve::PGeom2d_BezierCurve()
-{}
-
-
-//=======================================================================
-//function : PGeom2d_BezierCurve
-//purpose  : 
-//=======================================================================
-
-PGeom2d_BezierCurve::PGeom2d_BezierCurve
-  (const Handle(PColgp_HArray1OfPnt2d)& aPoles,
-   const Handle(PColStd_HArray1OfReal)& aWeights,
-   const Standard_Boolean aRational) :
-   rational(aRational), poles(aPoles),
-   weights(aWeights)
-{}
-
-
-//=======================================================================
-//function : Rational
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_BezierCurve::Rational(const Standard_Boolean aRational)
-{ rational = aRational; }
-
-
-//=======================================================================
-//function : Rational
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PGeom2d_BezierCurve::Rational() const 
-{ return rational; }
-
-
-//=======================================================================
-//function : Poles
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_BezierCurve::Poles
-  (const Handle(PColgp_HArray1OfPnt2d)& aPoles)
-{ poles = aPoles; }
-
-
-//=======================================================================
-//function : Poles
-//purpose  : 
-//=======================================================================
-
-Handle(PColgp_HArray1OfPnt2d)  PGeom2d_BezierCurve::Poles() const 
-{ return poles; }
-
-
-//=======================================================================
-//function : Weights
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_BezierCurve::Weights
-  (const Handle(PColStd_HArray1OfReal)& aWeights)
-{ weights = aWeights; }
-
-
-//=======================================================================
-//function : Weights
-//purpose  : 
-//=======================================================================
-
-Handle(PColStd_HArray1OfReal)
-     PGeom2d_BezierCurve::Weights() const 
-{ return weights; }
diff --git a/src/PGeom2d/PGeom2d_BoundedCurve.cdl b/src/PGeom2d/PGeom2d_BoundedCurve.cdl
deleted file mode 100644 (file)
index bec280b..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
--- Created on: 1993-04-06
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class BoundedCurve from PGeom2d inherits Curve from PGeom2d
-
-        ---Purpose : Defines a bounded  curve, with finite arc length.
-        --         The curve is limited with its parametric values.
-        --         
-       ---See Also BoundedCurve from Geom2d.
-
-is
-
-end;
diff --git a/src/PGeom2d/PGeom2d_BoundedCurve.cxx b/src/PGeom2d/PGeom2d_BoundedCurve.cxx
deleted file mode 100644 (file)
index 001d519..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom2d_BoundedCurve.ixx>
diff --git a/src/PGeom2d/PGeom2d_CartesianPoint.cdl b/src/PGeom2d/PGeom2d_CartesianPoint.cdl
deleted file mode 100644 (file)
index caa72fb..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
--- Created on: 1993-04-06
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class CartesianPoint from PGeom2d inherits Point from PGeom2d
-
-        ---Purpose : Point defined  in  3D space with its 3  cartesian
-        --         coordinates X, Y, Z.
-        --         
-       ---See Also : CartesianPoint from Geom2d.
-
-uses Pnt2d from gp
-
-is
-
-
-  Create returns CartesianPoint from PGeom2d;
-        ---Purpose : Returns a CartesianPoint with default values..
-       ---Level: Internal 
-
-
-  Create (aPnt2d : Pnt2d from gp) returns CartesianPoint from PGeom2d;
-        ---Purpose : Returns a CartesianPoint built with <aPnt2d>.
-       ---Level: Internal 
-
-
-  Pnt (me : mutable; aPnt2d : Pnt2d from gp);
-        ---Purpose : Set the field Pnt2d.
-       ---Level: Internal 
-
-
-  Pnt (me)  returns Pnt2d;
-        ---Purpose : Returns the value of the field Pnt2d.
-       ---Level: Internal 
-
-
-fields
-
-    pnt : Pnt2d from gp;
-
-end;
diff --git a/src/PGeom2d/PGeom2d_CartesianPoint.cxx b/src/PGeom2d/PGeom2d_CartesianPoint.cxx
deleted file mode 100644 (file)
index 9d85ca5..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom2d_CartesianPoint.ixx>
-
-//=======================================================================
-//function : PGeom2d_CartesianPoint
-//purpose  : 
-//=======================================================================
-
-PGeom2d_CartesianPoint::PGeom2d_CartesianPoint ()
-{}
-
-
-//=======================================================================
-//function : PGeom2d_CartesianPoint
-//purpose  : 
-//=======================================================================
-
-PGeom2d_CartesianPoint::PGeom2d_CartesianPoint (const gp_Pnt2d& aPnt) :
-       pnt(aPnt)
-{}
-
-
-//=======================================================================
-//function : Pnt
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_CartesianPoint::Pnt(const gp_Pnt2d& aPnt)
-{ pnt = aPnt; }
-
-
-//=======================================================================
-//function : Pnt
-//purpose  : 
-//=======================================================================
-
-gp_Pnt2d PGeom2d_CartesianPoint::Pnt() const 
-{ return pnt; }
diff --git a/src/PGeom2d/PGeom2d_Circle.cdl b/src/PGeom2d/PGeom2d_Circle.cdl
deleted file mode 100644 (file)
index cbe3486..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
--- Created on: 1993-04-06
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Circle from PGeom2d inherits Conic from PGeom2d
-
-        ---Purpose : Defines a circle in 3D space.
-        --         
-       ---See Also : Circle from Geom2d.
-
-uses Ax22d from gp
-
-is
-
-
-  Create returns Circle from PGeom2d;
-       ---Purpose : Creates a circle with default values.
-       ---Level: Internal 
-
-
-  Create (aPosition : Ax22d from gp; aRadius : Real from Standard)
-    returns Circle from PGeom2d;
-        ---Purpose : Creates a Circle with <aPosition> and <aRadius> as field
-        --         values.
-       ---Level: Internal 
-
-
-  Radius (me : mutable; aRadius : Real from Standard);
-       ---Purpose: Set the value of the field radius with <aRadius>.
-       ---Level: Internal 
-
-
-  Radius (me) returns Real from Standard;
-       ---Purpose: Returns the value of the field radius.
-       ---Level: Internal 
-
-
-fields
-
-  radius : Real from Standard;
-
-end;
-
diff --git a/src/PGeom2d/PGeom2d_Circle.cxx b/src/PGeom2d/PGeom2d_Circle.cxx
deleted file mode 100644 (file)
index 57565e2..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom2d_Circle.ixx>
-
-//=======================================================================
-//function : PGeom2d_Circle
-//purpose  : 
-//=======================================================================
-
-PGeom2d_Circle::PGeom2d_Circle()
-{}
-
-
-//=======================================================================
-//function : PGeom2d_Circle
-//purpose  : 
-//=======================================================================
-
-PGeom2d_Circle::PGeom2d_Circle
-  (const gp_Ax22d& aPosition,
-   const Standard_Real aRadius) :
-  PGeom2d_Conic(aPosition),
-  radius(aRadius)
-{}
-
-
-//=======================================================================
-//function : Radius
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_Circle::Radius(const Standard_Real aRadius)
-{ radius = aRadius; }
-
-
-//=======================================================================
-//function : Radius
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom2d_Circle::Radius() const 
-{ return radius; }
diff --git a/src/PGeom2d/PGeom2d_Conic.cdl b/src/PGeom2d/PGeom2d_Conic.cdl
deleted file mode 100644 (file)
index 35f4d9d..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
--- Created on: 1993-04-06
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class Conic from PGeom2d inherits Curve from PGeom2d
-
-        ---Purpose : Defines the general   characteristics of a  conic
-        --         curve : Ellipse, Circle, Hyperbola, Parabola.
-        --  
-       ---See Also : Conic from Geom2d
-
-uses  Ax22d from gp
-
-is
-
-
-    Initialize;
-       ---Purpose: Initializes the field(s) with default value(s).
-       ---Level: Internal 
-
-
-    Initialize(aPosition: Ax22d from gp);
-       ---Purpose: Initializes the field position with <aPosition>.
-       ---Level: Internal 
-
-
-  Position (me : mutable; aPosition : Ax22d from gp);
-        ---Purpose : Set the value of the field position with <aPosition>.
-       ---Level: Internal 
-
-
-  Position (me)   returns Ax22d from gp;
-        ---Purpose : Returns the value of the field <position>.
-       ---Level: Internal 
-
-
-fields
-
-  position : Ax22d from gp is protected;
-
-end;
diff --git a/src/PGeom2d/PGeom2d_Conic.cxx b/src/PGeom2d/PGeom2d_Conic.cxx
deleted file mode 100644 (file)
index 0aedac9..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom2d_Conic.ixx>
-
-//=======================================================================
-//function : PGeom2d_Conic
-//purpose  : 
-//=======================================================================
-
-PGeom2d_Conic::PGeom2d_Conic(const gp_Ax22d& aPosition) :
-       position(aPosition)
-{}
-
-
-//=======================================================================
-//function : PGeom2d_Conic
-//purpose  : 
-//=======================================================================
-
-PGeom2d_Conic::PGeom2d_Conic()
-{}
-
-
-//=======================================================================
-//function : Position
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_Conic::Position(const gp_Ax22d& aPosition)
-{ position = aPosition; }
-
-
-//=======================================================================
-//function : Position
-//purpose  : 
-//=======================================================================
-
-gp_Ax22d PGeom2d_Conic::Position() const 
-{ return position; }
diff --git a/src/PGeom2d/PGeom2d_Curve.cdl b/src/PGeom2d/PGeom2d_Curve.cdl
deleted file mode 100644 (file)
index 0752aea..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
--- Created on: 1993-04-06
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class Curve from PGeom2d inherits Geometry from PGeom2d
-
-         --- Purpose :
-         --  Defines the general abstract class curve in the 3D space.
-         --  
-        ---See Also : Curve from Geom2d.
-
-is
-
-end;
diff --git a/src/PGeom2d/PGeom2d_Curve.cxx b/src/PGeom2d/PGeom2d_Curve.cxx
deleted file mode 100644 (file)
index 305f303..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom2d_Curve.ixx>
diff --git a/src/PGeom2d/PGeom2d_Direction.cdl b/src/PGeom2d/PGeom2d_Direction.cdl
deleted file mode 100644 (file)
index 3b91bb6..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
--- Created on: 1993-04-06
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Direction from PGeom2d inherits Vector from PGeom2d
-
-        ---Purpose :  The class Direction  specifies a vector that  is
-        --         never null. It is a unit vector.
-        --         
-       ---See Also : Direction from Geom2d.
-
-uses  Vec2d from gp
-
-is
-
-
-  Create returns Direction from PGeom2d;
-        --- Purpose : Creates a unit vector with default values.
-       ---Level: Internal 
-
-
-  Create (aVec: Vec2d from gp) returns Direction from PGeom2d;
-        ---Purpose : Create a unit vector with <aVec>.
-       ---Level: Internal 
-
-
-end;
diff --git a/src/PGeom2d/PGeom2d_Direction.cxx b/src/PGeom2d/PGeom2d_Direction.cxx
deleted file mode 100644 (file)
index 6fe9141..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom2d_Direction.ixx>
-
-//=======================================================================
-//function : PGeom2d_Direction
-//purpose  : 
-//=======================================================================
-
-PGeom2d_Direction::PGeom2d_Direction()
-{}
-
-
-//=======================================================================
-//function : PGeom2d_Direction
-//purpose  : 
-//=======================================================================
-
-PGeom2d_Direction::PGeom2d_Direction(const gp_Vec2d& aVec) :
-       PGeom2d_Vector(aVec)
-{}
diff --git a/src/PGeom2d/PGeom2d_Ellipse.cdl b/src/PGeom2d/PGeom2d_Ellipse.cdl
deleted file mode 100644 (file)
index 900bdb5..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
--- Created on: 1993-04-06
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Ellipse from PGeom2d inherits Conic from PGeom2d
-
-        ---Purpose :  Defines an ellipse in 3D space. 
-        --         
-       ---See Also : Ellipse from Geom2d.
-
-uses Ax22d from gp
-
-is
-
-
-  Create returns Ellipse from PGeom2d;
-        ---Purpose : Creates an ellipse with default values.
-       ---Level: Internal 
-
-
-  Create (aPosition : Ax22d from gp;
-           aMajorRadius, aMinorRadius : Real from Standard)
-     returns Ellipse from PGeom2d;
-       ---Purpose :      Creates   an Ellipse      with  <aPosition>,
-       --         <aMajorRadius> and <aMinorRadius> as  field values.
-       --         The major radius of  the ellipse is  on the "XAxis"
-       --         and  the minor radius   of the ellipse   is  on the
-       --         "YAxis".
-       ---Level: Internal 
-
-
-  MajorRadius (me : mutable; aMajorRadius : Real from Standard);
-       ---Purpose: Set the value of the field majorRadius with <aMajorRadius>.
-       ---Level: Internal 
-
-
-  MajorRadius (me)  returns Real from Standard;
-       ---Purpose: Returns the value of the field majorRadius.
-       ---Level: Internal 
-
-
-  MinorRadius (me : mutable; aMinorRadius : Real from Standard);
-       ---Purpose: Set the value of the field minorRadius with <aMinorRadius>.
-       ---Level: Internal 
-
-
-  MinorRadius (me)  returns Real from Standard;
-       ---Purpose: Returns the value of the field minorRadius.
-       ---Level: Internal 
-
-
-fields
-
-     majorRadius : Real from Standard;
-     minorRadius : Real from Standard;
-
-end;
-
diff --git a/src/PGeom2d/PGeom2d_Ellipse.cxx b/src/PGeom2d/PGeom2d_Ellipse.cxx
deleted file mode 100644 (file)
index 1a5572c..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom2d_Ellipse.ixx>
-
-//=======================================================================
-//function : PGeom2d_Ellipse
-//purpose  : 
-//=======================================================================
-
-PGeom2d_Ellipse::PGeom2d_Ellipse()
-{}
-
-
-//=======================================================================
-//function : PGeom2d_Ellipse
-//purpose  : 
-//=======================================================================
-
-PGeom2d_Ellipse::PGeom2d_Ellipse
-  (const gp_Ax22d& aPosition,
-   const Standard_Real aMajorRadius,
-   const Standard_Real aMinorRadius) :
-  PGeom2d_Conic(aPosition),
-  majorRadius(aMajorRadius),
-  minorRadius(aMinorRadius)
-{}
-
-
-//=======================================================================
-//function : MajorRadius
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_Ellipse::MajorRadius(const Standard_Real aMajorRadius)
-{ majorRadius = aMajorRadius; }
-
-
-//=======================================================================
-//function : MajorRadius
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom2d_Ellipse::MajorRadius() const 
-{ return majorRadius; }
-
-
-//=======================================================================
-//function : MinorRadius
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_Ellipse::MinorRadius(const Standard_Real aMinorRadius)
-{ minorRadius = aMinorRadius; }
-
-
-//=======================================================================
-//function : MinorRadius
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom2d_Ellipse::MinorRadius() const 
-{ return minorRadius; }
diff --git a/src/PGeom2d/PGeom2d_Geometry.cdl b/src/PGeom2d/PGeom2d_Geometry.cdl
deleted file mode 100644 (file)
index 2420f7f..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
--- Created on: 1993-04-06
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class Geometry from PGeom2d inherits Persistent
-
-        ---Purpose : The  general abstract class  Geometry in 3D space
-        --         describes the common behaviour of all the geometric
-        --         entities.
-        --        
-       ---See Also : Geometry from Geom2d.
-
-
-is
-
-end;
diff --git a/src/PGeom2d/PGeom2d_Geometry.cxx b/src/PGeom2d/PGeom2d_Geometry.cxx
deleted file mode 100644 (file)
index 0b15b7b..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom2d_Geometry.ixx>
diff --git a/src/PGeom2d/PGeom2d_Hyperbola.cdl b/src/PGeom2d/PGeom2d_Hyperbola.cdl
deleted file mode 100644 (file)
index 1968e42..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
--- Created on: 1993-04-06
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Hyperbola from PGeom2d inherits Conic from PGeom2d
-
-        ---Purpose :Defines the main branch of an hyperbola.
-        --         
-       ---See Also : Hyperbola from Geom2d.
-
-uses Ax22d from gp
-
-is
-
-
-  Create returns Hyperbola from PGeom2d;
-        ---Purpose :Creates an Hyperbola with default values.
-       ---Level: Internal 
-
-
-  Create (aPosition : Ax22d from gp;
-         aMajorRadius, aMinorRadius : Real from Standard)
-     returns Hyperbola from PGeom2d;
-       ---Purpose :  Creates an   Hyperbola    with      <aPosition>,
-       --         <aMajorRadius> and  <aMinorRadius> as field values.
-       --         The major  radius of the hyperbola is  on the XAxis
-       --         and   the minor  radius is  on    the YAxis of  the
-       --         hyperbola.
-       ---Level: Internal 
-
-
-  MajorRadius (me : mutable; aMajorRadius : Real from Standard);
-       ---Purpose: Set the value of the field majorRadius with <aMajorRadius>.
-       ---Level: Internal 
-
-
-  MajorRadius (me)  returns Real from Standard;
-       ---Purpose: Returns the value of the field majorRadius.
-       ---Level: Internal 
-
-
-  MinorRadius (me : mutable; aMinorRadius : Real from Standard);
-       ---Purpose: Set the value of the field minorRadius with <aMinorRadius>.
-       ---Level: Internal 
-
-
-  MinorRadius (me)  returns Real from Standard;
-       ---Purpose: Returns the value of the field minorRadius.
-       ---Level: Internal 
-
-
-fields
-
-     majorRadius : Real from Standard;
-     minorRadius : Real from Standard;
-
-end;
-
diff --git a/src/PGeom2d/PGeom2d_Hyperbola.cxx b/src/PGeom2d/PGeom2d_Hyperbola.cxx
deleted file mode 100644 (file)
index 048b9d3..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom2d_Hyperbola.ixx>
-
-//=======================================================================
-//function : PGeom2d_Hyperbola
-//purpose  : 
-//=======================================================================
-
-PGeom2d_Hyperbola::PGeom2d_Hyperbola()
-{}
-
-
-//=======================================================================
-//function : PGeom2d_Hyperbola
-//purpose  : 
-//=======================================================================
-
-PGeom2d_Hyperbola::PGeom2d_Hyperbola
-  (const gp_Ax22d& aPosition,
-   const Standard_Real aMajorRadius,
-   const Standard_Real aMinorRadius) :
-  PGeom2d_Conic(aPosition),
-  majorRadius(aMajorRadius),
-  minorRadius(aMinorRadius)
-{}
-
-
-//=======================================================================
-//function : MajorRadius
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_Hyperbola::MajorRadius(const Standard_Real aMajorRadius)
-{ majorRadius = aMajorRadius; }
-
-
-//=======================================================================
-//function : MajorRadius
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom2d_Hyperbola::MajorRadius() const 
-{ return majorRadius; }
-
-
-//=======================================================================
-//function : MinorRadius
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_Hyperbola::MinorRadius(const Standard_Real aMinorRadius)
-{ minorRadius = aMinorRadius; }
-
-
-//=======================================================================
-//function : MinorRadius
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom2d_Hyperbola::MinorRadius() const 
-{ return minorRadius; }
diff --git a/src/PGeom2d/PGeom2d_Line.cdl b/src/PGeom2d/PGeom2d_Line.cdl
deleted file mode 100644 (file)
index e7cb8d8..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
--- Created on: 1993-04-06
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Line from PGeom2d inherits Curve from PGeom2d
-
-        ---Purpose :   Defines   an   infinite   line.            The
-        --         parametrization range is ]-infinite, +infinite[.
-        --         
-       ---See Also : Line from Geom2d.
-
-uses Ax2d from gp
-
-is
-
-
-  Create returns Line;
-        ---Purpose : Creates a line with default values.
-       ---Level: Internal 
-
-
-  Create (aPosition : Ax2d from gp)   returns Line;
-        ---Purpose : Creates   a  line  located    in  3D space   with
-        --         <aPosition>.  The Location   of <aPosition> is  the
-        --         origin of the line.
-       ---Level: Internal 
-
-
-  Position (me : mutable; aPosition : Ax2d from gp);
-        --- Purpose : Set the value of the field position with <aPosition>.
-       ---Level: Internal 
-
-
-  Position (me) returns Ax2d from gp;
-        --- Purpose : Returns the value of the field position.
-       ---Level: Internal 
-
-
-fields
-
-  position : Ax2d from gp;
-
-end;
diff --git a/src/PGeom2d/PGeom2d_Line.cxx b/src/PGeom2d/PGeom2d_Line.cxx
deleted file mode 100644 (file)
index 97a5c53..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom2d_Line.ixx>
-
-//=======================================================================
-//function : PGeom2d_Line
-//purpose  : 
-//=======================================================================
-
-PGeom2d_Line::PGeom2d_Line()
-{}
-
-
-//=======================================================================
-//function : PGeom2d_Line
-//purpose  : 
-//=======================================================================
-
-PGeom2d_Line::PGeom2d_Line(const gp_Ax2d& aPosition) :
-       position(aPosition)
-{}
-
-
-//=======================================================================
-//function : Position
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_Line::Position(const gp_Ax2d& aPosition)
-{ position = aPosition; }
-
-
-//=======================================================================
-//function : Position
-//purpose  : 
-//=======================================================================
-
-gp_Ax2d PGeom2d_Line::Position() const
-{ return position; }
diff --git a/src/PGeom2d/PGeom2d_OffsetCurve.cdl b/src/PGeom2d/PGeom2d_OffsetCurve.cdl
deleted file mode 100644 (file)
index 6bfa33e..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
--- Created on: 1993-04-06
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class OffsetCurve from PGeom2d inherits Curve from PGeom2d
-
-        ---Purpose :
-        --  This class implements the basis services for an offset curve
-        --  in 3D space.
-        --  
-       ---See Also : OffsetCurve from Geom2d.
-
-uses Curve from PGeom2d
-
-
-is
-    
-
-  Create returns OffsetCurve from PGeom2d;
-    ---Purpose: Creates an OffsetCurve with default values.
-       ---Level: Internal 
-
-
-  Create (
-           aBasisCurve : Curve from PGeom2d;
-           aOffsetValue : Real from Standard)
-     returns OffsetCurve from PGeom2d;
-        ---Purpose : <aBasisCurve> is  the basis curve, <aOffsetValue>
-        --         is the distance between <me> and the basis curve at
-        --         any point.    <aOffsetDirection>  defines the fixed
-        --         reference direction (offset direction).
-       ---Level: Internal 
-
-
-  BasisCurve (me : mutable; aBasisCurve : Curve from PGeom2d);
-       ---Purpose: Set the field basisCurve with <aBasisCurve>.
-       ---Level: Internal 
-      
-
-  BasisCurve (me) returns Curve from PGeom2d;
-        ---Purpose : The basis curve can be an offset curve.
-       ---Level: Internal 
-
-
-  OffsetValue (me : mutable; aOffsetValue : Real from Standard);
-        ---Purpose : Set the field offsetValue with <aOffsetValue>.
-       ---Level: Internal 
-
-
-  OffsetValue (me) returns Real from Standard;
-        ---Purpose : Returns the value of the field offsetValue.
-       ---Level: Internal 
-
-
-fields
-
-  basisCurve      : Curve from PGeom2d;
-  offsetValue     : Real from Standard;
-
-end;
diff --git a/src/PGeom2d/PGeom2d_OffsetCurve.cxx b/src/PGeom2d/PGeom2d_OffsetCurve.cxx
deleted file mode 100644 (file)
index 95d1e57..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-// Created on: 1993-03-04
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom2d_OffsetCurve.ixx>
-
-//=======================================================================
-//function : PGeom2d_OffsetCurve
-//purpose  : 
-//=======================================================================
-
-PGeom2d_OffsetCurve::PGeom2d_OffsetCurve()
-{}
-
-
-//=======================================================================
-//function : PGeom2d_OffsetCurve
-//purpose  : 
-//=======================================================================
-
-PGeom2d_OffsetCurve::PGeom2d_OffsetCurve
-  (const Handle(PGeom2d_Curve)& aBasisCurve,
-   const Standard_Real aOffsetValue) :
-  basisCurve(aBasisCurve),
-  offsetValue(aOffsetValue)
-{}
-
-
-//=======================================================================
-//function : BasisCurve
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_OffsetCurve::BasisCurve(const Handle(PGeom2d_Curve)& aBasisCurve)
-{ basisCurve = aBasisCurve; }
-
-
-//=======================================================================
-//function : BasisCurve
-//purpose  : 
-//=======================================================================
-
-Handle(PGeom2d_Curve)  PGeom2d_OffsetCurve::BasisCurve() const 
-{ return basisCurve; }
-
-
-//=======================================================================
-//function : OffsetValue
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_OffsetCurve::OffsetValue(const Standard_Real aOffsetValue)
-{ offsetValue = aOffsetValue; }
-
-
-//=======================================================================
-//function : OffsetValue
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom2d_OffsetCurve::OffsetValue() const 
-{ return offsetValue; }
diff --git a/src/PGeom2d/PGeom2d_Parabola.cdl b/src/PGeom2d/PGeom2d_Parabola.cdl
deleted file mode 100644 (file)
index cf0c341..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
--- Created on: 1993-04-06
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Parabola from PGeom2d  
-inherits Conic from PGeom2d
-
-        --- Purpose :
-        --  Defines the parabola in the parameterization range  :
-        --  ]-infinite,+infinite[
-        --  See Also : Parabola from Geom2d.
-
-uses  Ax22d from gp 
-
-is
-
-
-  Create returns Parabola from PGeom2d;
-        ---Purpose : Creates a parabola with default values.
-       ---Level: Internal 
-
-
-  Create (aPosition : Ax22d from gp; aFocalLength : Real)
-    returns Parabola from PGeom2d;
-       ---Purpose : Creates a Parabola with <aPosition> and <aFocalLength>
-       --         as field values.
-       ---Level: Internal 
-
-
-  FocalLength (me : mutable; aFocalLength : Real);
-        ---Purpose :   Set the value  of   the  field focalLength with
-        --         <aFocalLength>.
-       ---Level: Internal 
-
-
-  FocalLength (me)  returns Real;
-       ---Purpose : Retruns the value of the field focalLength.
-       ---Level: Internal 
-
-
-fields
-
-  focalLength : Real;
-
-end;
diff --git a/src/PGeom2d/PGeom2d_Parabola.cxx b/src/PGeom2d/PGeom2d_Parabola.cxx
deleted file mode 100644 (file)
index d17fdbc..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-// Created on: 1993-03-04
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom2d_Parabola.ixx>
-
-//=======================================================================
-//function : PGeom2d_Parabola
-//purpose  : 
-//=======================================================================
-
-PGeom2d_Parabola::PGeom2d_Parabola()
-{}
-
-
-//=======================================================================
-//function : PGeom2d_Parabola
-//purpose  : 
-//=======================================================================
-
-PGeom2d_Parabola::PGeom2d_Parabola
-  (const gp_Ax22d& aPosition,
-   const Standard_Real aFocalLength) :
-  PGeom2d_Conic(aPosition),
-  focalLength(aFocalLength)
-{}
-
-
-//=======================================================================
-//function : FocalLength
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_Parabola::FocalLength(const Standard_Real aFocalLength)
-{ focalLength = aFocalLength; }
-
-
-//=======================================================================
-//function : FocalLength
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom2d_Parabola::FocalLength() const 
-{ return focalLength; }
diff --git a/src/PGeom2d/PGeom2d_Point.cdl b/src/PGeom2d/PGeom2d_Point.cdl
deleted file mode 100644 (file)
index 5a7d598..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
--- Created on: 1993-04-06
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class Point from PGeom2d inherits Geometry from PGeom2d
-
-       ---Purpose: This abstract  class describe  common behaviour of
-       --          all points.
-       --          
-       ---See Also : Point from Geom2d.
-
-is
-
-end;
diff --git a/src/PGeom2d/PGeom2d_Point.cxx b/src/PGeom2d/PGeom2d_Point.cxx
deleted file mode 100644 (file)
index 4a340d3..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Created on: 1993-03-04
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom2d_Point.ixx>
diff --git a/src/PGeom2d/PGeom2d_Transformation.cdl b/src/PGeom2d/PGeom2d_Transformation.cdl
deleted file mode 100644 (file)
index 6c11028..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
--- Created on: 1993-04-06
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Transformation from PGeom2d inherits Persistent from Standard
-
-        ---Purpose :  The    class Transformation  allows   to  create
-        --         Translation, Rotation,   Symmetry,     Scaling  and
-        --         complex transformations obtained by  combination of
-        --         the  previous elementary   transformations.     The
-        --         restriction to  these basic  transformations allows
-        --         us to be sure that   an object  will never   change
-        --         nature.
-        --         
-       ---See Also : Transformation from Geom2d.
-
-
-uses Trsf2d from gp
-
-is
-
-
-  Create returns Transformation from PGeom2d;
-        ---Purpose : Creates a transformation with default values.
-       ---Level: Internal 
-
-
-  Create (aTrsf : Trsf2d from gp) returns Transformation from PGeom2d;
-        ---Purpose :  Creates a transformation with <aTrsf>.
-       ---Level: Internal 
-
-
-  Trsf (me : mutable; aTrsf : Trsf2d from gp);
-        ---Purpose : Creates a Transformation with <aTrsf>.
-       ---Level: Internal 
-
-
-  Trsf (me)  returns Trsf2d from gp;
-        ---Purpose : Returns the value of the field trsf.
-       ---Level: Internal 
-
-
-fields
-
-  trsf : Trsf2d from gp;
-
-end;
diff --git a/src/PGeom2d/PGeom2d_Transformation.cxx b/src/PGeom2d/PGeom2d_Transformation.cxx
deleted file mode 100644 (file)
index 5788582..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-// Created on: 1993-04-15
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom2d_Transformation.ixx>
-
-//=======================================================================
-//function : PGeom2d_Transformation
-//purpose  : 
-//=======================================================================
-
-PGeom2d_Transformation::PGeom2d_Transformation()
-{}
-
-
-//=======================================================================
-//function : PGeom2d_Transformation
-//purpose  : 
-//=======================================================================
-
-PGeom2d_Transformation::PGeom2d_Transformation(const gp_Trsf2d& aTrsf) :
-       trsf(aTrsf)
-{}
-
-
-//=======================================================================
-//function : Trsf
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_Transformation::Trsf(const gp_Trsf2d& aTrsf)
-{ trsf = aTrsf; }
-
-
-//=======================================================================
-//function : Trsf
-//purpose  : 
-//=======================================================================
-
-gp_Trsf2d PGeom2d_Transformation::Trsf() const 
-{ return trsf; }
diff --git a/src/PGeom2d/PGeom2d_TrimmedCurve.cdl b/src/PGeom2d/PGeom2d_TrimmedCurve.cdl
deleted file mode 100644 (file)
index f600b0c..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
--- Created on: 1993-04-06
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TrimmedCurve from PGeom2d inherits BoundedCurve from PGeom2d
-
-        ---Purpose :
-        --  Defines a portion of a curve limited by two values of 
-        --  parameters inside the parametric domain of the curve.
-        --  
-       ---See Also : TrimmedCurve from Geom2d.
-
-
-uses Curve from PGeom2d
-
-is
-
-
-  Create returns TrimmedCurve from PGeom2d;
-       ---Purpose: Creates a TrimmedCurve with default values.
-       ---Level: Advanced 
-
-
-  Create (
-       aBasisCurve: Curve from PGeom2d;
-       aFirstU, aLastU: Real from Standard)
-     returns TrimmedCurve from PGeom2d;
-        ---Purpose : Creates a TrimmedCurve with these field values.
-       ---Level: Advanced 
-
-
-  FirstU(me : mutable; aFirstU: Real from Standard);
-        ---Purpose : Set the value of the field firstU with <aFirstU>.
-       ---Level: Advanced 
-
-
-  FirstU(me) returns Real from Standard;
-        ---Purpose : Returns the value of the field firstU.
-       ---Level: Advanced 
-
-
-  LastU(me : mutable; aLastU: Real from Standard);
-        ---Purpose : Set the value of the field lastU with <aLastU>.
-       ---Level: Advanced 
-
-
-  LastU(me) returns Real from Standard;
-        ---Purpose : Returns the value of the field lastU.
-       ---Level: Advanced 
-
-
-  BasisCurve (me: mutable; aBasisCurve: Curve from PGeom2d);
-        ---Purpose : Set the value of the field basisCurve with <aBasisCurve>.
-        --  This curve can be a trimmed curve.
-       ---Level: Advanced 
-
-
-  BasisCurve (me) returns Curve from PGeom2d;
-        ---Purpose : Returns the value of the field basisCurve. 
-        --  This curve can be a trimmed curve.
-       ---Level: Advanced 
-
-
-fields
-
-    basisCurve : Curve from PGeom2d;
-    firstU     : Real from Standard;
-    lastU      : Real from Standard;
-
-end;
diff --git a/src/PGeom2d/PGeom2d_TrimmedCurve.cxx b/src/PGeom2d/PGeom2d_TrimmedCurve.cxx
deleted file mode 100644 (file)
index c290c1d..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-// Created on: 1993-03-04
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom2d_TrimmedCurve.ixx>
-
-//=======================================================================
-//function : PGeom2d_TrimmedCurve
-//purpose  : 
-//=======================================================================
-
-PGeom2d_TrimmedCurve::PGeom2d_TrimmedCurve()
-{}
-
-
-//=======================================================================
-//function : PGeom2d_TrimmedCurve
-//purpose  : 
-//=======================================================================
-
-PGeom2d_TrimmedCurve::PGeom2d_TrimmedCurve
-  (const Handle(PGeom2d_Curve)& aBasisCurve,
-   const Standard_Real aFirstU,
-   const Standard_Real aLastU) :
-  basisCurve(aBasisCurve),
-  firstU(aFirstU),
-  lastU(aLastU)
-{}
-
-
-//=======================================================================
-//function : FirstU
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_TrimmedCurve::FirstU(const Standard_Real aFirstU)
-{ firstU = aFirstU; }
-
-
-//=======================================================================
-//function : FirstU
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom2d_TrimmedCurve::FirstU() const 
-{ return firstU; }
-
-
-//=======================================================================
-//function : LastU
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_TrimmedCurve::LastU(const Standard_Real aLastU)
-{ lastU = aLastU; }
-
-
-//=======================================================================
-//function : LastU
-//purpose  : 
-//=======================================================================
-
-Standard_Real  PGeom2d_TrimmedCurve::LastU() const 
-{ return lastU; }
-
-
-//=======================================================================
-//function : BasisCurve
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_TrimmedCurve::BasisCurve(const Handle(PGeom2d_Curve)& aBasisCurve)
-{ basisCurve = aBasisCurve; }
-
-
-//=======================================================================
-//function : BasisCurve
-//purpose  : 
-//=======================================================================
-
-Handle(PGeom2d_Curve)  PGeom2d_TrimmedCurve::BasisCurve() const 
-{ return basisCurve; }
diff --git a/src/PGeom2d/PGeom2d_Vector.cdl b/src/PGeom2d/PGeom2d_Vector.cdl
deleted file mode 100644 (file)
index b6cdc48..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
--- Created on: 1993-04-06
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class Vector from PGeom2d inherits Geometry from PGeom2d
-
-        ---Purpose :  Defines a vector in 3D space.
-        --  It can be a Direction (unitary vector) or a vector
-        --  with magnitude.
-        --  
-       ---See Also : Vector from Geom2d.
-
-uses Vec2d from gp
-
-is
-
-
-    Initialize;
-       ---Purpose: Initializes the field(s) with default value(s).
-       ---Level: Advanced 
-
-
-    Initialize(aVec: Vec2d from gp);
-       ---Purpose: Initializes the field vec with <aVec>.
-       ---Level: Advanced 
-
-
-  Vec (me: mutable; aVec: Vec2d from gp);
-        ---Purpose : Set the field vec.
-       ---Level: Advanced 
-
-
-  Vec (me)  returns Vec2d from gp;
-        ---Purpose : Returns the value of the field vec.
-       ---Level: Advanced 
-
-
-fields
-
-  vec : Vec2d from gp is protected;
-
-end;
diff --git a/src/PGeom2d/PGeom2d_Vector.cxx b/src/PGeom2d/PGeom2d_Vector.cxx
deleted file mode 100644 (file)
index 1aacc1b..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-// Created on: 1993-03-04
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom2d_Vector.ixx>
-
-//=======================================================================
-//function : PGeom2d_Vector
-//purpose  : 
-//=======================================================================
-
-PGeom2d_Vector::PGeom2d_Vector(const gp_Vec2d& aVec) :
-       vec(aVec)
-{}
-
-
-//=======================================================================
-//function : PGeom2d_Vector
-//purpose  : 
-//=======================================================================
-
-PGeom2d_Vector::PGeom2d_Vector()
-{}
-
-
-//=======================================================================
-//function : Vec
-//purpose  : 
-//=======================================================================
-
-void  PGeom2d_Vector::Vec(const gp_Vec2d& aVec)
-{ vec = aVec; }
-
-
-//=======================================================================
-//function : Vec
-//purpose  : 
-//=======================================================================
-
-gp_Vec2d PGeom2d_Vector::Vec() const 
-{ return vec; }
diff --git a/src/PGeom2d/PGeom2d_VectorWithMagnitude.cdl b/src/PGeom2d/PGeom2d_VectorWithMagnitude.cdl
deleted file mode 100644 (file)
index 85f56dd..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
--- Created on: 1993-04-06
--- Created by: Philippe DAUTRY
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class VectorWithMagnitude from PGeom2d inherits Vector from PGeom2d
-
-        ---Purpose : Defines a vector  with  magnitude.  A vector with
-        --         magnitude can have a zero length.
-        --         
-       ---See Also : VectorWithMagnitude from Geom2d.
-
-uses Vec2d from gp
-
-is
-
-
-  Create returns VectorWithMagnitude;
-        ---Purpose : Creates a VectorWithMagnitude with default values.
-       ---Level: Advanced 
-
-
-  Create (aVec : Vec2d from gp) returns VectorWithMagnitude;
-        ---Purpose : Creates a VectorWithMagnitude with <aVec>.
-       ---Level: Advanced 
-
-
-end;
diff --git a/src/PGeom2d/PGeom2d_VectorWithMagnitude.cxx b/src/PGeom2d/PGeom2d_VectorWithMagnitude.cxx
deleted file mode 100644 (file)
index 195233b..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// Created on: 1993-03-04
-// Created by: Philippe DAUTRY
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PGeom2d_VectorWithMagnitude.ixx>
-
-//=======================================================================
-//function : PGeom2d_VectorWithMagnitude
-//purpose  : 
-//=======================================================================
-
-PGeom2d_VectorWithMagnitude::PGeom2d_VectorWithMagnitude()
-{}
-
-
-//=======================================================================
-//function : PGeom2d_VectorWithMagnitude
-//purpose  : 
-//=======================================================================
-
-PGeom2d_VectorWithMagnitude::PGeom2d_VectorWithMagnitude
-  (const gp_Vec2d& aVec) :
-       PGeom2d_Vector(aVec)
-{}
diff --git a/src/PMMgt/FILES b/src/PMMgt/FILES
deleted file mode 100755 (executable)
index 5be55c9..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-PMMgt_InsertDelete.tcl
-PMMgt_WOKSteps.edl
diff --git a/src/PMMgt/PMMgt.cdl b/src/PMMgt/PMMgt.cdl
deleted file mode 100644 (file)
index e1b01f1..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
--- Created on: 1992-10-13
--- Created by: Ramin BARRETO
--- Copyright (c) 1992-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package PMMgt 
-
----Purpose:
---   The package <PMMgt> provides storage management facilities, and classes
---   which can manage their own storage. 
---
-
-uses MMgt
-
-is
-    deferred class PManaged;
-
-end PMMgt;
diff --git a/src/PMMgt/PMMgt_InsertDelete.tcl b/src/PMMgt/PMMgt_InsertDelete.tcl
deleted file mode 100644 (file)
index 77b0d93..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright (c) 1999-2014 OPEN CASCADE SAS
-#
-# This file is part of Open CASCADE Technology software library.
-#
-# This library is free software; you can redistribute it and/or modify it under
-# the terms of the GNU Lesser General Public License version 2.1 as published
-# by the Free Software Foundation, with special exception defined in the file
-# OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-# distribution for complete text of the license and disclaimer of any warranty.
-#
-# Alternatively, this file may be used under the terms of Open CASCADE
-# commercial license or contractual agreement.
-
-proc PMMgt_InsertDelete:AdmFileType {} {
-    return "dbadmfile";
-}
-
-proc PMMgt_InsertDelete:OutputDirTypeName {} {
-    return "dbtmpfile";
-}
-
-
-proc PMMgt_InsertDelete:HandleInputFile { ID } { 
-
-    scan $ID "%\[^:\]:%\[^:\]:%\[^:\]"  unit type name
-
-    switch $name {
-       Handle_PMMgt_PManaged.hxx  {return 1;} 
-       default {
-           return 0;
-       }
-    }
-}
-proc PMMgt_InsertDelete:AddDelete {name func} {
-    set status 0
-    set dbmsprof [wokprofile -b]
-    if {$dbmsprof != "DFLT"} {
-       set status [catch { exec grep  -s "^$func" $name >& /dev/null}]
-       if {$status != 0} { 
-           set status [catch {exec sed -e "s?public:?$func?" <$name >${name}.new}]
-           msgprint -i -c "PMMgt_InsertDelete:Execute" "mv ${name}.new  $name"
-           set status [catch {exec mv ${name}.new  $name}]
-           if {$status == 0} {
-               set status [catch {exec chmod 664 $name}]
-           }
-       }
-    }
-
-    return $status
-}
-
-proc PMMgt_InsertDelete:Execute { unit args } {
-    
-    msgprint -i -c "PMMgt_InsertDelete:Execute" "Insert virtual void delete() in Handle"
-    set dbmsprof [wokprofile -b]
-
-    foreach file  $args {
-       scan $file "%\[^:\]:%\[^:\]:%\[^:\]"  Unit type name
-
-       if {$name == "Handle_PMMgt_PManaged.hxx"} {
-           set vistarget [woklocate -p PMMgt:pubinclude:$name [wokinfo -N $unit]]
-           set target    [wokinfo -p pubinclude:$name $unit]
-           set status [PMMgt_InsertDelete:AddDelete $vistarget "public: Standard_EXPORT void Delete();"]
-       }
-    }
-
-    return 0;
-}
diff --git a/src/PMMgt/PMMgt_PManaged.cdl b/src/PMMgt/PMMgt_PManaged.cdl
deleted file mode 100644 (file)
index ffe4327..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
--- Created on: 1992-10-13
--- Created by: Ramin BARRETO
--- Copyright (c) 1992-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class PManaged from PMMgt
-
-inherits Persistent from Standard
-
-  ---Purpose: 
-  --   The class <PManaged> is a persistent abstract base class that
-  --   provides a strategy for managing  the necessary storage 
-  --   for an instance of <PManaged> (allocation and deallocation).
-  --   The storage is taken from Persistent cache.
-  --
-  --   The storage of an instance is returned to persistent cache
-  --   when the instance is deleted explicitly.
-  --
-  --   The persistent classes like the persistent nodes benefit from
-  --   the "PManaged" allocator if they inherit from <PManaged>.
-  --   
-  --  Warning: 
-  --    The only way to delete explicitly an instance of <PManaged> is 
-  --    to apply the method "Delete()" to a "Handle(PManaged)".
-  --    Exemple:
-  --       Handle(PManaged) aHand ;
-  --       ...
-  --       aHand.Delete(); 
-  --       
-
-uses  
-   Integer from Standard
-
-raises  
-    OutOfMemory from Standard
-  
-is
-    --New(myclass; aSize: Integer) returns PManaged
-    ---Purpose:
-    --   Returns an instance. The storage of the given "size" is 
-    --   allocated by <StorageManager>.
-    --
-    --raises  
-    -- OutOfMemory;  
-    -- -- If the allocation fails.
-    -- -C++: alias "void* operator new (size_t);"
-    ---Level: Advanced
-
-    --Delete(myclass; aInstance: PManaged; aSize: Integer);
-    ---Purpose: 
-    --   Returns the storage of the given size to the <StorageManager>.
-    --   The application using "Delete" must guarantee that the
-    --   instance is not shared.
-    --
-    -- -C++: alias "void operator delete (void*, size_t);"
-    ---Level: Advanced
-
-    --Destructor(me);
-    ---Purpose: 
-    --   The virtual Destructor for the class "PManaged". This
-    --   declaration is necessary for the C++ compiler to
-    --   generate a call to "operator delete" with the real size
-    --   of the object.
-    --
-    -- -C+..+: alias "virtual ~PMMgt_PManaged();"
-    ---Level: Advanced
-    
-    Initialize ;
-    
-end PManaged from PMMgt;
-
diff --git a/src/PMMgt/PMMgt_PManaged.cxx b/src/PMMgt/PMMgt_PManaged.cxx
deleted file mode 100644 (file)
index c745864..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PMMgt_PManaged.ixx>
-#include <Standard_TypeMismatch.hxx>
-
-PMMgt_PManaged::PMMgt_PManaged()
-{
-}
-
-//============================================================================
-#ifndef CSFDB
-class _Oid_PMMgt_PManaged : public Oid_PMMgt_PManaged {
-    friend class Handle(PMMgt_PManaged);
-};
-
-void Handle(PMMgt_PManaged)::Delete()
-{
-//  PMMgt_PManaged* aMng;
-  _Oid_PMMgt_PManaged *aOid;
-  aOid = (_Oid_PMMgt_PManaged *) operator->();
-
-  Standard_TypeMismatch_Raise_if(!aOid->IsKind(STANDARD_TYPE(PMMgt_PManaged)),
-                                "Handle(PMMgt_PManaged)::TypeMisPMatch");
-
-//  aMng = (PMMgt_PManaged*) aOid->UpdateAccess();
-  aOid->UpdateAccess();
-  aOid->EndAccess();
-
-#ifdef OBJY
-  //==== Remove the "Oid" from MDTV Cache ===================================
-  // void CacheRemove(const Standard_Persistent*);
-  // CacheRemove(aMng);
-#endif 
-
-  Nullify();
-//  delete aMng;
-}
-#endif
-#ifdef OBJY
-void PHandle_PMMgt_PManaged::Delete()
-{
-}
-
-void PMMgt_PManaged::operator delete (void *, size_t)
-{
-}
-#endif
diff --git a/src/PMMgt/PMMgt_WOKSteps.edl b/src/PMMgt/PMMgt_WOKSteps.edl
deleted file mode 100644 (file)
index f9357ce..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
--- Copyright (c) 1998-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-@ifnotdefined(%PMMgt_WOKSteps_EDL) then
-@set %PMMgt_WOKSteps_EDL = "";
-
-@string %WOKSteps_XcppGroup += " xcpp.std ";
-@set %WOKSteps_xcpp_std = "*PMMgt_InsertDelete(xcpp.header)";
-
-@endif;
-
diff --git a/src/PNaming/PNaming.cdl b/src/PNaming/PNaming.cdl
deleted file mode 100644 (file)
index 2a11170..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
--- Created on: 1997-04-11
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package PNaming 
-
-       ---Purpose: 
-
-uses Standard,
-     PCollection,
-     PTopoDS,
-     PColStd,
-     PDF
-    
-is
-
-    class Name; 
-    
-    class Name_1; 
-
-       class Name_2; 
-    
-    class NamedShape;
-    
-    class Naming; 
-    
-    class Naming_1; 
-    
-       class Naming_2; 
-
-    class HArray1OfNamedShape instantiates HArray1 from PCollection (NamedShape);
-    
-end PNaming;
diff --git a/src/PNaming/PNaming_Name.cdl b/src/PNaming/PNaming_Name.cdl
deleted file mode 100644 (file)
index 4cbda2b..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
--- Created on: 1997-10-24
--- Created by: Yves FRICAUD
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Name from PNaming inherits Persistent from Standard
-
-       ---Purpose: 
-
-uses
-   NamedShape          from PNaming,
-   HArray1OfNamedShape from PNaming
-
-is
-    Create returns Name from PNaming;
-    
-    Type      (me : mutable; T : Integer from Standard);
-    ---C++: inline
-    
-    ShapeType (me : mutable; T : Integer from Standard);
-    ---C++: inline
-    
-    Arguments (me :mutable ; Args : HArray1OfNamedShape from PNaming);
-    ---C++: inline
-
-    StopNamedShape (me : mutable; arg : NamedShape  from PNaming);
-    ---C++: inline
-    Type      (me) returns Integer from Standard;
-    ---C++: inline
-    
-    ShapeType (me) returns Integer from Standard;
-    ---C++: inline
-
-    Arguments (me) returns HArray1OfNamedShape from PNaming;
-    ---C++: inline
-
-    StopNamedShape (me) returns NamedShape  from PNaming;
-     ---C++: inline
-
-    Index(me : mutable; I : Integer from Standard);
-    ---C++: inline
-
-    Index(me) returns Integer from Standard;
-    ---C++: inline
-
-fields 
-
-    myType      : Integer             from Standard;
-    myShapeType : Integer             from Standard;
-    myArgs      : HArray1OfNamedShape from PNaming;
-    myStop      : NamedShape          from PNaming;
-    myIndex     : Integer             from Standard;
-
-end Name;
diff --git a/src/PNaming/PNaming_Name.cxx b/src/PNaming/PNaming_Name.cxx
deleted file mode 100644 (file)
index fbe24cd..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-// Created on: 1997-10-27
-// Created by: Yves FRICAUD
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PNaming_Name.ixx>
-
-
-//=======================================================================
-//function : PNaming_Name
-//purpose  : 
-//=======================================================================
-
-PNaming_Name::PNaming_Name() : myType(0), myShapeType(0), myIndex(0)
-{
-}
diff --git a/src/PNaming/PNaming_Name.lxx b/src/PNaming/PNaming_Name.lxx
deleted file mode 100644 (file)
index 8660c65..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-// Created on: 1997-10-28
-// Created by: Yves FRICAUD
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-inline   void PNaming_Name::Type(const Standard_Integer T) 
-{myType = T;}
-
-inline   void PNaming_Name::ShapeType(const Standard_Integer T) 
-{myShapeType = T;}
-
-inline   void PNaming_Name::Arguments(const Handle(PNaming_HArray1OfNamedShape)& Args)
-{myArgs = Args;}
-
-inline   void PNaming_Name::StopNamedShape(const Handle(PNaming_NamedShape)& NS)
-{myStop = NS;}
-
-inline   void PNaming_Name::Index(const Standard_Integer I) 
-{myIndex = I;}
-
-inline   Standard_Integer PNaming_Name::Type() const
-{return myType;}
-
-inline   Standard_Integer PNaming_Name::ShapeType() const 
-{return myShapeType;}
-
-inline   Handle(PNaming_HArray1OfNamedShape) PNaming_Name::Arguments() const
-{return myArgs;}
-
-inline   Handle(PNaming_NamedShape) PNaming_Name::StopNamedShape() const
-{return myStop;}
-
-inline   Standard_Integer PNaming_Name::Index() const
-{return myIndex;}
-
diff --git a/src/PNaming/PNaming_Name_1.cdl b/src/PNaming/PNaming_Name_1.cdl
deleted file mode 100644 (file)
index b1a3b83..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
--- Created on: 2008-08-15
--- Created by: Sergey ZARITCHNY <szy@opencascade.com>
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Name_1 from PNaming inherits Persistent from Standard
-
-       ---Purpose: 
-uses
-   NamedShape          from PNaming,
-   HArray1OfNamedShape from PNaming, 
-   HAsciiString        from PCollection
-
-is
-    Create returns Name_1 from PNaming;
-    
-    Type      (me : mutable; T : Integer from Standard);
-    ---C++: inline
-    
-    ShapeType (me : mutable; T : Integer from Standard);
-    ---C++: inline
-    
-    Arguments (me :mutable ; Args : HArray1OfNamedShape from PNaming);
-    ---C++: inline
-
-    StopNamedShape (me : mutable; arg : NamedShape  from PNaming);
-    ---C++: inline
-    Type      (me) returns Integer from Standard;
-    ---C++: inline
-    
-    ShapeType (me) returns Integer from Standard;
-    ---C++: inline
-
-    Arguments (me) returns HArray1OfNamedShape from PNaming;
-    ---C++: inline
-
-    StopNamedShape (me) returns NamedShape  from PNaming;
-     ---C++: inline
-
-    Index(me : mutable; I : Integer from Standard);
-    ---C++: inline
-
-    Index(me) returns Integer from Standard;
-    ---C++: inline
-
-    ContextLabel   (me) returns HAsciiString from PCollection;
-    ---C++: return const&
-    ---C++: inline 
-    
-    ContextLabel   (me : mutable; theLab : HAsciiString from PCollection);
-    ---C++: inline 
-    
-fields 
-
-    myType         : Integer             from Standard;
-    myShapeType    : Integer             from Standard;
-    myArgs         : HArray1OfNamedShape from PNaming;
-    myStop         : NamedShape          from PNaming;
-    myIndex        : Integer             from Standard;
-    myContextLabel : HAsciiString        from PCollection;  
-
-end Name_1;
diff --git a/src/PNaming/PNaming_Name_1.cxx b/src/PNaming/PNaming_Name_1.cxx
deleted file mode 100644 (file)
index 85b6483..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-// Created on: 2008-08-15
-// Created by: Sergey ZARITCHNY <szy@op
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PNaming_Name_1.ixx>
-
-//=======================================================================
-//function : PNaming_Name_1
-//purpose  : 
-//=======================================================================
-
-PNaming_Name_1::PNaming_Name_1() : myType(0), myShapeType(0), myIndex(0)
-{
-}
diff --git a/src/PNaming/PNaming_Name_1.lxx b/src/PNaming/PNaming_Name_1.lxx
deleted file mode 100644 (file)
index a8cc09b..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-// Created on: 2008-08-15
-// Created by: Sergey ZARITCHNY <szy@op
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-inline   void PNaming_Name_1::Type(const Standard_Integer T) 
-{myType = T;}
-
-inline   void PNaming_Name_1::ShapeType(const Standard_Integer T) 
-{myShapeType = T;}
-
-inline   void PNaming_Name_1::Arguments(const Handle(PNaming_HArray1OfNamedShape)& Args)
-{myArgs = Args;}
-
-inline   void PNaming_Name_1::StopNamedShape(const Handle(PNaming_NamedShape)& NS)
-{myStop = NS;}
-
-inline   void PNaming_Name_1::Index(const Standard_Integer I) 
-{myIndex = I;}
-
-inline   Standard_Integer PNaming_Name_1::Type() const
-{return myType;}
-
-inline   Standard_Integer PNaming_Name_1::ShapeType() const 
-{return myShapeType;}
-
-inline   Handle(PNaming_HArray1OfNamedShape) PNaming_Name_1::Arguments() const
-{return myArgs;}
-
-inline   Handle(PNaming_NamedShape) PNaming_Name_1::StopNamedShape() const
-{return myStop;}
-
-inline   Standard_Integer PNaming_Name_1::Index() const
-{return myIndex;}
-
-inline  void PNaming_Name_1::ContextLabel(const Handle(PCollection_HAsciiString)& theLabel)
-{myContextLabel = theLabel;}
-
-inline   const Handle(PCollection_HAsciiString)& PNaming_Name_1::ContextLabel() const 
-{return myContextLabel;}
-
diff --git a/src/PNaming/PNaming_Name_2.cdl b/src/PNaming/PNaming_Name_2.cdl
deleted file mode 100644 (file)
index 03b1a85..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
--- Created on: 2008-08-15
--- Created by: Sergey ZARITCHNY <szy@opencascade.com>
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Name_2 from PNaming inherits Persistent from Standard
-
-       ---Purpose: 
-uses
-   NamedShape          from PNaming,
-   HArray1OfNamedShape from PNaming, 
-   HAsciiString        from PCollection
-
-is
-    Create returns Name_2 from PNaming;
-    
-    Type      (me : mutable; T : Integer from Standard);
-    ---C++: inline
-    
-    ShapeType (me : mutable; T : Integer from Standard);
-    ---C++: inline
-    
-    Arguments (me :mutable ; Args : HArray1OfNamedShape from PNaming);
-    ---C++: inline
-
-    StopNamedShape (me : mutable; arg : NamedShape  from PNaming);
-    ---C++: inline
-
-    Orientation (me : mutable; Or : Integer from Standard);
-    ---C++: inline
-    Type      (me) returns Integer from Standard;
-    ---C++: inline
-    
-    ShapeType (me) returns Integer from Standard;
-    ---C++: inline
-
-    Arguments (me) returns HArray1OfNamedShape from PNaming;
-    ---C++: inline
-
-    StopNamedShape (me) returns NamedShape  from PNaming;
-     ---C++: inline
-
-    Index(me : mutable; I : Integer from Standard);
-    ---C++: inline
-
-    Index(me) returns Integer from Standard;
-    ---C++: inline
-
-    ContextLabel   (me) returns HAsciiString from PCollection;
-    ---C++: return const&
-    ---C++: inline 
-    
-    ContextLabel   (me : mutable; theLab : HAsciiString from PCollection);
-    ---C++: inline
-       
-    Orientation(me) returns Integer from Standard; 
-    ---C++: inline
-
-fields 
-
-    myType         : Integer             from Standard;
-    myShapeType    : Integer             from Standard;
-    myArgs         : HArray1OfNamedShape from PNaming;
-    myStop         : NamedShape          from PNaming;
-    myIndex        : Integer             from Standard;
-    myContextLabel : HAsciiString        from PCollection;
-    myOrientation  : Integer             from Standard;
-end Name_2;
diff --git a/src/PNaming/PNaming_Name_2.cxx b/src/PNaming/PNaming_Name_2.cxx
deleted file mode 100644 (file)
index 6f8417e..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-// Created on: 2008-08-15
-// Created by: Sergey ZARITCHNY <szy@op
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PNaming_Name_2.ixx>
-
-//=======================================================================
-//function : PNaming_Name_2
-//purpose  : 
-//=======================================================================
-
-PNaming_Name_2::PNaming_Name_2() : myType(0), myShapeType(0), myIndex(0), myOrientation(0)
-{
-}
diff --git a/src/PNaming/PNaming_Name_2.lxx b/src/PNaming/PNaming_Name_2.lxx
deleted file mode 100644 (file)
index e9037fa..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-// Created on: 2008-08-15
-// Created by: Sergey ZARITCHNY <szy@op
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-inline   void PNaming_Name_2::Type(const Standard_Integer T) 
-{myType = T;}
-
-inline   void PNaming_Name_2::ShapeType(const Standard_Integer T) 
-{myShapeType = T;}
-
-inline   void PNaming_Name_2::Arguments(const Handle(PNaming_HArray1OfNamedShape)& Args)
-{myArgs = Args;}
-
-inline   void PNaming_Name_2::StopNamedShape(const Handle(PNaming_NamedShape)& NS)
-{myStop = NS;}
-
-inline   void PNaming_Name_2::Index(const Standard_Integer I) 
-{myIndex = I;}
-
-inline   Standard_Integer PNaming_Name_2::Type() const
-{return myType;}
-
-inline   Standard_Integer PNaming_Name_2::ShapeType() const 
-{return myShapeType;}
-
-inline   Handle(PNaming_HArray1OfNamedShape) PNaming_Name_2::Arguments() const
-{return myArgs;}
-
-inline   Handle(PNaming_NamedShape) PNaming_Name_2::StopNamedShape() const
-{return myStop;}
-
-inline   Standard_Integer PNaming_Name_2::Index() const
-{return myIndex;}
-
-inline  void PNaming_Name_2::ContextLabel(const Handle(PCollection_HAsciiString)& theLabel)
-{myContextLabel = theLabel;}
-
-inline   const Handle(PCollection_HAsciiString)& PNaming_Name_2::ContextLabel() const 
-{return myContextLabel;}
-
-inline   void PNaming_Name_2::Orientation(const Standard_Integer Or) 
-{myOrientation = Or;}
-
-inline   Standard_Integer PNaming_Name_2::Orientation() const 
-{return myOrientation;}
diff --git a/src/PNaming/PNaming_NamedShape.cdl b/src/PNaming/PNaming_NamedShape.cdl
deleted file mode 100644 (file)
index 6650899..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
--- Created on: 1997-04-11
--- Created by: VAUTHIER Jean-Claude
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class NamedShape from PNaming inherits Attribute from PDF
-
-       ---Purpose: This is the persistent attribute of the
-       --          topological naming.
-
-uses
-
-    HArray1OfShape1 from PTopoDS,
-    HArray1OfInteger from PColStd
-
-
-is
-
-
-    Create returns NamedShape from PNaming;
-       ---Purpose: Creates a mutable NamedShape from PNaming.
-
-    
-    NbShapes(me) returns Integer;
-       ---Purpose: Returns the number of shapes.
-
-
-    OldShapes(me : mutable; theShapes : HArray1OfShape1 from PTopoDS);
-       ---Purpose: Sets the field <myOldShapes>.
-    
-    OldShapes(me) returns HArray1OfShape1 from PTopoDS;
-       ---Purpose: Returns the field <myOldShapes>.
-    
-
-    NewShapes(me : mutable; theShapes : HArray1OfShape1 from PTopoDS);
-       ---Purpose: Sets the field <myNewShapes>.
-    
-    NewShapes(me) returns HArray1OfShape1 from PTopoDS;
-       ---Purpose: Returns the field <myNewShapes>.
-    
-
-    ShapeStatus(me : mutable; theShapeStatus : Integer from Standard);
-       ---Purpose: Sets the field <myShapeStatus>.
-    
-    ShapeStatus(me) returns Integer from Standard;
-       ---Purpose: Returns the field <myShapeStatus>.
-    
-    Version (me : mutable; theVersion : Integer from Standard);
-       ---Purpose: Sets the field <myVersion>.
-    
-    Version (me) returns Integer from Standard;
-        ---Purpose: Returns the field <myVersion>.
-           
-fields
-
-    myOldShapes    : HArray1OfShape1 from PTopoDS;
-    myNewShapes    : HArray1OfShape1 from PTopoDS;
-    myShapeStatus  : Integer         from Standard;
-    myVersion      : Integer         from Standard;
-
-end NamedShape;
diff --git a/src/PNaming/PNaming_NamedShape.cxx b/src/PNaming/PNaming_NamedShape.cxx
deleted file mode 100644 (file)
index 21538cc..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-// Created on: 1997-04-15
-// Created by: VAUTHIER Jean-Claude
-// Copyright (c) 1997-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PNaming_NamedShape.ixx>
-
-//=======================================================================
-//function : PNaming_NamedShape
-//purpose  : 
-//=======================================================================
-
-PNaming_NamedShape::PNaming_NamedShape() :
-    myShapeStatus(0),
-       myVersion(0)
-{
-}
-
-//=======================================================================
-//function : NbShapes
-//purpose  : 
-//=======================================================================
-
-Standard_Integer PNaming_NamedShape::NbShapes() const
-{ 
-  if (myNewShapes.IsNull()) return 0;
-  return myNewShapes->Length(); 
-}
-
-
-//=======================================================================
-//function : OldShapes
-//purpose  : 
-//=======================================================================
-
-void PNaming_NamedShape::OldShapes
-(const Handle(PTopoDS_HArray1OfShape1)& theShapes) 
-{ myOldShapes = theShapes; }
-
-
-//=======================================================================
-//function : OldShapes
-//purpose  : 
-//=======================================================================
-
-Handle(PTopoDS_HArray1OfShape1) PNaming_NamedShape::OldShapes() const
-{ return myOldShapes; }
-
-
-//=======================================================================
-//function : NewShapes
-//purpose  : 
-//=======================================================================
-
-void PNaming_NamedShape::NewShapes
-(const Handle(PTopoDS_HArray1OfShape1)& theShapes) 
-{ myNewShapes = theShapes; }
-
-
-//=======================================================================
-//function : NewShapes
-//purpose  : 
-//=======================================================================
-
-Handle(PTopoDS_HArray1OfShape1) PNaming_NamedShape::NewShapes() const
-{ return myNewShapes; }
-
-
-//=======================================================================
-//function : ShapeStatus
-//purpose  : 
-//=======================================================================
-
-void PNaming_NamedShape::ShapeStatus
-(const Standard_Integer theShapeStatus) 
-{ myShapeStatus = theShapeStatus; }
-
-
-//=======================================================================
-//function : ShapeStatus
-//purpose  : 
-//=======================================================================
-
-Standard_Integer PNaming_NamedShape::ShapeStatus() const
-{ return myShapeStatus; }
-
-//=======================================================================
-//function : Version
-//purpose  : 
-//=======================================================================
-
-void PNaming_NamedShape::Version
-(const Standard_Integer theVersion) 
-{ myVersion = theVersion; }
-
-
-//=======================================================================
-//function : Version
-//purpose  : 
-//=======================================================================
-
-Standard_Integer PNaming_NamedShape::Version() const
-{ return myVersion; }
diff --git a/src/PNaming/PNaming_Naming.cdl b/src/PNaming/PNaming_Naming.cdl
deleted file mode 100644 (file)
index 88623f6..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
--- Created on: 1999-10-21
--- Created by: Denis PASCAL
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Naming from PNaming inherits Attribute from PDF
-
-       ---Purpose: 
-
-uses 
-    Name from PNaming
-                           
-is
-    Create
-    returns Naming from PNaming;
-    
-    SetName(me : mutable ; aName : Name from PNaming);
-
-    GetName(me) returns Name from PNaming;
-
-fields
-
-    myName :  Name from PNaming;
-
-end Naming;
diff --git a/src/PNaming/PNaming_Naming.cxx b/src/PNaming/PNaming_Naming.cxx
deleted file mode 100644 (file)
index 5cc1d96..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-// Created on: 1999-10-21
-// Created by: Denis PASCAL
-// Copyright (c) 1999-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PNaming_Naming.ixx>
-
-
-//=======================================================================
-//function : PNaming_Naming
-//purpose  : 
-//=======================================================================
-
-PNaming_Naming::PNaming_Naming() {}
-
-
-//=======================================================================
-//function : SetName
-//purpose  : 
-//=======================================================================
-
-void PNaming_Naming::SetName(const Handle(PNaming_Name)& Name) 
-{myName = Name ;}
-
-//=======================================================================
-//function : GetName
-//purpose  : 
-//=======================================================================
-
-Handle(PNaming_Name) PNaming_Naming::GetName() const
-{
-  return myName;
-}
diff --git a/src/PNaming/PNaming_Naming_1.cdl b/src/PNaming/PNaming_Naming_1.cdl
deleted file mode 100644 (file)
index 1f87b03..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
--- Created on: 2008-08-15
--- Created by: Sergey ZARITCHNY <szy@opencascade.com>
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Naming_1 from PNaming inherits Attribute from PDF
-
-       ---Purpose: 
-uses 
-    Name_1 from PNaming
-                           
-is
-    Create
-    returns Naming_1 from PNaming;
-    
-    SetName(me : mutable ; aName : Name_1 from PNaming);
-
-    GetName(me) returns Name_1 from PNaming;
-
-fields
-
-    myName :  Name_1 from PNaming;
-
-
-end Naming_1;
diff --git a/src/PNaming/PNaming_Naming_1.cxx b/src/PNaming/PNaming_Naming_1.cxx
deleted file mode 100644 (file)
index a40492e..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-// Created on: 2008-08-15
-// Created by: Sergey ZARITCHNY
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PNaming_Naming_1.ixx>
-
-//=======================================================================
-//function : PNaming_Naming_1
-//purpose  : 
-//=======================================================================
-
-PNaming_Naming_1::PNaming_Naming_1() {}
-
-
-//=======================================================================
-//function : SetName
-//purpose  : 
-//=======================================================================
-
-void PNaming_Naming_1::SetName(const Handle(PNaming_Name_1)& Name) 
-{myName = Name ;}
-
-//=======================================================================
-//function : GetName
-//purpose  : 
-//=======================================================================
-
-Handle(PNaming_Name_1) PNaming_Naming_1::GetName() const
-{
-  return myName;
-}
diff --git a/src/PNaming/PNaming_Naming_2.cdl b/src/PNaming/PNaming_Naming_2.cdl
deleted file mode 100644 (file)
index 24bab6b..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
--- Created on: 2008-08-15
--- Created by: Sergey ZARITCHNY <szy@opencascade.com>
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Naming_2 from PNaming inherits Attribute from PDF
-
-       ---Purpose: 
-uses 
-    Name_2 from PNaming
-                           
-is
-    Create
-    returns Naming_2 from PNaming;
-    
-    SetName(me : mutable ; aName : Name_2 from PNaming);
-
-    GetName(me) returns Name_2 from PNaming;
-
-fields
-
-    myName :  Name_2 from PNaming;
-
-end Naming_2;
diff --git a/src/PNaming/PNaming_Naming_2.cxx b/src/PNaming/PNaming_Naming_2.cxx
deleted file mode 100644 (file)
index 4a4da11..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-// Created on: 2008-08-15
-// Created by: Sergey ZARITCHNY
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PNaming_Naming_2.ixx>
-
-//=======================================================================
-//function : PNaming_Naming_2
-//purpose  : 
-//=======================================================================
-
-PNaming_Naming_2::PNaming_Naming_2() {}
-
-
-//=======================================================================
-//function : SetName
-//purpose  : 
-//=======================================================================
-
-void PNaming_Naming_2::SetName(const Handle(PNaming_Name_2)& Name) 
-{myName = Name ;}
-
-//=======================================================================
-//function : GetName
-//purpose  : 
-//=======================================================================
-
-Handle(PNaming_Name_2) PNaming_Naming_2::GetName() const
-{
-  return myName;
-}
diff --git a/src/PPoly/PPoly.cdl b/src/PPoly/PPoly.cdl
deleted file mode 100644 (file)
index 50125b7..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
--- Created on: 1995-10-24
--- Created by: Mister rmi
--- Copyright (c) 1995-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package PPoly 
-
-       ---Purpose: This  package  provides  persistent classes  to
-       --          handle :
-       --          
-       --          * 3D triangular polyhedrons.
-       --          
-       --          * 3D polygons.
-       --          
-       --          * 2D polygon.
-
-uses    PCollection,
-        PColStd,
-       PColgp
-
-is
-
-    class Triangle;
-
-    class Triangulation;
-
-    class Polygon3D;
-
-    class Polygon2D;
-
-    class PolygonOnTriangulation;
-
-    class HArray1OfTriangle
-    instantiates HArray1 from PCollection(Triangle from PPoly);
-
-end PPoly;
diff --git a/src/PPoly/PPoly_Polygon2D.cdl b/src/PPoly/PPoly_Polygon2D.cdl
deleted file mode 100644 (file)
index e2f9dc6..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
--- Created on: 1995-10-24
--- Created by: Mister rmi
--- Copyright (c) 1995-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Polygon2D from PPoly inherits Persistent from Standard
-
-       ---Purpose: This class represents a 2d polygon.
-       --          
-       --          It is defined by an array of 2d nodes values.
-       --          If the Polygon2D is closed, the point will be
-       --          repeated.
-
-
-uses HArray1OfPnt2d  from PColgp
-
-is
-
-    Create(Nodes: HArray1OfPnt2d from PColgp;
-          Defl : Real from Standard) 
-    returns Polygon2D from PPoly;
-       ---Purpose: Defaults with allocation of nodes.
-    
-    Deflection(me) returns Real;
-
-    Deflection(me : mutable; Defl : Real from Standard);
-    
-    NbNodes(me) returns Integer;
-    
-    Nodes(me) returns HArray1OfPnt2d from PColgp;
-
-    Nodes(me : mutable; Nodes : HArray1OfPnt2d from PColgp);
-    
-fields
-
-    myDeflection: Real;
-    myNodes:      HArray1OfPnt2d from PColgp;
-
-end Polygon2D;
diff --git a/src/PPoly/PPoly_Polygon2D.cxx b/src/PPoly/PPoly_Polygon2D.cxx
deleted file mode 100644 (file)
index f612c92..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PPoly_Polygon2D.ixx>
-
-PPoly_Polygon2D::PPoly_Polygon2D(const Handle(PColgp_HArray1OfPnt2d)& Nodes,
-                                const Standard_Real Defl) :
-                                myDeflection(Defl),
-                                myNodes(Nodes)
-{
-}
-
-Standard_Real PPoly_Polygon2D::Deflection() const 
-{
-  return myDeflection;
-}
-
-void PPoly_Polygon2D::Deflection(const Standard_Real Defl)
-{
-  myDeflection = Defl;
-}
-
-Standard_Integer PPoly_Polygon2D::NbNodes() const 
-{
-  return myNodes->Length();
-
-}
-
-Handle(PColgp_HArray1OfPnt2d) PPoly_Polygon2D::Nodes() const 
-{
-  return myNodes;
-}
-
-void PPoly_Polygon2D::Nodes(const Handle(PColgp_HArray1OfPnt2d)& Nodes)
-{
-  myNodes = Nodes;
-}
diff --git a/src/PPoly/PPoly_Polygon3D.cdl b/src/PPoly/PPoly_Polygon3D.cdl
deleted file mode 100644 (file)
index 9c400ce..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
--- Created on: 1995-10-24
--- Created by: Mister rmi
--- Copyright (c) 1995-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Polygon3D from PPoly inherits Persistent from Standard
-
-       ---Purpose: This class represents a 3d Polygon3D.
-       --          
-       --          It is defined by an array of 3d nodes values.
-       --          If the Polygon3D is closed, the point will be
-       --          repeated.
-
-
-uses HArray1OfPnt  from PColgp,
-     HArray1OfReal from PColStd
-
-is
-
-    Create(Nodes: HArray1OfPnt from PColgp;
-          Defl : Real from Standard) 
-    returns Polygon3D from PPoly;
-       ---Purpose: Defaults with allocation of nodes.
-
-    Create(Nodes      : HArray1OfPnt  from PColgp;
-           Parameters : HArray1OfReal from PColStd;
-          Defl       : Real          from Standard) 
-    returns Polygon3D from PPoly;
-       ---Purpose: Defaults with allocation of nodes + Parameters
-    
-
-    Deflection(me) returns Real;
-
-    Deflection(me : mutable; Defl : Real from Standard);
-    
-
-    NbNodes(me) returns Integer;
-    
-    Nodes(me) returns HArray1OfPnt from PColgp;
-
-    Nodes(me : mutable; Nodes : HArray1OfPnt from PColgp);
-    
-
-    HasParameters(me) returns Boolean from Standard;
-
-    Parameters(me : mutable; Parameters : HArray1OfReal from PColStd);
-       ---Purpose: Sets the value of myParameters
-
-    Parameters(me) returns HArray1OfReal from PColStd;
-       ---Purpose: Reference on the parameters values.
-    
-fields
-
-    myDeflection : Real          from Standard;
-    myNodes      : HArray1OfPnt  from PColgp;
-    myParameters : HArray1OfReal from PColStd;
-       -- myParameters is Optional (Pointer can be Null)
-    
-end Polygon3D;
diff --git a/src/PPoly/PPoly_Polygon3D.cxx b/src/PPoly/PPoly_Polygon3D.cxx
deleted file mode 100644 (file)
index b825b3e..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PPoly_Polygon3D.ixx>
-
-//=======================================================================
-//function :
-//purpose  : 
-//=======================================================================
-
-
-PPoly_Polygon3D::PPoly_Polygon3D(const Handle(PColgp_HArray1OfPnt)& Nodes,
-                                const Standard_Real Defl) :
-                                myDeflection(Defl),
-                                myNodes(Nodes)
-{
-}
-
-//=======================================================================
-//function :
-//purpose  : 
-//=======================================================================
-
-
-PPoly_Polygon3D::PPoly_Polygon3D(const Handle(PColgp_HArray1OfPnt)& Nodes,
-                                const Handle(PColStd_HArray1OfReal)& Param,
-                                const Standard_Real Defl) :
-                                myDeflection(Defl),
-                                myNodes(Nodes),
-                                myParameters(Param)
-{
-}
-
-//=======================================================================
-//function :
-//purpose  : 
-//=======================================================================
-
-
-Standard_Real PPoly_Polygon3D::Deflection() const 
-{
-  return myDeflection;
-}
-
-//=======================================================================
-//function :
-//purpose  : 
-//=======================================================================
-
-
-void PPoly_Polygon3D::Deflection(const Standard_Real Defl)
-{
-  myDeflection = Defl;
-}
-
-//=======================================================================
-//function :
-//purpose  : 
-//=======================================================================
-
-
-Standard_Integer PPoly_Polygon3D::NbNodes() const 
-{
-  return myNodes->Length();
-}
-
-//=======================================================================
-//function :
-//purpose  : 
-//=======================================================================
-
-
-Handle(PColgp_HArray1OfPnt) PPoly_Polygon3D::Nodes() const 
-{
-  return myNodes;
-}
-
-
-//=======================================================================
-//function :
-//purpose  : 
-//=======================================================================
-
-void PPoly_Polygon3D::Nodes(const Handle(PColgp_HArray1OfPnt)& Nodes)
-{
-  myNodes = Nodes;
-}
-
-//=======================================================================
-//function :
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean PPoly_Polygon3D::HasParameters() const 
-{
-  return (!myParameters.IsNull());
-}
-
-
-//=======================================================================
-//function :
-//purpose  : 
-//=======================================================================
-
-void PPoly_Polygon3D::Parameters(const Handle(PColStd_HArray1OfReal)& Param)
-{
-  myParameters = Param;
-}
-
-
-//=======================================================================
-//function :
-//purpose  : 
-//=======================================================================
-
-Handle(PColStd_HArray1OfReal) PPoly_Polygon3D::Parameters() const 
-{
-  return myParameters;
-}
-
diff --git a/src/PPoly/PPoly_PolygonOnTriangulation.cdl b/src/PPoly/PPoly_PolygonOnTriangulation.cdl
deleted file mode 100644 (file)
index 45f1898..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
--- Created on: 1996-06-05
--- Created by: Mister rmi
--- Copyright (c) 1996-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class PolygonOnTriangulation from PPoly inherits Persistent from Standard
-
-       ---Purpose: This class represents a 3d Polygon based on
-       --          indices of triangulation nodes.
-       --          
-       --          This polygon may also have a parametric
-       --          representation.
-
-
-uses HArray1OfInteger  from PColStd,
-     HArray1OfReal     from PColStd
-
-raises NullObject from Standard
-
-is
-
-    Create returns PolygonOnTriangulation from PPoly;
-    
-    Create(Nodes : HArray1OfInteger from PColStd;
-          Defl  : Real             from Standard)
-    returns PolygonOnTriangulation from PPoly;
-       ---Purpose: Defaults with allocation of nodes.
-    
-    Create(Nodes      : HArray1OfInteger from PColStd;
-                  Defl       : Real             from Standard;
-           Parameters : HArray1OfReal    from PColStd) 
-    returns PolygonOnTriangulation from PPoly;
-       ---Purpose: Defaults with allocation of nodes.
-    
-    Deflection(me) returns Real;
-    
-    Deflection(me : mutable; D : Real);
-
-
-    NbNodes(me) returns Integer;
-    
-    Nodes(me) returns HArray1OfInteger from PColStd;
-       ---Purpose: Reference on the 3d nodes indices.
-
-    Nodes(me : mutable; Nodes : HArray1OfInteger from PColStd);
-    
-    HasParameters(me) returns Boolean from Standard;
-    
-    Parameters(me) returns HArray1OfReal from PColStd;
-       ---Purpose: Returns the parameters values.
-
-    Parameters(me : mutable; Param : HArray1OfReal from PColStd);
-    
-    
-fields
-
-    myDeflection    : Real             from Standard;
-    myNodes         : HArray1OfInteger from PColStd;
-    myParameters    : HArray1OfReal    from PColStd; 
-        -- myParameters is Optional (pointer can be null)
-    
-end PolygonOnTriangulation;
diff --git a/src/PPoly/PPoly_PolygonOnTriangulation.cxx b/src/PPoly/PPoly_PolygonOnTriangulation.cxx
deleted file mode 100644 (file)
index 059b244..0000000
+++ /dev/null
@@ -1,134 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PPoly_PolygonOnTriangulation.ixx>
-
-//=======================================================================
-//function : PPoly_PolygonOnTriangulation
-//purpose  : 
-//=======================================================================
-
-PPoly_PolygonOnTriangulation::PPoly_PolygonOnTriangulation()
-{
-}
-
-//=======================================================================
-//function : PPoly_PolygonOnTriangulation
-//purpose  : 
-//=======================================================================
-
-PPoly_PolygonOnTriangulation::PPoly_PolygonOnTriangulation
-(const Handle(PColStd_HArray1OfInteger)& Nodes,
- const Standard_Real                     Defl) :
-    myDeflection(Defl),
-    myNodes(Nodes)
-{
-}
-
-//=======================================================================
-//function : PPoly_PolygonOnTriangulation
-//purpose  : 
-//=======================================================================
-
-PPoly_PolygonOnTriangulation::PPoly_PolygonOnTriangulation
-(const Handle(PColStd_HArray1OfInteger)& Nodes,
- const Standard_Real                     Defl,
- const Handle(PColStd_HArray1OfReal)&    Param) :
-    myDeflection(Defl),
-    myNodes(Nodes),
-    myParameters(Param)
-{
-}
-
-//=======================================================================
-//function : Deflection
-//purpose  : 
-//=======================================================================
-
-Standard_Real PPoly_PolygonOnTriangulation::Deflection() const 
-{
-  return myDeflection;
-}
-
-//=======================================================================
-//function : Deflection
-//purpose  : 
-//=======================================================================
-
-void PPoly_PolygonOnTriangulation::Deflection(const Standard_Real D)
-{
-  myDeflection  = D;
-}
-
-//=======================================================================
-//function : NbNodes
-//purpose  : 
-//=======================================================================
-
-Standard_Integer PPoly_PolygonOnTriangulation::NbNodes() const 
-{
-  return myNodes->Length();
-}
-
-//=======================================================================
-//function : Nodes
-//purpose  : 
-//=======================================================================
-
-Handle(PColStd_HArray1OfInteger) PPoly_PolygonOnTriangulation::Nodes() const 
-{
-  return myNodes;
-}
-
-//=======================================================================
-//function : Nodes
-//purpose  : 
-//=======================================================================
-
-void PPoly_PolygonOnTriangulation::Nodes(const Handle(PColStd_HArray1OfInteger)& Nodes)
-{
-  myNodes = Nodes;
-}
-
-
-//=======================================================================
-//function : HasParameters
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean PPoly_PolygonOnTriangulation::HasParameters() const 
-{
-  return (!myParameters.IsNull());
-}
-
-//=======================================================================
-//function : Parameters
-//purpose  : 
-//=======================================================================
-
-Handle(PColStd_HArray1OfReal) PPoly_PolygonOnTriangulation::Parameters() const 
-{
-  return myParameters;
-}
-
-//=======================================================================
-//function : Parameters
-//purpose  : 
-//=======================================================================
-
-void PPoly_PolygonOnTriangulation::Parameters(const Handle(PColStd_HArray1OfReal)& Param) 
-{
-  myParameters = Param;
-}
-
diff --git a/src/PPoly/PPoly_Triangle.cdl b/src/PPoly/PPoly_Triangle.cdl
deleted file mode 100644 (file)
index 1d962db..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
--- Created on: 1995-10-24
--- Created by: Mister rmi
--- Copyright (c) 1995-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Triangle from PPoly inherits Storable from Standard
-
-       ---Purpose: A Triangle is a triplet of node indices.
-is
-
-    Create(N1,N2,N3 : Integer)
-    returns Triangle from PPoly;
-
-    Set(me : in out; N1,N2,N3 : Integer);
-    
-    Get(me; N1,N2,N3 : in out Integer);
-
-fields
-
-    myNodes : Integer [3];
-
-end Triangle;
diff --git a/src/PPoly/PPoly_Triangle.cxx b/src/PPoly/PPoly_Triangle.cxx
deleted file mode 100644 (file)
index e5b1c65..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PPoly_Triangle.ixx>
-
-//=======================================================================
-//function : PPoly_Triangle::PPoly_Triangle
-//purpose  : 
-//=======================================================================
-
-PPoly_Triangle::PPoly_Triangle(const Standard_Integer N1, 
-                              const Standard_Integer N2, 
-                              const Standard_Integer N3)
-{
-  myNodes[0] = N1;
-  myNodes[1] = N2;
-  myNodes[2] = N3;  
-}
-
-//=======================================================================
-//function : PPoly_Triangle::Set
-//purpose  : 
-//=======================================================================
-
-void PPoly_Triangle::Set(const Standard_Integer N1, 
-                        const Standard_Integer N2, 
-                        const Standard_Integer N3)
-{
-  myNodes[0] = N1;
-  myNodes[1] = N2;
-  myNodes[2] = N3;  
-}
-
-//=======================================================================
-//function : PPoly_Triangle::Get
-//purpose  : 
-//=======================================================================
-
-void PPoly_Triangle::Get(Standard_Integer& N1, 
-                        Standard_Integer& N2, 
-                        Standard_Integer& N3) const 
-{
-  N1 = myNodes[0];
-  N2 = myNodes[1];
-  N3 = myNodes[2];  
-}
-
diff --git a/src/PPoly/PPoly_Triangulation.cdl b/src/PPoly/PPoly_Triangulation.cdl
deleted file mode 100644 (file)
index 16e94e7..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
--- Created on: 1995-10-24
--- Created by: Mister rmi
--- Copyright (c) 1995-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Triangulation from PPoly inherits Persistent from Standard
-
-       ---Purpose: This class represents a 3d polyhedral triangulation.
-       --          
-       --          It is defined by :
-       --          
-       --          * A Deflection : This  is the distance between the
-       --          triangulation and the "ideal" surface.
-       --          
-       --          *  An  Array1 of 3d   nodes  values : Contains the
-       --          Points for the 3d  nodes. Two different  nodes may
-       --          have the same  3d point if  they are differents in
-       --          UV space.
-       --          
-       --          * An  Array1 of 2d nodes  values : Contains the UV
-       --          coordinates  for   the   nodes   in the    surface
-       --          parametric  space. This is optionnal.
-       --          
-       --          * The  Array of  triangles,   each triangle  is  a
-       --          triplet of  node indices.  A  triangle is oriented
-       --          and the  whole triangulation  must have a coherent
-       --          orientation.
-       --
-       --          This is a Transient class.
-uses
-   HArray1OfPnt2d    from PColgp,
-   HArray1OfPnt      from PColgp,
-   HArray1OfTriangle from PPoly
-
-is
-
-    Create(Defl:       Real              from Standard;
-          Nodes:      HArray1OfPnt      from PColgp;
-          Triangles:  HArray1OfTriangle from PPoly)
-    returns Triangulation from PPoly;
-       ---Purpose: Defaults with allocation of Nodes and Triangles.
-
-    Create(Defl:       Real              from Standard;
-          Nodes:      HArray1OfPnt      from PColgp;
-          UVNodes:    HArray1OfPnt2d    from PColgp;
-          Triangles:  HArray1OfTriangle from PPoly)
-    returns Triangulation from PPoly;
-       ---Purpose: Defaults with allocation of Nodes and Triangles.
-
-    Deflection(me) returns Real;
-    
-    Deflection(me : mutable; D : Real);
-
-    NbNodes(me) returns Integer;
-       ---Purpose: Null if the nodes are not yet defined.
-
-    NbTriangles(me) returns Integer;
-       ---Purpose: Null if the Triangles are not yet defined.
-
-    HasUVNodes(me) returns Boolean;
-
-    Nodes(me) returns HArray1OfPnt from PColgp;
-       ---Purpose: Const reference on the 3d nodes values.
-       
-    UVNodes(me) returns HArray1OfPnt2d from PColgp;
-       ---Purpose: Const reference on the 2d nodes values.
-
-    Triangles(me) returns HArray1OfTriangle from PPoly;
-       ---Purpose: Const reference on the triangles.
-
-fields
-
-    myDeflection  : Real;
-    myNodes       : HArray1OfPnt      from PColgp;
-    myUVNodes     : HArray1OfPnt2d    from PColgp;
-    myTriangles   : HArray1OfTriangle from PPoly;
-
-end Triangulation;
diff --git a/src/PPoly/PPoly_Triangulation.cxx b/src/PPoly/PPoly_Triangulation.cxx
deleted file mode 100644 (file)
index 4d1b11d..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PPoly_Triangulation.ixx>
-
-//=======================================================================
-//function :
-//purpose  : 
-//=======================================================================
-
-
-PPoly_Triangulation::PPoly_Triangulation
-(const Standard_Real Defl,
- const Handle(PColgp_HArray1OfPnt)& Nodes,
- const Handle(PPoly_HArray1OfTriangle)& Triangles) :
- myDeflection(Defl),
- myNodes(Nodes),
- myTriangles(Triangles)
-{
-}
-
-
-//=======================================================================
-//function :
-//purpose  : 
-//=======================================================================
-
-PPoly_Triangulation::PPoly_Triangulation
-(const Standard_Real Defl,
- const Handle(PColgp_HArray1OfPnt)& Nodes, 
- const Handle(PColgp_HArray1OfPnt2d)& UVNodes, 
- const Handle(PPoly_HArray1OfTriangle)& Triangles) :
- myDeflection(Defl),
- myNodes(Nodes),
- myUVNodes(UVNodes),
- myTriangles(Triangles)
-{
-}
-
-
-//=======================================================================
-//function :
-//purpose  : 
-//=======================================================================
-
-Standard_Real PPoly_Triangulation::Deflection() const 
-{
-  return myDeflection;
-}
-
-
-//=======================================================================
-//function :
-//purpose  : 
-//=======================================================================
-
-void PPoly_Triangulation::Deflection(const Standard_Real Defl)
-{
-  myDeflection = Defl;
-}
-
-
-//=======================================================================
-//function :
-//purpose  : 
-//=======================================================================
-
-Standard_Integer PPoly_Triangulation::NbNodes() const 
-{
-  return myNodes->Length();
-}
-
-
-//=======================================================================
-//function :
-//purpose  : 
-//=======================================================================
-
-Standard_Integer PPoly_Triangulation::NbTriangles() const 
-{
-  return myTriangles->Length();
-}
-
-
-//=======================================================================
-//function :
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean PPoly_Triangulation::HasUVNodes() const 
-{
-  return !myUVNodes.IsNull();
-}
-
-
-//=======================================================================
-//function :
-//purpose  : 
-//=======================================================================
-
-Handle(PColgp_HArray1OfPnt) PPoly_Triangulation::Nodes() const 
-{
-  return myNodes;
-}
-
-
-//=======================================================================
-//function :
-//purpose  : 
-//=======================================================================
-
-Handle(PColgp_HArray1OfPnt2d) PPoly_Triangulation::UVNodes() const 
-{
-  return myUVNodes;
-}
-
-
-//=======================================================================
-//function :
-//purpose  : 
-//=======================================================================
-
-Handle(PPoly_HArray1OfTriangle) PPoly_Triangulation::Triangles() const 
-{
-  return myTriangles;
-}
diff --git a/src/PPrsStd/PPrsStd.cdl b/src/PPrsStd/PPrsStd.cdl
deleted file mode 100644 (file)
index 96b26a7..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
--- Created on: 1997-08-26
--- Created by: SMO
--- Copyright (c) 1997-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package PPrsStd
-
-uses
-
-  Standard,
-  Quantity,
-  PDF,
-  PCollection,
-  gp
-
-is
-    class AISPresentation; 
-    class AISPresentation_1;
-    --class Position; now it is in PDataStd
-    
-end PPrsStd;
-
-
diff --git a/src/PPrsStd/PPrsStd_AISPresentation.cdl b/src/PPrsStd/PPrsStd_AISPresentation.cdl
deleted file mode 100644 (file)
index 2398d29..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
--- Created on: 1999-07-08
--- Created by: Sergey RUIN
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class AISPresentation from PPrsStd 
-    inherits Attribute from PDF
-
-       ---Purpose: 
-    
-uses    HExtendedString from PCollection
-is
-
-    Create returns AISPresentation from PPrsStd;
-       
-    IsDisplayed(me) returns Boolean from Standard;
-    SetDisplayed(me : mutable; B : Boolean from Standard);
-
-    SetDriverGUID(me: mutable; guid: HExtendedString from PCollection );     
-    GetDriverGUID(me) returns HExtendedString from PCollection; 
-    
-    Color(me) returns Integer from Standard;
-    SetColor(me : mutable; C : Integer from Standard);
-    
-    Transparency(me) returns Real from Standard;
-    SetTransparency(me : mutable; T : Real from Standard);    
-    
-    Material(me) returns Integer from Standard;
-    SetMaterial(me : mutable; M : Integer from Standard);    
-   
-    Width(me) returns Real from Standard;
-    SetWidth(me : mutable; W : Real from Standard);
-    
-    
-fields
-
-    myIsDisplayed         : Boolean              from Standard;
-    myDriverGUID          : HExtendedString      from PCollection; 
-    myTransparency        : Real                 from Standard;
-    myColor               : Integer              from Standard;
-    myMaterial            : Integer              from Standard;
-    myWidth               : Real                 from Standard;
-end AISPresentation;
diff --git a/src/PPrsStd/PPrsStd_AISPresentation.cxx b/src/PPrsStd/PPrsStd_AISPresentation.cxx
deleted file mode 100644 (file)
index 9b6865d..0000000
+++ /dev/null
@@ -1,144 +0,0 @@
-// Created on: 1999-07-08
-// Created by: srn
-// Copyright (c) 1999-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PPrsStd_AISPresentation.ixx>
-
-
-//=======================================================================
-//function : PPrsStd_AISPresentation
-//purpose  : 
-//=======================================================================
-
-PPrsStd_AISPresentation::PPrsStd_AISPresentation() :
-    myIsDisplayed(Standard_False),
-    myTransparency(0.),
-    myColor(0),
-    myMaterial(0),
-    myWidth(0.)
-{}
-
-
-//=======================================================================
-//function : SetDisplayed
-//purpose  : 
-//=======================================================================
-
-void PPrsStd_AISPresentation::SetDisplayed (const Standard_Boolean B)       
-{
-  myIsDisplayed = B ;
-}
-
-//=======================================================================
-//function : IsDisplayed
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean PPrsStd_AISPresentation::IsDisplayed() const 
-{
-    return myIsDisplayed;
-}
-
-
-//=======================================================================
-//function : SetDriverGUID
-//purpose  : 
-//=======================================================================
-void PPrsStd_AISPresentation::SetDriverGUID( const Handle(PCollection_HExtendedString)&  guid)
-{
-  myDriverGUID = guid;
-}
-
-//=======================================================================
-//function : GetDriverGUID
-//purpose  : 
-//=======================================================================
-Handle(PCollection_HExtendedString) PPrsStd_AISPresentation::GetDriverGUID( void ) const
-{
-  return myDriverGUID;
-}
-
-//=======================================================================
-//function : Color
-//purpose  : 
-//=======================================================================
-Standard_Integer PPrsStd_AISPresentation::Color() const
-{
-  return myColor;
-}
-
-//=======================================================================
-//function : SetColor
-//purpose  : 
-//=======================================================================
-void PPrsStd_AISPresentation::SetColor(const Standard_Integer C) 
-{
-  myColor = C;
-}
-
-//=======================================================================
-//function : Transparency
-//purpose  : 
-//=======================================================================
-Standard_Real PPrsStd_AISPresentation::Transparency() const
-{
-  return myTransparency;
-}
-
-//=======================================================================
-//function : SetTransparency
-//purpose  : 
-//=======================================================================
-void PPrsStd_AISPresentation::SetTransparency(const Standard_Real T) 
-{
-  myTransparency = T;
-}
-
-//=======================================================================
-//function : Material
-//purpose  : 
-//=======================================================================
-Standard_Integer PPrsStd_AISPresentation::Material() const
-{
-  return myMaterial;
-}
-
-//=======================================================================
-//function : SetMaterial
-//purpose  : 
-//=======================================================================
-void PPrsStd_AISPresentation::SetMaterial(const Standard_Integer M) 
-{
-   myMaterial = M;
-}
-
-//=======================================================================
-//function : Width 
-//purpose  : 
-//=======================================================================
-Standard_Real PPrsStd_AISPresentation::Width() const
-{
-  return myWidth;  
-}
-
-//=======================================================================
-//function : SetWidth
-//purpose  : 
-//=======================================================================
-void PPrsStd_AISPresentation::SetWidth(const Standard_Real W) 
-{
-  myWidth = W;
-}
-
diff --git a/src/PPrsStd/PPrsStd_AISPresentation_1.cdl b/src/PPrsStd/PPrsStd_AISPresentation_1.cdl
deleted file mode 100644 (file)
index 329552b..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
--- Created on: 1999-07-08
--- Created by: Sergey RUIN
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class AISPresentation_1 from PPrsStd 
-    inherits Attribute from PDF
-
-       ---Purpose: 
-    
-uses    HExtendedString from PCollection
-is
-
-    Create returns AISPresentation_1 from PPrsStd;
-       
-    IsDisplayed(me) returns Boolean from Standard;
-    SetDisplayed(me : mutable; B : Boolean from Standard);
-
-    SetDriverGUID(me: mutable; guid: HExtendedString from PCollection );     
-    GetDriverGUID(me) returns HExtendedString from PCollection; 
-    
-    Color(me) returns Integer from Standard;
-    SetColor(me : mutable; C : Integer from Standard);
-    
-    Transparency(me) returns Real from Standard;
-    SetTransparency(me : mutable; T : Real from Standard);    
-    
-    Material(me) returns Integer from Standard;
-    SetMaterial(me : mutable; M : Integer from Standard);    
-   
-    Width(me) returns Real from Standard;
-    SetWidth(me : mutable; W : Real from Standard);
-    Mode(me)    returns Integer from Standard; 
-    SetMode(me : mutable; M : Integer from Standard);    
-fields
-
-    myIsDisplayed         : Boolean              from Standard;
-    myDriverGUID          : HExtendedString      from PCollection; 
-    myTransparency        : Real                 from Standard;
-    myColor               : Integer              from Standard;
-    myMaterial            : Integer              from Standard;
-    myWidth               : Real                 from Standard; 
-    myMode                : Integer              from Standard;
-end AISPresentation_1;
diff --git a/src/PPrsStd/PPrsStd_AISPresentation_1.cxx b/src/PPrsStd/PPrsStd_AISPresentation_1.cxx
deleted file mode 100644 (file)
index 1001cf0..0000000
+++ /dev/null
@@ -1,172 +0,0 @@
-// Created on: 1999-07-08
-// Created by: srn
-// Copyright (c) 1999-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PPrsStd_AISPresentation_1.ixx>
-
-
-//=======================================================================
-//function : PPrsStd_AISPresentation
-//purpose  : 
-//=======================================================================
-
-PPrsStd_AISPresentation_1::PPrsStd_AISPresentation_1() :
-    myIsDisplayed(Standard_False),
-    myTransparency(0.),
-    myColor(0),
-    myMaterial(0),
-    myWidth(0.),
-    myMode(0)
-{
-}
-
-
-//=======================================================================
-//function : SetDisplayed
-//purpose  : 
-//=======================================================================
-
-void PPrsStd_AISPresentation_1::SetDisplayed (const Standard_Boolean B)       
-{
-  myIsDisplayed = B ;
-}
-
-//=======================================================================
-//function : IsDisplayed
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean PPrsStd_AISPresentation_1::IsDisplayed() const 
-{
-    return myIsDisplayed;
-}
-
-
-//=======================================================================
-//function : SetDriverGUID
-//purpose  : 
-//=======================================================================
-void PPrsStd_AISPresentation_1::SetDriverGUID( const Handle(PCollection_HExtendedString)&  guid)
-{
-  myDriverGUID = guid;
-}
-
-//=======================================================================
-//function : GetDriverGUID
-//purpose  : 
-//=======================================================================
-Handle(PCollection_HExtendedString) PPrsStd_AISPresentation_1::GetDriverGUID( void ) const
-{
-  return myDriverGUID;
-}
-
-//=======================================================================
-//function : Color
-//purpose  : 
-//=======================================================================
-Standard_Integer PPrsStd_AISPresentation_1::Color() const
-{
-  return myColor;
-}
-
-//=======================================================================
-//function : SetColor
-//purpose  : 
-//=======================================================================
-void PPrsStd_AISPresentation_1::SetColor(const Standard_Integer C) 
-{
-  myColor = C;
-}
-
-//=======================================================================
-//function : Transparency
-//purpose  : 
-//=======================================================================
-Standard_Real PPrsStd_AISPresentation_1::Transparency() const
-{
-  return myTransparency;
-}
-
-//=======================================================================
-//function : SetTransparency
-//purpose  : 
-//=======================================================================
-void PPrsStd_AISPresentation_1::SetTransparency(const Standard_Real T) 
-{
-  myTransparency = T;
-}
-
-//=======================================================================
-//function : Material
-//purpose  : 
-//=======================================================================
-Standard_Integer PPrsStd_AISPresentation_1::Material() const
-{
-  return myMaterial;
-}
-
-//=======================================================================
-//function : SetMaterial
-//purpose  : 
-//=======================================================================
-void PPrsStd_AISPresentation_1::SetMaterial(const Standard_Integer M) 
-{
-   myMaterial = M;
-}
-
-//=======================================================================
-//function : Width 
-//purpose  : 
-//=======================================================================
-Standard_Real PPrsStd_AISPresentation_1::Width() const
-{
-  return myWidth;  
-}
-
-
-
-
-//=======================================================================
-//function : SetWidth
-//purpose  : 
-//=======================================================================
-
-void PPrsStd_AISPresentation_1::SetWidth(const Standard_Real W) 
-{
-  myWidth = W;
-}
-
-
-
-//=======================================================================
-//function : Mode
-//purpose  : 
-//=======================================================================
-
-Standard_Integer PPrsStd_AISPresentation_1::Mode() const
-{
-  return myMode;
-}
-
-
-//=======================================================================
-//function : SetMode
-//purpose  : 
-//=======================================================================
-
-void PPrsStd_AISPresentation_1::SetMode(const Standard_Integer M) 
-{
-   myMode = M;
-}
diff --git a/src/PShort/PShort.cdl b/src/PShort/PShort.cdl
deleted file mode 100644 (file)
index d12cb16..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
--- Copyright (c) 1998-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package PShort 
-
-uses PCollection,
-     TCollection,
-     TShort
-
-is
-
-
---                             Instantiations de PCollection          --
---                             *****************************          --
-------------------------------------------------------------------------
-
---
---       Instantiations HSequence 
---       **************************************************
---       
-class HSequenceOfShortReal instantiates 
-           HSequence from PCollection(ShortReal);
-
---
---       Instantiations HArray1
---       ****************************************************
---       
------
-
-    class HArray1OfShortReal instantiates 
-                        HArray1 from PCollection(ShortReal);
---    class Array1FromHArray1OfShortReal instantiates 
---       Array1FromHArray1(ShortReal
---                           ,Array1OfShortReal from TShort
---                           ,HArray1OfShortReal from PShort);
-
---
---       Instantiations HArray2
---       ****************************************************
---       
-
-    class HArray2OfShortReal instantiates 
-                        HArray2 from PCollection(ShortReal);
---    class Array2FromHArray2OfShortReal instantiates 
---       Array2FromHArray2(ShortReal
---                           ,Array2OfShortReal from TShort
---                           ,HArray2OfShortReal from PShort);
-
-
-end PShort;
diff --git a/src/PStandard/PStandard.cdl b/src/PStandard/PStandard.cdl
deleted file mode 100644 (file)
index e6a02a3..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
--- Created on: 1996-01-29
--- Created by: Kernel
--- Copyright (c) 1996-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package PStandard
----Purpose: This package <PStandard> contains the declaration of the
---          generic class ArrayNode
-
-uses
-    Standard
-    
-is
-    class ArrayNode;
-
-end PStandard;
diff --git a/src/PStandard/PStandard_ArrayNode.cdl b/src/PStandard/PStandard_ArrayNode.cdl
deleted file mode 100644 (file)
index b551370..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
--- Created on: 1996-01-29
--- Created by: Kernel
--- Copyright (c) 1996-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ArrayNode from PStandard
--- inherits Storable from Standard
-inherits Persistent from Standard
-
-is
-    Create returns ArrayNode from PStandard;
-    ---Purpose: Creates an empty ArrayNode.
-
-end ArrayNode;
diff --git a/src/PStandard/PStandard_ArrayNode.cxx b/src/PStandard/PStandard_ArrayNode.cxx
deleted file mode 100644 (file)
index 412f47c..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PStandard_ArrayNode.ixx>
-
-PStandard_ArrayNode::PStandard_ArrayNode()
-{
-}
-
diff --git a/src/PTColStd/PTColStd.cdl b/src/PTColStd/PTColStd.cdl
deleted file mode 100644 (file)
index ea22728..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
--- Created on: 1996-07-05
--- Created by: Jean-Louis Frenkel
--- Copyright (c) 1996-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package PTColStd
-
-uses
-    Standard,TColStd,TCollection
-   ---Category:  reusable class
-   --           
-is
-
-   class MapPersistentHasher instantiates MapHasher from TCollection(Persistent);
-
-   class DoubleMapOfTransientPersistent  instantiates   
-            DoubleMap from TCollection(Transient from Standard,
-                                Persistent from Standard,
-                                MapTransientHasher from TColStd,
-                                MapPersistentHasher from PTColStd);  
-
-   class TransientPersistentMap instantiates 
-   DataMap from TCollection(Transient from Standard,
-                            Persistent from Standard,
-                           MapTransientHasher from TColStd);
-    
-   class PersistentTransientMap instantiates
-   DataMap from TCollection(Persistent from Standard,
-                             Transient from Standard,
-                             MapPersistentHasher from PTColStd);
-
-end PTColStd;
diff --git a/src/PTKernel/EXTERNLIB b/src/PTKernel/EXTERNLIB
deleted file mode 100755 (executable)
index 58c24f0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-TKernel
diff --git a/src/PTKernel/FILES b/src/PTKernel/FILES
deleted file mode 100755 (executable)
index ee6f705..0000000
+++ /dev/null
@@ -1 +0,0 @@
-EXTERNLIB
diff --git a/src/PTKernel/PACKAGES b/src/PTKernel/PACKAGES
deleted file mode 100755 (executable)
index 137d493..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-DBC
-PCollection
-PColStd
-PMMgt
-PShort
-PStandard
-PTColStd
-ObjMgt
diff --git a/src/PTopLoc/PTopLoc.cdl b/src/PTopLoc/PTopLoc.cdl
deleted file mode 100644 (file)
index 21b1e0e..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
--- Created on: 1993-03-03
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- Update:      fma
-
-
-package PTopLoc 
-
-       ---Purpose: The  PTopLoc     package      describes persistent
-       --          structures for 3D local coordinate systems.
-       --          
-       --          The  class Datum3D describes  an  elementary local
-       --          coordinate system.   It is a linear transformation
-       --          (Trsf  from  gp).   The  transformation  is  rigid
-       --          (Rotation +  Translation).
-       --          
-       --          The private    class  ItemLocation represents   an
-       --          elementary  local   coordinate   system  (Datum3D)
-       --          raised to  an Integer power  elevation. It is used
-       --          to link coordinate systems in a Location.
-       --          
-       --          The  class Location  describes a local  coordinate
-       --          system.   It   is  a  chain   of  elementary local
-       --          coordinate systems raised to power elevations. The
-       --          Location keeps track  of how the coordinate system
-       --          was built.
-
-uses
-
-    Standard,
-    gp
-
-is
-    class Datum3D;
-
-    private class ItemLocation;
-
-    class Location;
-
-end PTopLoc;
diff --git a/src/PTopLoc/PTopLoc_Datum3D.cdl b/src/PTopLoc/PTopLoc_Datum3D.cdl
deleted file mode 100644 (file)
index fc3fb03..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
--- Created on: 1993-03-03
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- Update:      fma
-
-
-class Datum3D from PTopLoc inherits Persistent from Standard
-
-       ---Purpose: An  elementary local coordinate system. It  may be
-       --          shared in the Database.
-
-uses
-    Trsf from gp
-
-raises
-    ConstructionError from Standard
-
-is
-    Create(T : Trsf from gp) returns Datum3D from PTopLoc
-       ---Purpose: Creates a   local coordinate  system    with   the
-       --          transformation.  An   error   is raised  if    the
-       --          transformation is not rigid.
-       ---Level: Internal 
-    raises
-       ConstructionError from Standard;
-       
-    Transformation(me) returns Trsf from gp
-       ---Purpose: Returns the transformation defining the coordinate
-       --          system.
-       ---Level: Internal 
-    is static;
-    
-fields
-
-    myTrsf : Trsf from gp;
-
-end Datum3D;
diff --git a/src/PTopLoc/PTopLoc_Datum3D.cxx b/src/PTopLoc/PTopLoc_Datum3D.cxx
deleted file mode 100644 (file)
index 11da672..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopLoc_Datum3D.ixx>
-#include <Standard_ConstructionError.hxx>
-
-//=======================================================================
-//function : PTopLoc_Datum3D
-//purpose  : 
-//=======================================================================
-
-PTopLoc_Datum3D::PTopLoc_Datum3D(const gp_Trsf& T) :
-       myTrsf(T)
-{
-  // Update 7-05-96 FMA : validity control is not performed during 
-  //                      Persistant instance construction
-  // check the validity of the transformation
-  //if (Abs(1. - myTrsf.VectorialPart().Determinant()) > 1.e-7)
-  //Standard_ConstructionError::Raise
-  //("PTopLoc_Datum3D::Non rigid transformation");
-}
-
-
-//=======================================================================
-//function : Transformation
-//purpose  : 
-//=======================================================================
-
-gp_Trsf  PTopLoc_Datum3D::Transformation()const 
-{
-  return myTrsf;
-}
-
-
diff --git a/src/PTopLoc/PTopLoc_ItemLocation.cdl b/src/PTopLoc/PTopLoc_ItemLocation.cdl
deleted file mode 100644 (file)
index 32f9609..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
--- Created on: 1993-03-03
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-private class ItemLocation from PTopLoc inherits Persistent
-
-       ---Purpose: Provides  support  for  the implementation  of the
-       --          class Location.
-
-uses
-    Datum3D  from PTopLoc,
-    Location from PTopLoc
-
-is
-    Create(D : Datum3D from PTopLoc; 
-          P : Integer from Standard;
-          N : Location from PTopLoc) 
-    returns ItemLocation from  PTopLoc;
-       ---Level: Internal 
-    
-    Datum3D(me) returns Datum3D from PTopLoc
-    is static;
-       ---Level: Internal 
-
-    Power(me)   returns Integer from Standard
-    is static;
-       ---Level: Internal 
-    
-    Next(me)    returns Location from PTopLoc
-    is static;
-       ---Level: Internal 
-    
-fields
-    myDatum : Datum3D  from PTopLoc;
-    myPower : Integer  from Standard;
-    myNext  : Location from PTopLoc;
-
-end ItemLocation;
diff --git a/src/PTopLoc/PTopLoc_ItemLocation.cxx b/src/PTopLoc/PTopLoc_ItemLocation.cxx
deleted file mode 100644 (file)
index 46a61c1..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopLoc_ItemLocation.ixx>
-
-//=======================================================================
-//function : PTopLoc_ItemLocation
-//purpose  : 
-//=======================================================================
-
-PTopLoc_ItemLocation::PTopLoc_ItemLocation(const Handle(PTopLoc_Datum3D)& D, 
-                                          const Standard_Integer P,
-                                          const PTopLoc_Location& N) :
-       myDatum(D),
-       myPower(P),
-       myNext(N)
-{
-}
-
-
-//=======================================================================
-//function : Datum3D
-//purpose  : 
-//=======================================================================
-
-Handle(PTopLoc_Datum3D)  PTopLoc_ItemLocation::Datum3D()const 
-{
-  return myDatum;
-}
-
-
-//=======================================================================
-//function : Power
-//purpose  : 
-//=======================================================================
-
-Standard_Integer  PTopLoc_ItemLocation::Power()const 
-{
-  return myPower;
-}
-
-
-//=======================================================================
-//function : Next
-//purpose  : 
-//=======================================================================
-
-PTopLoc_Location  PTopLoc_ItemLocation::Next()const 
-{
-  return myNext;
-}
-
-
diff --git a/src/PTopLoc/PTopLoc_Location.cdl b/src/PTopLoc/PTopLoc_Location.cdl
deleted file mode 100644 (file)
index 5be50c6..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
--- Created on: 1993-03-03
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Location from PTopLoc inherits Storable
-
-       ---Purpose: A Storable  composed local coordinate system. Made
-       --          with local   coordinate systems raised   to  power
-       --          elevation.
-       --          
-       --          A Location is either :
-       --          
-       --          * The Identity.
-       --          
-       --          * The product  of a Datum3D raised  to a power and
-       --          an other Location called the next Location.
-
-uses
-    Datum3D      from PTopLoc,
-    ItemLocation from PTopLoc
-
-raises
-    NoSuchObject from Standard
-
-is
-    Create returns Location from PTopLoc;
-       ---Purpose: Creates an Identity Location.
-       ---Level: Internal 
-       
-    Create(D : Datum3D from PTopLoc; 
-          P : Integer from Standard;
-          N : Location from PTopLoc) 
-    returns Location from  PTopLoc;
-       ---Purpose: Creates a location being the product.
-       --          N * D ^ P
-       ---Level: Internal 
-    
-    IsIdentity(me) returns Boolean from Standard
-       ---Purpose: True when the location is an identity.
-       ---Level: Internal 
-    is static;
-    
-    Datum3D(me) returns Datum3D from PTopLoc
-       ---Purpose: Returns the first Datum. An error is raised if the
-       --          location is an identity.
-       ---Level: Internal 
-    raises NoSuchObject from Standard
-    is static;
-
-    Power(me)   returns Integer from Standard
-       ---Purpose: Returns the power elevation of the first datum. An
-       --          error is raised if the location is an identity.
-       ---Level: Internal 
-    raises NoSuchObject from Standard
-    is static;
-    
-    Next(me)    returns Location from PTopLoc
-       ---Purpose: Returns next Location. An error is raised if the
-       --          location is an identity.
-       ---Level: Internal 
-    raises NoSuchObject from Standard
-    is static;
-    
-fields
-    myData : ItemLocation from PTopLoc;
-
-end Location;
diff --git a/src/PTopLoc/PTopLoc_Location.cxx b/src/PTopLoc/PTopLoc_Location.cxx
deleted file mode 100644 (file)
index 71d9615..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-// Created on: 1993-03-03
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopLoc_Location.ixx>
-#include <Standard_NoSuchObject.hxx>
-
-//=======================================================================
-//function : PTopLoc_Location
-//purpose  : 
-//=======================================================================
-
-PTopLoc_Location::PTopLoc_Location() 
-{
-}
-
-
-//=======================================================================
-//function : PTopLoc_Location
-//purpose  : 
-//=======================================================================
-
-PTopLoc_Location::PTopLoc_Location(const Handle(PTopLoc_Datum3D)& D,
-                                  const Standard_Integer P,
-                                  const PTopLoc_Location& N) 
-{
-  myData = new PTopLoc_ItemLocation(D,P,N);
-}
-
-
-//=======================================================================
-//function : IsIdentity
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean PTopLoc_Location::IsIdentity() const 
-{
-  return myData.IsNull();
-}
-
-//=======================================================================
-//function : Datum3D
-//purpose  : 
-//=======================================================================
-
-Handle(PTopLoc_Datum3D)  PTopLoc_Location::Datum3D()const 
-{
-  Standard_NoSuchObject_Raise_if(IsIdentity(),"PTopLoc_Location::Datum3D");
-  return myData->Datum3D();
-}
-
-
-//=======================================================================
-//function : Power
-//purpose  : 
-//=======================================================================
-
-Standard_Integer  PTopLoc_Location::Power()const 
-{
-  Standard_NoSuchObject_Raise_if(IsIdentity(),"PTopLoc_Location::Power");
-  return myData->Power();
-}
-
-
-//=======================================================================
-//function : PTopLoc_Location
-//purpose  : 
-//=======================================================================
-
-PTopLoc_Location PTopLoc_Location::Next() const
-{
-  Standard_NoSuchObject_Raise_if(IsIdentity(),"PTopLoc_Location::Next");
-  return myData->Next();
-}
-
-
-
diff --git a/src/PTopoDS/PTopoDS.cdl b/src/PTopoDS/PTopoDS.cdl
deleted file mode 100644 (file)
index dd52580..0000000
+++ /dev/null
@@ -1,134 +0,0 @@
--- Created on: 1993-03-08
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- Update:      Frederic Maupas
-
-
-package PTopoDS 
-
-       ---Purpose: The package PTopoDS provides persistent classes to
-       --          store Topological Data Structures in Data Base.
-       --          
-       --          The  structure  of  this  persistent  topology  is
-       --          similar  to   the  transient  topology   (see  its
-       --          documentation for more comprehension of this one).
-       --          But some differences occure:
-       --          
-       --          * The class Model and derivatives disappear;
-       --          
-       --          * The "free"  information  disappears,  because  a 
-       --          TShape stored in the Data Base is always "frozen";
-       --          
-
-       --          * The class HShape  inherits  from ExternShareable  from
-       --          ObjMgt,  so that an intance of HShape  may be
-       --          shared by a TShape even if the HShape is not in the
-       --          same Container.
-       --          
-       --          * The class Shape1 inherits from Storable from
-       --          Standard.
-       --          
-       --          Note that the  use of this topology is managed  by
-       --          the package MgtTopoDS.
-       --          
-       --          About the question of "Location", see the  package
-       --          PTopLoc  itself;  about  naming,  referencing  and
-       --          using persistent  Shapes outsing  the  topological
-       --          world, see the package TopoDB.
-
-uses
-
-    ObjMgt,
-    Standard,
-    TopAbs,      -- basic enumerations : ShapeEnum, Orientation
-    PTopLoc,     -- Persistent local coordinate systems
-    PCollection,
-    TCollection
-    
-is
-
-    ---Category: Old version of Shape/TShape.
-    --           ============================
-
-    class HShape;
-
-    deferred class TShape;
-
-    deferred class TVertex;
-
-    class Vertex;
-
-    deferred class TEdge;
-
-    class Edge;
-
-    class TWire;
-
-    class Wire;
-
-    class TFace;
-
-    class Face;
-
-    class TShell;
-
-    class Shell;
-
-    class TSolid;
-
-    class Solid;
-
-    class TCompSolid;
-
-    class CompSolid;
-
-    class TCompound;
-
-    class Compound;
-
-
-    class HArray1OfHShape instantiates HArray1 from PCollection
-       (HShape from PTopoDS);
-
-
-    ---Category: New version of Shape/TShape.
-    --           ============================
-
-    class Shape1;
-
-    deferred class TShape1;
-
-    deferred class TVertex1;
-
-    deferred class TEdge1;
-
-    class TWire1;
-
-    class TFace1;
-
-    class TShell1;
-
-    class TSolid1;
-
-
-    class TCompSolid1;
-
-    class TCompound1;
-
-    class HArray1OfShape1 instantiates HArray1 from PCollection
-       (Shape1 from PTopoDS);
-
-end PTopoDS;
diff --git a/src/PTopoDS/PTopoDS_CompSolid.cdl b/src/PTopoDS/PTopoDS_CompSolid.cdl
deleted file mode 100644 (file)
index ddfbb01..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
--- Created on: 1993-05-05
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class CompSolid from PTopoDS inherits HShape from PTopoDS
-       ---Purpose: A CompSolid is a TCompSolid with a Location and an
-       --          Orientation.
-       --          It inherits HShape
-is
-    Create returns CompSolid from PTopoDS;
-       ---Level: Internal 
-
-end CompSolid;
diff --git a/src/PTopoDS/PTopoDS_CompSolid.cxx b/src/PTopoDS/PTopoDS_CompSolid.cxx
deleted file mode 100644 (file)
index 2d7c47a..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// Created on: 1993-05-05
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopoDS_CompSolid.ixx>
-
-PTopoDS_CompSolid::PTopoDS_CompSolid()
-{}
diff --git a/src/PTopoDS/PTopoDS_Compound.cdl b/src/PTopoDS/PTopoDS_Compound.cdl
deleted file mode 100644 (file)
index 536b1c9..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
--- Created on: 1993-05-05
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Compound from PTopoDS inherits HShape from PTopoDS
-       ---Purpose: A Compound is a  TCompound with a Location  and an
-       --          Orientation.
-       --          It inherits HShape
-is
-    Create returns Compound from PTopoDS;
-       ---Level: Internal 
-
-end Compound;
diff --git a/src/PTopoDS/PTopoDS_Compound.cxx b/src/PTopoDS/PTopoDS_Compound.cxx
deleted file mode 100644 (file)
index c0d5727..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-// Created on: 1993-05-05
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopoDS_Compound.ixx>
-
-PTopoDS_Compound::PTopoDS_Compound()
-{}
-
diff --git a/src/PTopoDS/PTopoDS_Edge.cdl b/src/PTopoDS/PTopoDS_Edge.cdl
deleted file mode 100644 (file)
index 258dbf3..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
--- Created on: 1993-05-05
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Edge from PTopoDS inherits HShape from PTopoDS
-       ---Purpose: A Edge  is a   TEdge    with  a Location  and   an
-       --          Orientation.
-       --          It inherits HShape
-is
-    Create returns Edge from PTopoDS;
-       ---Level: Internal 
-
-end Edge;
diff --git a/src/PTopoDS/PTopoDS_Edge.cxx b/src/PTopoDS/PTopoDS_Edge.cxx
deleted file mode 100644 (file)
index d773420..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// Created on: 1993-05-05
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopoDS_Edge.ixx>
-
-PTopoDS_Edge::PTopoDS_Edge()
-{}
diff --git a/src/PTopoDS/PTopoDS_Face.cdl b/src/PTopoDS/PTopoDS_Face.cdl
deleted file mode 100644 (file)
index fc3e931..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
--- Created on: 1993-05-05
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Face from PTopoDS inherits HShape from PTopoDS
-       ---Purpose: A Face  is   a   TFace with a   Location  and   an
-       --          Orientation.
-       --          It inherits HShape
-is
-    Create returns Face from PTopoDS;
-       ---Level: Internal 
-
-end Face;
diff --git a/src/PTopoDS/PTopoDS_Face.cxx b/src/PTopoDS/PTopoDS_Face.cxx
deleted file mode 100644 (file)
index eebff7f..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// Created on: 1993-05-05
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopoDS_Face.ixx>
-
-PTopoDS_Face::PTopoDS_Face()
-{}
diff --git a/src/PTopoDS/PTopoDS_HShape.cdl b/src/PTopoDS/PTopoDS_HShape.cdl
deleted file mode 100644 (file)
index d989366..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
--- Created on: 1990-12-11
--- Created by: Remi Lequette
--- Copyright (c) 1990-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- Update:      Frederic Maupas
-
-
-class HShape from PTopoDS inherits ExternShareable from ObjMgt
-
-    ---Purpose: The PTopoDS_HShape is the Persistent view of a TopoDS_Shape.
-  -- This can be a vertex, an edge, a wire, a face, a shell, a solid and so on.
- -- It can be shared by other objects.
-    --  a  HShape contains :
-    --          
-    --          - a reference to a TShape.
-    --          
-    --          - a Location  to put the TShape in  a local coordinate
-    --          system.
-    --          
-    --          - an Orientation.
-    --          
-    --          It inherits from ExternShareable, so that it can be shared
-    --          by other objects located outside the container.
-    
-uses
-
-    Orientation   from TopAbs,
-    TShape        from PTopoDS,
-    Location      from PTopLoc
-    
-is
-    Create returns HShape from PTopoDS;
-    ---Level: Internal 
-
-    TShape(me) returns any TShape from PTopoDS
-    ---Level: Internal 
-    is static;
-
-    TShape(me : mutable; T : TShape from PTopoDS)
-    ---Level: Internal 
-    is static;
-
-    Location(me) returns Location from PTopLoc
-    ---Level: Internal 
-    is static;
-       
-    Location(me : mutable; L : Location from PTopLoc)
-    ---Level: Internal 
-    is static;
-       
-    Orientation(me) returns Orientation from TopAbs
-    ---Level: Internal 
-    is static;
-
-    Orientation(me: mutable; O : Orientation from TopAbs)
-    ---Level: Internal 
-    is static;
-    
-fields
-    myTShape   : TShape      from PTopoDS;
-    myLocation : Location    from PTopLoc;
-    myOrient   : Orientation from TopAbs;
-
-end HShape;
diff --git a/src/PTopoDS/PTopoDS_HShape.cxx b/src/PTopoDS/PTopoDS_HShape.cxx
deleted file mode 100644 (file)
index 32d3fa2..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-// Created on: 1993-03-09
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopoDS_HShape.ixx>
-
-//=======================================================================
-//function : PTopoDS_Shape
-//purpose  : 
-//=======================================================================
-
-PTopoDS_HShape::PTopoDS_HShape() :
-   myOrient(TopAbs_FORWARD)
-{
-}
-
-
-//=======================================================================
-//function : TShape
-//purpose  : 
-//=======================================================================
-
-Handle(PTopoDS_TShape)  PTopoDS_HShape::TShape()const 
-{
-  return myTShape;
-}
-
-
-//=======================================================================
-//function : TShape
-//purpose  : 
-//=======================================================================
-
-void  PTopoDS_HShape::TShape(const Handle(PTopoDS_TShape)& T)
-{
-  myTShape = T;
-}
-
-
-//=======================================================================
-//function : Location
-//purpose  : 
-//=======================================================================
-
-PTopLoc_Location  PTopoDS_HShape::Location()const 
-{
-  return myLocation;
-}
-
-
-//=======================================================================
-//function : Location
-//purpose  : 
-//=======================================================================
-
-void  PTopoDS_HShape::Location(const PTopLoc_Location& L)
-{
-  myLocation = L;
-}
-
-
-//=======================================================================
-//function : Orientation
-//purpose  : 
-//=======================================================================
-
-TopAbs_Orientation  PTopoDS_HShape::Orientation()const 
-{
-  return myOrient;
-}
-
-
-//=======================================================================
-//function : Orientation
-//purpose  : 
-//=======================================================================
-
-void  PTopoDS_HShape::Orientation(const TopAbs_Orientation O)
-{
-  myOrient = O;
-}
-
-
-
-
-
-
-
diff --git a/src/PTopoDS/PTopoDS_Shape1.cdl b/src/PTopoDS/PTopoDS_Shape1.cdl
deleted file mode 100644 (file)
index db1ad7e..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
--- Created by: DAUTRY Philippe
--- Copyright (c) 1998-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
---             ------------------
-
----Version:    0.0
---Version      Date            Purpose
---             0.0     Feb  4 1998     Creation
-
-
-class Shape1 from PTopoDS inherits Storable from Standard
-
-    ---Purpose: The PTopoDS_Shape1 is the Persistent view of a TopoDS_Shape.
-    --          
-    --  a  Shape1 contains :
-    --          
-    --          - a reference to a TShape1.
-    --          
-    --          - a Location  to put the TShape1 in  a local coordinate
-    --          system.
-    --          
-    --          - an Orientation.
-    --          
-    --          It inherits from ExternShareable, so that it can be shared
-    --          by other objects located outside the container.
-    
-uses
-
-    Orientation   from TopAbs,
-    TShape1       from PTopoDS,
-    Location      from PTopLoc
-    
-is
-    Create returns Shape1 from PTopoDS;
-    ---Level: Internal 
-
-    Nullify(me : in out)
-    is static;
-
-    TShape(me) returns any TShape1 from PTopoDS
-    ---Level: Internal 
-    ---C++: return const &
-    is static;
-
-    TShape(me : in out; T : TShape1 from PTopoDS)
-    ---Level: Internal 
-    is static;
-
-    Location(me) returns Location from PTopLoc
-    ---Level: Internal 
-    is static;
-       
-    Location(me : in out; L : Location from PTopLoc)
-    ---Level: Internal 
-    is static;
-       
-    Orientation(me) returns Orientation from TopAbs
-    ---Level: Internal 
-    is static;
-
-    Orientation(me: in out; O : Orientation from TopAbs)
-    ---Level: Internal 
-    is static;
-    
-fields
-
-    myTShape   : TShape1     from PTopoDS;
-    myLocation : Location    from PTopLoc;
-    myOrient   : Orientation from TopAbs;
-
-end Shape1;
diff --git a/src/PTopoDS/PTopoDS_Shape1.cxx b/src/PTopoDS/PTopoDS_Shape1.cxx
deleted file mode 100644 (file)
index 1f13928..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-// Created by: DAUTRY Philippe
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-//             ------------------
-
-// Version:    0.0
-//Version      Date            Purpose
-//             0.0     Feb  4 1998     Creation
-
-
-
-#include <PTopoDS_Shape1.ixx>
-
-//=======================================================================
-//function : PTopoDS_Shape1
-//purpose  : 
-//=======================================================================
-
-PTopoDS_Shape1::PTopoDS_Shape1() : myOrient(TopAbs_FORWARD)
-{
-}
-
-
-//=======================================================================
-//function : Nullify
-//purpose  : 
-//=======================================================================
-
-void PTopoDS_Shape1::Nullify()
-{
-  myTShape.Nullify();
-  myLocation = PTopLoc_Location();
-  myOrient = TopAbs_FORWARD;
-}
-
-//=======================================================================
-//function : TShape
-//purpose  : 
-//=======================================================================
-
-const Handle(PTopoDS_TShape1)&  PTopoDS_Shape1::TShape() const 
-{ return myTShape; }
-
-
-//=======================================================================
-//function : TShape
-//purpose  : 
-//=======================================================================
-
-void  PTopoDS_Shape1::TShape(const Handle(PTopoDS_TShape1)& T)
-{ myTShape = T; }
-
-
-//=======================================================================
-//function : Location
-//purpose  : 
-//=======================================================================
-
-PTopLoc_Location  PTopoDS_Shape1::Location() const 
-{ return myLocation; }
-
-
-//=======================================================================
-//function : Location
-//purpose  : 
-//=======================================================================
-
-void  PTopoDS_Shape1::Location(const PTopLoc_Location& L)
-{ myLocation = L; }
-
-
-//=======================================================================
-//function : Orientation
-//purpose  : 
-//=======================================================================
-
-TopAbs_Orientation  PTopoDS_Shape1::Orientation() const 
-{ return myOrient; }
-
-
-//=======================================================================
-//function : Orientation
-//purpose  : 
-//=======================================================================
-
-void  PTopoDS_Shape1::Orientation(const TopAbs_Orientation O)
-{ myOrient = O; }
diff --git a/src/PTopoDS/PTopoDS_Shell.cdl b/src/PTopoDS/PTopoDS_Shell.cdl
deleted file mode 100644 (file)
index 41e96d5..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
--- Created on: 1993-05-05
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Shell from PTopoDS inherits HShape from PTopoDS
-       ---Purpose: A  Shell is a  TShell   with  a   Location  and an
-       --          Orientation.
-       --          It inherits HShape
-is
-    Create returns Shell from PTopoDS;
-    ---Level: Internal 
-
-end Shell;
diff --git a/src/PTopoDS/PTopoDS_Shell.cxx b/src/PTopoDS/PTopoDS_Shell.cxx
deleted file mode 100644 (file)
index 52c6c64..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// Created on: 1993-05-05
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopoDS_Shell.ixx>
-
-PTopoDS_Shell::PTopoDS_Shell()
-{}
diff --git a/src/PTopoDS/PTopoDS_Solid.cdl b/src/PTopoDS/PTopoDS_Solid.cdl
deleted file mode 100644 (file)
index bb636b1..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
--- Created on: 1993-05-05
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Solid from PTopoDS inherits HShape from PTopoDS
-       ---Purpose: A  Solid  is  a TSolid  with   a  Location and  an
-       --          Orientation.
-       --          It inherits HShape
-is
-    Create returns Solid from PTopoDS;
-    ---Level: Internal 
-
-end Solid;
diff --git a/src/PTopoDS/PTopoDS_Solid.cxx b/src/PTopoDS/PTopoDS_Solid.cxx
deleted file mode 100644 (file)
index 77dc075..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// Created on: 1993-05-05
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopoDS_Solid.ixx>
-
-PTopoDS_Solid::PTopoDS_Solid()
-{}
diff --git a/src/PTopoDS/PTopoDS_TCompSolid.cdl b/src/PTopoDS/PTopoDS_TCompSolid.cdl
deleted file mode 100644 (file)
index f1fbf9c..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
--- Created on: 1990-12-17
--- Created by: Remi Lequette
--- Copyright (c) 1990-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TCompSolid from PTopoDS inherits TShape from PTopoDS
-
-       ---Purpose: A  topological Composite  Solid shape.
-  --          A structure of Solids sharing Faces.
-uses
-    ShapeEnum from TopAbs
-
-is
-    Create returns TCompSolid from PTopoDS;
-       ---Purpose: The new  TCompSolid is empty.
-    ---Level: Internal 
-       
-    ShapeType(me) returns ShapeEnum from TopAbs;
-    ---Level: Internal 
-
-end TCompSolid;
diff --git a/src/PTopoDS/PTopoDS_TCompSolid.cxx b/src/PTopoDS/PTopoDS_TCompSolid.cxx
deleted file mode 100644 (file)
index be0b9ce..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-// Created on: 1993-03-09
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopoDS_TCompSolid.ixx>
-
-//=======================================================================
-//function : PTopoDS_TCompSolid
-//purpose  : 
-//=======================================================================
-
-PTopoDS_TCompSolid::PTopoDS_TCompSolid() 
-{
-}
-
-
-
-//=======================================================================
-//function : ShapeType 
-//purpose  : 
-//=======================================================================
-
-TopAbs_ShapeEnum PTopoDS_TCompSolid::ShapeType() const
-{
-  return TopAbs_COMPSOLID;
-}
diff --git a/src/PTopoDS/PTopoDS_TCompSolid1.cdl b/src/PTopoDS/PTopoDS_TCompSolid1.cdl
deleted file mode 100644 (file)
index f9854f7..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
--- Created on: 1990-12-17
--- Created by: Remi Lequette
--- Copyright (c) 1990-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TCompSolid1 from PTopoDS inherits TShape1 from PTopoDS
-
-       ---Purpose: A  topological Composite  Solid1 shape.
-       --          A structure of Solids sharing Faces.
-uses
-    ShapeEnum from TopAbs
-
-is
-    Create returns TCompSolid1 from PTopoDS;
-       ---Purpose: The new  TCompSolid11 is empty.
-    ---Level: Internal 
-       
-    ShapeType(me) returns ShapeEnum from TopAbs;
-    ---Level: Internal 
-
-end TCompSolid1;
diff --git a/src/PTopoDS/PTopoDS_TCompSolid1.cxx b/src/PTopoDS/PTopoDS_TCompSolid1.cxx
deleted file mode 100644 (file)
index c2b07f1..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-// Created on: 1993-03-09
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopoDS_TCompSolid1.ixx>
-
-//=======================================================================
-//function : PTopoDS_TCompSolid1
-//purpose  : 
-//=======================================================================
-
-PTopoDS_TCompSolid1::PTopoDS_TCompSolid1() 
-{
-}
-
-
-
-//=======================================================================
-//function : ShapeType 
-//purpose  : 
-//=======================================================================
-
-TopAbs_ShapeEnum PTopoDS_TCompSolid1::ShapeType() const
-{
-  return TopAbs_COMPSOLID;
-}
diff --git a/src/PTopoDS/PTopoDS_TCompound.cdl b/src/PTopoDS/PTopoDS_TCompound.cdl
deleted file mode 100644 (file)
index 152f5c2..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
--- Created on: 1990-12-17
--- Created by: Remi Lequette
--- Copyright (c) 1990-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TCompound from PTopoDS inherits TShape from PTopoDS
-
-       ---Purpose: A topological Compound object containing shapes.
-
-uses
-    ShapeEnum from TopAbs
-
-is
-    Create returns TCompound from PTopoDS;
-       ---Purpose: the new TCompound is empty.
-    ---Level: Internal 
-       
-    ShapeType(me) returns ShapeEnum from TopAbs;
-    ---Level: Internal 
-
-end TCompound;
-
diff --git a/src/PTopoDS/PTopoDS_TCompound.cxx b/src/PTopoDS/PTopoDS_TCompound.cxx
deleted file mode 100644 (file)
index 21c7513..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-// Created on: 1993-03-09
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopoDS_TCompound.ixx>
-
-//=======================================================================
-//function : PTopoDS_TCompound
-//purpose  : 
-//=======================================================================
-
-PTopoDS_TCompound::PTopoDS_TCompound() 
-{
-}
-
-
-
-//=======================================================================
-//function : ShapeType 
-//purpose  : 
-//=======================================================================
-
-TopAbs_ShapeEnum PTopoDS_TCompound::ShapeType() const
-{
-  return TopAbs_COMPOUND;
-}
diff --git a/src/PTopoDS/PTopoDS_TCompound1.cdl b/src/PTopoDS/PTopoDS_TCompound1.cdl
deleted file mode 100644 (file)
index 998ab72..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
--- Created on: 1990-12-17
--- Created by: Remi Lequette
--- Copyright (c) 1990-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TCompound1 from PTopoDS inherits TShape1 from PTopoDS
-
-       ---Purpose: A topological Compound1 object containing shapes.
-
-uses
-    ShapeEnum from TopAbs
-
-is
-    Create returns TCompound1 from PTopoDS;
-       ---Purpose: the new TCompound1 is empty.
-    ---Level: Internal 
-       
-    ShapeType(me) returns ShapeEnum from TopAbs;
-    ---Level: Internal 
-
-end TCompound1;
-
diff --git a/src/PTopoDS/PTopoDS_TCompound1.cxx b/src/PTopoDS/PTopoDS_TCompound1.cxx
deleted file mode 100644 (file)
index 47f1206..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-// Created on: 1993-03-09
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopoDS_TCompound1.ixx>
-
-//=======================================================================
-//function : PTopoDS_TCompound1
-//purpose  : 
-//=======================================================================
-
-PTopoDS_TCompound1::PTopoDS_TCompound1() 
-{
-}
-
-
-
-//=======================================================================
-//function : ShapeType 
-//purpose  : 
-//=======================================================================
-
-TopAbs_ShapeEnum PTopoDS_TCompound1::ShapeType() const
-{
-  return TopAbs_COMPOUND;
-}
diff --git a/src/PTopoDS/PTopoDS_TEdge.cdl b/src/PTopoDS/PTopoDS_TEdge.cdl
deleted file mode 100644 (file)
index 9eb91ef..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
--- Created on: 1990-12-17
--- Created by: Remi Lequette
--- Copyright (c) 1990-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class TEdge from PTopoDS inherits TShape from PTopoDS
-
-       ---Purpose: A topological part  of a  curve  in 2D or 3D,  the
-       --          boundary    is   a   set  of oriented    Vertices.
-       --          A  Topological edge   shape.
-
-uses
-    ShapeEnum from TopAbs
-
-is
-    ShapeType(me) returns ShapeEnum from TopAbs;
-    ---Level: Internal 
-
-end TEdge;
-
diff --git a/src/PTopoDS/PTopoDS_TEdge.cxx b/src/PTopoDS/PTopoDS_TEdge.cxx
deleted file mode 100644 (file)
index d545261..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-// Created on: 1993-03-09
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopoDS_TEdge.ixx>
-
-//=======================================================================
-//function : ShapeType 
-//purpose  : 
-//=======================================================================
-
-TopAbs_ShapeEnum PTopoDS_TEdge::ShapeType() const
-{
-  return TopAbs_EDGE;
-}
diff --git a/src/PTopoDS/PTopoDS_TEdge1.cdl b/src/PTopoDS/PTopoDS_TEdge1.cdl
deleted file mode 100644 (file)
index 6e2178f..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
--- Created on: 1990-12-17
--- Created by: Remi Lequette
--- Copyright (c) 1990-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class TEdge1 from PTopoDS inherits TShape1 from PTopoDS
-
-       ---Purpose: A  Topological edge   shape.
-       --          A topological part  of a  curve  in 2D or 3D,  the
-       --          boundary    is   a   set  of oriented    Vertices.
-uses
-    ShapeEnum from TopAbs
-
-is
-    ShapeType(me) returns ShapeEnum from TopAbs;
-    ---Level: Internal 
-
-end TEdge1;
-
diff --git a/src/PTopoDS/PTopoDS_TEdge1.cxx b/src/PTopoDS/PTopoDS_TEdge1.cxx
deleted file mode 100644 (file)
index 8976537..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-// Created on: 1993-03-09
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopoDS_TEdge1.ixx>
-
-//=======================================================================
-//function : ShapeType 
-//purpose  : 
-//=======================================================================
-
-TopAbs_ShapeEnum PTopoDS_TEdge1::ShapeType() const
-{
-  return TopAbs_EDGE;
-}
diff --git a/src/PTopoDS/PTopoDS_TFace.cdl b/src/PTopoDS/PTopoDS_TFace.cdl
deleted file mode 100644 (file)
index 4bb36a3..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
--- Created on: 1990-12-17
--- Created by: Remi Lequette
--- Copyright (c) 1990-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TFace from PTopoDS inherits TShape from PTopoDS
-
-       ---Purpose: A topological  Face.
-  --          A  topological part  of a  surface  or of  the  2D
-  --          space. The boundary is a set of wires and edges.
-uses
-    ShapeEnum from TopAbs
-
-is
-    Create returns TFace from PTopoDS;
-       ---Purpose: the new TFace covers the whole 2D space.
-    ---Level: Internal 
-       
-    ShapeType(me) returns ShapeEnum from TopAbs;
-    ---Level: Internal 
-
-end TFace;
diff --git a/src/PTopoDS/PTopoDS_TFace.cxx b/src/PTopoDS/PTopoDS_TFace.cxx
deleted file mode 100644 (file)
index 9137d0b..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-// Created on: 1993-03-09
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopoDS_TFace.ixx>
-
-//=======================================================================
-//function : PTopoDS_TFace
-//purpose  : 
-//=======================================================================
-
-PTopoDS_TFace::PTopoDS_TFace() 
-{
-}
-
-
-
-//=======================================================================
-//function : ShapeType 
-//purpose  : 
-//=======================================================================
-
-TopAbs_ShapeEnum PTopoDS_TFace::ShapeType() const
-{
-  return TopAbs_FACE;
-}
diff --git a/src/PTopoDS/PTopoDS_TFace1.cdl b/src/PTopoDS/PTopoDS_TFace1.cdl
deleted file mode 100644 (file)
index 2540085..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
--- Created on: 1990-12-17
--- Created by: Remi Lequette
--- Copyright (c) 1990-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TFace1 from PTopoDS inherits TShape1 from PTopoDS
-
-       ---Purpose: A topological  Face1.
-       --          A  topological part  of a  surface  or of  the  2D
-       --          space. The boundary is a set of wires and edges.
-uses
-    ShapeEnum from TopAbs
-
-is
-    Create returns TFace1 from PTopoDS;
-       ---Purpose: the new TFace1 covers the whole 2D space.
-    ---Level: Internal 
-       
-    ShapeType(me) returns ShapeEnum from TopAbs;
-    ---Level: Internal 
-
-end TFace1;
diff --git a/src/PTopoDS/PTopoDS_TFace1.cxx b/src/PTopoDS/PTopoDS_TFace1.cxx
deleted file mode 100644 (file)
index db36808..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-// Created on: 1993-03-09
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopoDS_TFace1.ixx>
-
-//=======================================================================
-//function : PTopoDS_TFace1
-//purpose  : 
-//=======================================================================
-
-PTopoDS_TFace1::PTopoDS_TFace1() 
-{
-}
-
-
-
-//=======================================================================
-//function : ShapeType 
-//purpose  : 
-//=======================================================================
-
-TopAbs_ShapeEnum PTopoDS_TFace1::ShapeType() const
-{
-  return TopAbs_FACE;
-}
diff --git a/src/PTopoDS/PTopoDS_TShape.cdl b/src/PTopoDS/PTopoDS_TShape.cdl
deleted file mode 100644 (file)
index 3716e53..0000000
+++ /dev/null
@@ -1,135 +0,0 @@
--- Created on: 1990-12-13
--- Created by: Remi Lequette
--- Copyright (c) 1990-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- Update:      Frederic Maupas
-
-
-deferred class TShape from PTopoDS inherits Persistent from Standard
-
-       ---Purpose: A TShape  is a topological  structure describing a
-       --          set of points in a 2D or 3D space.
-       --          This is a deferred class  used to support
-       --          topological objects.
-
-       --  All the information stored are potentially frozen.  So has
-       --  the "free"  information no  sense in  the D.B. context.  A
-       --  Shape from PTopoDS translated in  a Shape from TopoDS will
-       --  be automatically frozen (not free).
-
-uses
-    HArray1OfHShape from PTopoDS,
-    HShape          from PTopoDS,
-    ShapeEnum       from TopAbs
-
-is
-    Initialize;
-       ---Level: Internal 
-       
-    ShapeType(me) returns ShapeEnum from TopAbs
-       ---Purpose: Returns the type as a term of the ShapeEnum enum :
-       --          VERTEX, EDGE, WIRE, FACE, ....
-       ---Level: Internal 
-    is deferred;
-
-    Modified(me) returns Boolean
-       ---Purpose: Returns the modification flag.
-       ---Level: Internal 
-    is static;
-    
-    Modified(me : mutable; M : Boolean)
-       ---Purpose: Sets the modification flag.
-       ---Level: Internal 
-    is static;
-    
-    Checked(me) returns Boolean
-       ---Purpose: Returns the checked flag.
-       ---Level: Internal 
-    is static;
-        
-    Checked(me : mutable; C : Boolean)
-       ---Purpose: Sets the checked flag.
-       ---Level: Internal 
-    is static;
-        
-    Orientable(me) returns Boolean
-       ---Purpose: Returns the orientability flag.
-       ---Level: Internal 
-    is static;
-    
-    Orientable(me : mutable; C : Boolean)
-       ---Purpose: Sets the orientability flag.
-       ---Level: Internal 
-    is static;
-    
-    Closed(me) returns Boolean
-       ---Purpose: Returns the closedness flag.
-       ---Level: Internal 
-    is static;
-    
-    Closed(me : mutable; C : Boolean)
-       ---Purpose: Sets the closedness flag.
-       ---Level: Internal 
-    is static;
-    
-    Infinite(me) returns Boolean
-       ---Purpose: Returns the infinity flag.
-       ---Level: Internal 
-    is static;
-    
-    Infinite(me : mutable; C : Boolean)
-       ---Purpose: Sets the infinity flag.
-       ---Level: Internal 
-    is static;
-    
-    Convex(me) returns Boolean
-       ---Purpose: Returns the convexness flag.
-       ---Level: Internal 
-    is static;
-    
-    Convex(me : mutable; C : Boolean)
-       ---Purpose: Sets the convexness flag.
-       ---Level: Internal 
-    is static;
-    
-    
-    Shapes(me) returns HArray1OfHShape from PTopoDS
-       ---Purpose: Sets the hshape list
-       ---Level: Internal 
-    is static;
-    
-    Shapes(me; I : Integer from Standard) returns HShape from PTopoDS
-       ---Purpose: Sets the i th element of the HShape list
-       ---Level: Internal 
-    is static;
-
-    Shapes(me: mutable; S : HArray1OfHShape from PTopoDS)
-       ---Purpose: Returns the HShape list
-        ---Level: Internal 
-    is static;
-    
-    Shapes(me: mutable; I : Integer from Standard; S : HShape from PTopoDS)
-       ---Purpose: Returns the i th element of the hshape list
-        ---Level: Internal 
-    is static;
-    
-    
-fields
-
-    myShapes  : HArray1OfHShape from PTopoDS;
-    myFlags   : Integer         from Standard;
-
-end TShape;
-
diff --git a/src/PTopoDS/PTopoDS_TShape.cxx b/src/PTopoDS/PTopoDS_TShape.cxx
deleted file mode 100644 (file)
index dad134d..0000000
+++ /dev/null
@@ -1,211 +0,0 @@
-// Created on: 1993-03-09
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopoDS_TShape.ixx>
-
-// static const Standard_Integer FreeMask       = 1;
-// FreeMask has no sense in D.B. context; it is free for future use.
-static const Standard_Integer ModifiedMask   = 2;
-static const Standard_Integer CheckedMask    = 4;
-static const Standard_Integer OrientableMask = 8;
-static const Standard_Integer ClosedMask     = 16;
-static const Standard_Integer InfiniteMask   = 32;
-static const Standard_Integer ConvexMask     = 64;
-
-
-//=======================================================================
-//function : PTopoDS_TShape
-//purpose  : 
-//=======================================================================
-
-PTopoDS_TShape::PTopoDS_TShape() : myFlags(0)
-{
-  // UPDATE FMA - 28-11-95
-  // These two flags are always set to the Transient Value
-  //Modified(Standard_True);
-  //Orientable(Standard_True);
-}
-
-
-//=======================================================================
-//function : Modified
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PTopoDS_TShape::Modified() const 
-{
-  return myFlags & ModifiedMask;
-}
-
-//=======================================================================
-//function : Modified
-//purpose  : 
-//=======================================================================
-
-void  PTopoDS_TShape::Modified(const Standard_Boolean M)
-{
-  if (M) myFlags |= ModifiedMask;
-  else   myFlags &= ~ModifiedMask;
-}
-
-//=======================================================================
-//function : Checked
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PTopoDS_TShape::Checked() const 
-{
-  return myFlags & CheckedMask;
-}
-
-//=======================================================================
-//function : Checked
-//purpose  : 
-//=======================================================================
-
-void  PTopoDS_TShape::Checked(const Standard_Boolean M)
-{
-  if (M) myFlags |= CheckedMask;
-  else   myFlags &= ~CheckedMask;
-}
-
-//=======================================================================
-//function : Orientable
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PTopoDS_TShape::Orientable() const 
-{
-  return myFlags & OrientableMask;
-}
-
-//=======================================================================
-//function : Orientable
-//purpose  : 
-//=======================================================================
-
-void  PTopoDS_TShape::Orientable(const Standard_Boolean M)
-{
-  if (M) myFlags |= OrientableMask;
-  else   myFlags &= ~OrientableMask;
-}
-
-//=======================================================================
-//function : Closed
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PTopoDS_TShape::Closed() const 
-{
-  return myFlags & ClosedMask;
-}
-
-//=======================================================================
-//function : Closed
-//purpose  : 
-//=======================================================================
-
-void  PTopoDS_TShape::Closed(const Standard_Boolean M)
-{
-  if (M) myFlags |= ClosedMask;
-  else   myFlags &= ~ClosedMask;
-}
-
-//=======================================================================
-//function : Infinite
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PTopoDS_TShape::Infinite() const 
-{
-  return myFlags & InfiniteMask;
-}
-
-//=======================================================================
-//function : Infinite
-//purpose  : 
-//=======================================================================
-
-void  PTopoDS_TShape::Infinite(const Standard_Boolean M)
-{
-  if (M) myFlags |= InfiniteMask;
-  else   myFlags &= ~InfiniteMask;
-}
-
-//=======================================================================
-//function : Convex
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PTopoDS_TShape::Convex() const 
-{
-  return myFlags & ConvexMask;
-}
-
-//=======================================================================
-//function : Convex
-//purpose  : 
-//=======================================================================
-
-void  PTopoDS_TShape::Convex(const Standard_Boolean M)
-{
-  if (M) myFlags |= ConvexMask;
-  else   myFlags &= ~ConvexMask;
-}
-
-
-//=======================================================================
-//function : Shapes
-//purpose  : returns the array of sub-shapes
-//=======================================================================
-
-Handle(PTopoDS_HArray1OfHShape) PTopoDS_TShape::Shapes() const
-{
-  return myShapes;
-}
-
-//=======================================================================
-//function : Shapes
-//purpose  : returns the Ith element of the array of sub-shapes
-//=======================================================================
-
-Handle(PTopoDS_HShape)
-PTopoDS_TShape::Shapes(const Standard_Integer i) const
-{
-  return myShapes->Value(i);
-}
-
-//=======================================================================
-//function : Shapes
-//purpose  : Sets the array of sub-shapes
-//=======================================================================
-
-void PTopoDS_TShape::Shapes(const Handle(PTopoDS_HArray1OfHShape)& S)
-{
-  myShapes = S;
-}
-
-//=======================================================================
-//function : Shapes
-//purpose  : Sets the Ith element of the array of sub-shapes
-//=======================================================================
-
-void PTopoDS_TShape::Shapes(const Standard_Integer i,
-                           const Handle(PTopoDS_HShape)& S)
-{
-  myShapes->SetValue(i, S);
-}
-
diff --git a/src/PTopoDS/PTopoDS_TShape1.cdl b/src/PTopoDS/PTopoDS_TShape1.cdl
deleted file mode 100644 (file)
index fe3aabd..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
--- Created by: DAUTRY Philippe
--- Copyright (c) 1998-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
---             -------------------
-
----Version:    0.0
---Version      Date            Purpose
---             0.0     Feb  4 1998     Creation
-
-
-deferred class TShape1 from PTopoDS inherits Persistent from Standard
-
-       ---Purpose: A TShape1  is a topological  structure describing a
-       --          set of points in a 2D or 3D space.
-       --          A topological shape is a structure made from other
-       --          shapes.  This is a deferred class  used to support
-       --          topological objects.
-
-       --  All the information stored are potentially frozen.  So has
-       --  the "free"  information no  sense in  the D.B. context.  A
-       --  Shape from PTopoDS translated in  a Shape from TopoDS will
-       --  be automatically frozen (not free).
-
-uses
-
-    HArray1OfShape1 from PTopoDS,
-    Shape1          from PTopoDS,
-    ShapeEnum       from TopAbs
-
-is
-    Initialize;
-       ---Level: Internal 
-       
-    ShapeType(me) returns ShapeEnum from TopAbs
-       ---Purpose: Returns the type as a term of the ShapeEnum enum :
-       --          VERTEX, EDGE, WIRE, FACE, ....
-       ---Level: Internal 
-    is deferred;
-
-    Modified(me) returns Boolean
-       ---Purpose: Returns the modification flag.
-       ---Level: Internal 
-    is static;
-    
-    Modified(me : mutable; M : Boolean)
-       ---Purpose: Sets the modification flag.
-       ---Level: Internal 
-    is static;
-    
-    Checked(me) returns Boolean
-       ---Purpose: Returns the checked flag.
-       ---Level: Internal 
-    is static;
-        
-    Checked(me : mutable; C : Boolean)
-       ---Purpose: Sets the checked flag.
-       ---Level: Internal 
-    is static;
-        
-    Orientable(me) returns Boolean
-       ---Purpose: Returns the orientability flag.
-       ---Level: Internal 
-    is static;
-    
-    Orientable(me : mutable; C : Boolean)
-       ---Purpose: Sets the orientability flag.
-       ---Level: Internal 
-    is static;
-    
-    Closed(me) returns Boolean
-       ---Purpose: Returns the closedness flag.
-       ---Level: Internal 
-    is static;
-    
-    Closed(me : mutable; C : Boolean)
-       ---Purpose: Sets the closedness flag.
-       ---Level: Internal 
-    is static;
-    
-    Infinite(me) returns Boolean
-       ---Purpose: Returns the infinity flag.
-       ---Level: Internal 
-    is static;
-    
-    Infinite(me : mutable; C : Boolean)
-       ---Purpose: Sets the infinity flag.
-       ---Level: Internal 
-    is static;
-    
-    Convex(me) returns Boolean
-       ---Purpose: Returns the convexness flag.
-       ---Level: Internal 
-    is static;
-    
-    Convex(me : mutable; C : Boolean)
-       ---Purpose: Sets the convexness flag.
-       ---Level: Internal 
-    is static;
-    
-    
-    Shapes(me) returns HArray1OfShape1 from PTopoDS
-       ---Purpose: Returns the hshape list
-       ---Level: Internal 
-    is static;
-    
-    Shapes(me; I : Integer from Standard) returns Shape1 from PTopoDS
-       ---Purpose: Returns the i th element of the Shape1 list
-       ---Level: Internal 
-    is static;
-
-    Shapes(me: mutable; S : HArray1OfShape1 from PTopoDS)
-       ---Purpose: Sets the Shape1 list
-        ---Level: Internal 
-    is static;
-    
-    Shapes(me: mutable; I : Integer from Standard; S : Shape1 from PTopoDS)
-       ---Purpose: Sets the i th element of the hshape list
-        ---Level: Internal 
-    is static;
-    
-    
-fields
-
-    myShapes  : HArray1OfShape1 from PTopoDS;
-    myFlags   : Integer         from Standard;
-
-end TShape1;
-
diff --git a/src/PTopoDS/PTopoDS_TShape1.cxx b/src/PTopoDS/PTopoDS_TShape1.cxx
deleted file mode 100644 (file)
index 5e5ff1b..0000000
+++ /dev/null
@@ -1,201 +0,0 @@
-// Created by: DAUTRY Philippe
-// Copyright (c) 1998-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-//             -------------------
-
-// Version:    0.0
-//Version      Date            Purpose
-//             0.0     Feb  4 1998     Creation
-
-
-
-#include <PTopoDS_TShape1.ixx>
-
-// Enum terms are better than statics, who need to be initialized.
-enum {
-  PTopoDS_FreeMask       = 1,
-  // FreeMask has no sense in D.B. context; it is free for future use.
-  PTopoDS_ModifiedMask   = 2,
-  PTopoDS_CheckedMask    = 4,
-  PTopoDS_OrientableMask = 8,
-  PTopoDS_ClosedMask     = 16,
-  PTopoDS_InfiniteMask   = 32,
-  PTopoDS_ConvexMask     = 64
-};
-
-
-//=======================================================================
-//function : PTopoDS_TShape1
-//purpose  : 
-//=======================================================================
-
-PTopoDS_TShape1::PTopoDS_TShape1()
-: myFlags(0)
-     // These two flags are always set to the Transient Value
-     //Modified(Standard_True);
-     //Orientable(Standard_True);
-{}
-
-
-//=======================================================================
-//function : Modified
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PTopoDS_TShape1::Modified() const 
-{ return myFlags & PTopoDS_ModifiedMask; }
-
-//=======================================================================
-//function : Modified
-//purpose  : 
-//=======================================================================
-
-void  PTopoDS_TShape1::Modified(const Standard_Boolean M)
-{
-  if (M) myFlags |= PTopoDS_ModifiedMask;
-  else   myFlags &= ~PTopoDS_ModifiedMask;
-}
-
-//=======================================================================
-//function : Checked
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PTopoDS_TShape1::Checked() const 
-{ return myFlags & PTopoDS_CheckedMask; }
-
-//=======================================================================
-//function : Checked
-//purpose  : 
-//=======================================================================
-
-void  PTopoDS_TShape1::Checked(const Standard_Boolean M)
-{
-  if (M) myFlags |= PTopoDS_CheckedMask;
-  else   myFlags &= ~PTopoDS_CheckedMask;
-}
-
-//=======================================================================
-//function : Orientable
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PTopoDS_TShape1::Orientable() const 
-{ return myFlags & PTopoDS_OrientableMask; }
-
-//=======================================================================
-//function : Orientable
-//purpose  : 
-//=======================================================================
-
-void  PTopoDS_TShape1::Orientable(const Standard_Boolean M)
-{
-  if (M) myFlags |= PTopoDS_OrientableMask;
-  else   myFlags &= ~PTopoDS_OrientableMask;
-}
-
-//=======================================================================
-//function : Closed
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PTopoDS_TShape1::Closed() const 
-{ return myFlags & PTopoDS_ClosedMask; }
-
-//=======================================================================
-//function : Closed
-//purpose  : 
-//=======================================================================
-
-void  PTopoDS_TShape1::Closed(const Standard_Boolean M)
-{
-  if (M) myFlags |= PTopoDS_ClosedMask;
-  else   myFlags &= ~PTopoDS_ClosedMask;
-}
-
-//=======================================================================
-//function : Infinite
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PTopoDS_TShape1::Infinite() const 
-{ return myFlags & PTopoDS_InfiniteMask; }
-
-//=======================================================================
-//function : Infinite
-//purpose  : 
-//=======================================================================
-
-void  PTopoDS_TShape1::Infinite(const Standard_Boolean M)
-{
-  if (M) myFlags |= PTopoDS_InfiniteMask;
-  else   myFlags &= ~PTopoDS_InfiniteMask;
-}
-
-//=======================================================================
-//function : Convex
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean  PTopoDS_TShape1::Convex() const 
-{ return myFlags & PTopoDS_ConvexMask; }
-
-//=======================================================================
-//function : Convex
-//purpose  : 
-//=======================================================================
-
-void  PTopoDS_TShape1::Convex(const Standard_Boolean M)
-{
-  if (M) myFlags |= PTopoDS_ConvexMask;
-  else   myFlags &= ~PTopoDS_ConvexMask;
-}
-
-
-//=======================================================================
-//function : Shapes
-//purpose  : returns the array of sub-shapes
-//=======================================================================
-
-Handle(PTopoDS_HArray1OfShape1) PTopoDS_TShape1::Shapes() const
-{ return myShapes; }
-
-//=======================================================================
-//function : Shapes
-//purpose  : returns the Ith element of the array of sub-shapes
-//=======================================================================
-
-PTopoDS_Shape1 PTopoDS_TShape1::Shapes
-(const Standard_Integer i) const
-{ return myShapes->Value(i); }
-
-//=======================================================================
-//function : Shapes
-//purpose  : Sets the array of sub-shapes
-//=======================================================================
-
-void PTopoDS_TShape1::Shapes(const Handle(PTopoDS_HArray1OfShape1)& S)
-{ myShapes = S; }
-
-//=======================================================================
-//function : Shapes
-//purpose  : Sets the Ith element of the array of sub-shapes
-//=======================================================================
-
-void PTopoDS_TShape1::Shapes
-(const Standard_Integer i,
- const PTopoDS_Shape1& S)
-{ myShapes->SetValue(i, S); }
-
diff --git a/src/PTopoDS/PTopoDS_TShell.cdl b/src/PTopoDS/PTopoDS_TShell.cdl
deleted file mode 100644 (file)
index a73f5f1..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
--- Created on: 1990-12-17
--- Created by: Remi Lequette
--- Copyright (c) 1990-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TShell from PTopoDS inherits TShape from PTopoDS
-
-       ---Purpose: A topological  Shell shape.
-  --          A set of Faces or Shells, a topological surface or
-----          any faces structure.
-uses
-    ShapeEnum from TopAbs
-
-is
-    Create returns TShell from PTopoDS;
-       ---Level: Internal 
-       
-    ShapeType(me) returns ShapeEnum from TopAbs;
-       ---Level: Internal 
-
-end TShell;
diff --git a/src/PTopoDS/PTopoDS_TShell.cxx b/src/PTopoDS/PTopoDS_TShell.cxx
deleted file mode 100644 (file)
index 1417b44..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-// Created on: 1993-03-09
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopoDS_TShell.ixx>
-
-//=======================================================================
-//function : PTopoDS_TShell
-//purpose  : 
-//=======================================================================
-
-PTopoDS_TShell::PTopoDS_TShell() 
-{
-}
-
-
-//=======================================================================
-//function : ShapeType 
-//purpose  : 
-//=======================================================================
-
-TopAbs_ShapeEnum PTopoDS_TShell::ShapeType() const
-{
-  return TopAbs_SHELL;
-}
-
-
-
-
diff --git a/src/PTopoDS/PTopoDS_TShell1.cdl b/src/PTopoDS/PTopoDS_TShell1.cdl
deleted file mode 100644 (file)
index fb991b0..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
--- Created on: 1990-12-17
--- Created by: Remi Lequette
--- Copyright (c) 1990-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TShell1 from PTopoDS inherits TShape1 from PTopoDS
-
-       ---Purpose: A topological  Shell1 shape.
-       --          A set of Faces or Shells, a topological surface or
-       --          any faces structure.
-uses
-    ShapeEnum from TopAbs
-
-is
-    Create returns TShell1 from PTopoDS;
-       ---Level: Internal 
-       
-    ShapeType(me) returns ShapeEnum from TopAbs;
-       ---Level: Internal 
-
-end TShell1;
diff --git a/src/PTopoDS/PTopoDS_TShell1.cxx b/src/PTopoDS/PTopoDS_TShell1.cxx
deleted file mode 100644 (file)
index 88d14d0..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-// Created on: 1993-03-09
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopoDS_TShell1.ixx>
-
-//=======================================================================
-//function : PTopoDS_TShell1
-//purpose  : 
-//=======================================================================
-
-PTopoDS_TShell1::PTopoDS_TShell1() 
-{
-}
-
-
-//=======================================================================
-//function : ShapeType 
-//purpose  : 
-//=======================================================================
-
-TopAbs_ShapeEnum PTopoDS_TShell1::ShapeType() const
-{
-  return TopAbs_SHELL;
-}
-
-
-
-
diff --git a/src/PTopoDS/PTopoDS_TSolid.cdl b/src/PTopoDS/PTopoDS_TSolid.cdl
deleted file mode 100644 (file)
index 3d80637..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
--- Created on: 1990-12-17
--- Created by: Remi Lequette
--- Copyright (c) 1990-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TSolid from PTopoDS inherits TShape from PTopoDS
-
-  ---Purpose: A topological  Solid shape.
-  --          A Topological part of 3D  space, bounded by Shells
-  --          and Faces.
-uses
-    ShapeEnum from TopAbs
-
-is
-    Create returns TSolid from PTopoDS;
-       ---Purpose: The new  TSolid  has no  boundary  and covers  the
-       --          whole 3D space.
-       ---Level: Internal 
-       
-    ShapeType(me) returns ShapeEnum from TopAbs;
-       ---Level: Internal 
-
-end TSolid;
diff --git a/src/PTopoDS/PTopoDS_TSolid.cxx b/src/PTopoDS/PTopoDS_TSolid.cxx
deleted file mode 100644 (file)
index ec14bd7..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-// Created on: 1993-03-09
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopoDS_TSolid.ixx>
-
-//=======================================================================
-//function : PTopoDS_TSolid
-//purpose  : 
-//=======================================================================
-
-PTopoDS_TSolid::PTopoDS_TSolid() 
-{
-}
-
-
-
-//=======================================================================
-//function : ShapeType 
-//purpose  : 
-//=======================================================================
-
-TopAbs_ShapeEnum PTopoDS_TSolid::ShapeType() const
-{
-  return TopAbs_SOLID;
-}
diff --git a/src/PTopoDS/PTopoDS_TSolid1.cdl b/src/PTopoDS/PTopoDS_TSolid1.cdl
deleted file mode 100644 (file)
index 256a893..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
--- Created on: 1990-12-17
--- Created by: Remi Lequette
--- Copyright (c) 1990-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TSolid1 from PTopoDS inherits TShape1 from PTopoDS
-
-       ---Purpose: A topological  Solid1 shape.   
-       --          A Topological part of 3D  space, bounded by Shells
-       --          and Faces.
-uses
-    ShapeEnum from TopAbs
-
-is
-    Create returns TSolid1 from PTopoDS;
-       ---Purpose: The new  TSolid1  has no  boundary  and covers  the
-       --          whole 3D space.
-       ---Level: Internal 
-       
-    ShapeType(me) returns ShapeEnum from TopAbs;
-       ---Level: Internal 
-
-end TSolid1;
diff --git a/src/PTopoDS/PTopoDS_TSolid1.cxx b/src/PTopoDS/PTopoDS_TSolid1.cxx
deleted file mode 100644 (file)
index cf325e0..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-// Created on: 1993-03-09
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopoDS_TSolid1.ixx>
-
-//=======================================================================
-//function : PTopoDS_TSolid1
-//purpose  : 
-//=======================================================================
-
-PTopoDS_TSolid1::PTopoDS_TSolid1() 
-{
-}
-
-
-
-//=======================================================================
-//function : ShapeType 
-//purpose  : 
-//=======================================================================
-
-TopAbs_ShapeEnum PTopoDS_TSolid1::ShapeType() const
-{
-  return TopAbs_SOLID;
-}
diff --git a/src/PTopoDS/PTopoDS_TVertex.cdl b/src/PTopoDS/PTopoDS_TVertex.cdl
deleted file mode 100644 (file)
index 8960c55..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
--- Created on: 1990-12-13
--- Created by: Remi Lequette
--- Copyright (c) 1990-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class TVertex from PTopoDS inherits TShape from PTopoDS
-
-       ---Purpose: The vertex is a topological point in two or three
-       --          dimensions.
-
-uses
-    ShapeEnum from TopAbs
-
-is
-    ShapeType(me) returns ShapeEnum from TopAbs;
-       ---Level: Internal 
-
-end TVertex;
-
-
diff --git a/src/PTopoDS/PTopoDS_TVertex.cxx b/src/PTopoDS/PTopoDS_TVertex.cxx
deleted file mode 100644 (file)
index 7e2ba0f..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-// Created on: 1993-03-09
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopoDS_TVertex.ixx>
-
-
-//=======================================================================
-//function : ShapeType 
-//purpose  : 
-//=======================================================================
-
-TopAbs_ShapeEnum PTopoDS_TVertex::ShapeType() const
-{
-  return TopAbs_VERTEX;
-}
diff --git a/src/PTopoDS/PTopoDS_TVertex1.cdl b/src/PTopoDS/PTopoDS_TVertex1.cdl
deleted file mode 100644 (file)
index f1c5288..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
--- Created on: 1990-12-13
--- Created by: Remi Lequette
--- Copyright (c) 1990-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class TVertex1 from PTopoDS inherits TShape1 from PTopoDS
-
-       ---Purpose: The vertex is a topological point in in two or three dimensions.
-
-uses
-    ShapeEnum from TopAbs
-
-is
-    ShapeType(me) returns ShapeEnum from TopAbs;
-       ---Level: Internal 
-
-end TVertex1;
-
-
diff --git a/src/PTopoDS/PTopoDS_TVertex1.cxx b/src/PTopoDS/PTopoDS_TVertex1.cxx
deleted file mode 100644 (file)
index d3ba661..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-// Created on: 1993-03-09
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopoDS_TVertex1.ixx>
-
-
-//=======================================================================
-//function : ShapeType 
-//purpose  : 
-//=======================================================================
-
-TopAbs_ShapeEnum PTopoDS_TVertex1::ShapeType() const
-{
-  return TopAbs_VERTEX;
-}
diff --git a/src/PTopoDS/PTopoDS_TWire.cdl b/src/PTopoDS/PTopoDS_TWire.cdl
deleted file mode 100644 (file)
index 0798030..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
--- Created on: 1990-12-17
--- Created by: Remi Lequette
--- Copyright (c) 1990-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TWire from PTopoDS  inherits TShape from PTopoDS
-
-       ---Purpose: a Topological  Wire is a  structure of Edges.
-       --          It can be a wireframe or a composite line. The
-       --          Edges may have 2D curves stored with them. This is
-       --          a curve in the parametric space of a Surface.
-
-uses
-    ShapeEnum from TopAbs
-
-is
-    Create returns TWire;
-       ---Level: Internal 
-
-    ShapeType(me) returns ShapeEnum from TopAbs;
-       ---Level: Internal 
-
-end TWire;
-
-
diff --git a/src/PTopoDS/PTopoDS_TWire.cxx b/src/PTopoDS/PTopoDS_TWire.cxx
deleted file mode 100644 (file)
index ba367ed..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// Created on: 1993-03-09
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopoDS_TWire.ixx>
-
-//=======================================================================
-//function : PTopoDS_TWire
-//purpose  : 
-//=======================================================================
-
-PTopoDS_TWire::PTopoDS_TWire() 
-{
-}
-
-//=======================================================================
-//function : ShapeType 
-//purpose  : 
-//=======================================================================
-
-TopAbs_ShapeEnum PTopoDS_TWire::ShapeType() const
-{
-  return TopAbs_WIRE;
-}
diff --git a/src/PTopoDS/PTopoDS_TWire1.cdl b/src/PTopoDS/PTopoDS_TWire1.cdl
deleted file mode 100644 (file)
index e5a15ff..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
--- Created on: 1990-12-17
--- Created by: Remi Lequette
--- Copyright (c) 1990-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class TWire1 from PTopoDS  inherits TShape1 from PTopoDS
-
-       ---Purpose: a Topological  Wire1 is a  structure of Edge1s.
-       --          A set of Edges making a wire  structure, it can be
-       --          a wireframe or a composite line.
-       --          The Edge1s may have 2D curves stored with them. This is
-       --          a curve in the parametric space of a Surface.
-
-uses
-    ShapeEnum from TopAbs
-
-is
-    Create returns TWire1;
-       ---Level: Internal 
-
-    ShapeType(me) returns ShapeEnum from TopAbs;
-       ---Level: Internal 
-
-end TWire1;
-
-
diff --git a/src/PTopoDS/PTopoDS_TWire1.cxx b/src/PTopoDS/PTopoDS_TWire1.cxx
deleted file mode 100644 (file)
index e583920..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// Created on: 1993-03-09
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopoDS_TWire1.ixx>
-
-//=======================================================================
-//function : PTopoDS_TWire1
-//purpose  : 
-//=======================================================================
-
-PTopoDS_TWire1::PTopoDS_TWire1() 
-{
-}
-
-//=======================================================================
-//function : ShapeType 
-//purpose  : 
-//=======================================================================
-
-TopAbs_ShapeEnum PTopoDS_TWire1::ShapeType() const
-{
-  return TopAbs_WIRE;
-}
diff --git a/src/PTopoDS/PTopoDS_Vertex.cdl b/src/PTopoDS/PTopoDS_Vertex.cdl
deleted file mode 100644 (file)
index 5be8309..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
--- Created on: 1993-05-05
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Vertex from PTopoDS inherits HShape from PTopoDS
-       ---Purpose: A Vertex  is  a TVertex  with a  Location   and an
-       --          Orientation.
-       --          It inherits HShape
-is
-    Create returns Vertex from PTopoDS;
-       ---Level: Internal 
-
-end Vertex;
diff --git a/src/PTopoDS/PTopoDS_Vertex.cxx b/src/PTopoDS/PTopoDS_Vertex.cxx
deleted file mode 100644 (file)
index 84537d4..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// Created on: 1993-05-05
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopoDS_Vertex.ixx>
-
-PTopoDS_Vertex::PTopoDS_Vertex()
-{}
diff --git a/src/PTopoDS/PTopoDS_Wire.cdl b/src/PTopoDS/PTopoDS_Wire.cdl
deleted file mode 100644 (file)
index 66aae7c..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
--- Created on: 1993-05-05
--- Created by: Remi LEQUETTE
--- Copyright (c) 1993-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Wire from PTopoDS inherits HShape from PTopoDS
-       ---Purpose: A  Wire is  a   TWire  with  a  Location  and   an
-       --          Orientation.
-       --          It inherits HShape
-is
-    Create returns Wire from PTopoDS;
-       ---Level: Internal 
-
-end Wire;
diff --git a/src/PTopoDS/PTopoDS_Wire.cxx b/src/PTopoDS/PTopoDS_Wire.cxx
deleted file mode 100644 (file)
index fd3aef8..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// Created on: 1993-05-05
-// Created by: Remi LEQUETTE
-// Copyright (c) 1993-1999 Matra Datavision
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PTopoDS_Wire.ixx>
-
-PTopoDS_Wire::PTopoDS_Wire()
-{}
diff --git a/src/PXCAFDoc/PXCAFDoc.cdl b/src/PXCAFDoc/PXCAFDoc.cdl
deleted file mode 100644 (file)
index 1286b3b..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
--- Created on: 2000-08-15
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package PXCAFDoc 
-
-       ---Purpose: This pakage is the persistent equivalent of
-       --          XCAFDoc
-
-uses
-    Quantity,
-    TopLoc,
-    PTopLoc,
-    PDF,
-    PDataStd,
-    gp,
-    PCollection,
-    PColStd
-is
-    class Location;
-    class Color;
-    class Volume;
-    class Area;
-    class Centroid;
-    class ColorTool;
-    class ShapeTool;
-    class DocumentTool;
-    class LayerTool;
-    class GraphNode;
-    class GraphNodeSequence instantiates HSequence from PCollection
-       (GraphNode from PXCAFDoc);
-    class Datum;
-    class DimTol;
-    class DimTolTool;
-    class Material;
-    class MaterialTool;
-
-end PXCAFDoc;
diff --git a/src/PXCAFDoc/PXCAFDoc_Area.cdl b/src/PXCAFDoc/PXCAFDoc_Area.cdl
deleted file mode 100644 (file)
index 47fdfb4..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
--- Created on: 2000-09-08
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Area from PXCAFDoc inherits  Attribute from PDF
-
-       ---Purpose: 
-uses 
-    Real from Standard
-
-is
-    Create returns Area from PXCAFDoc;
-
-    Create (Value     : Real from Standard)
-    returns Area from PXCAFDoc;
-    
-    Get (me) returns Real from Standard;
-
-    Set (me : mutable; V : Real from Standard);
-    
-fields
-
-    myValue     : Real    from Standard;
-
-end Area from PXCAFDoc;
diff --git a/src/PXCAFDoc/PXCAFDoc_Area.cxx b/src/PXCAFDoc/PXCAFDoc_Area.cxx
deleted file mode 100644 (file)
index e3bbb6b..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-// Created on: 2000-09-08
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PXCAFDoc_Area.ixx>
-
-//=======================================================================
-//function : PXCAFDoc_Area
-//purpose  : 
-//=======================================================================
-
-PXCAFDoc_Area::PXCAFDoc_Area () : myValue(0.) { }
-
-//=======================================================================
-//function : PXCAFDoc_Area
-//purpose  : 
-//=======================================================================
-
-PXCAFDoc_Area::PXCAFDoc_Area (const Standard_Real V) : myValue (V) {}
-    
-//=======================================================================
-//function : Set
-//purpose  : 
-//=======================================================================
-
-void PXCAFDoc_Area::Set (const Standard_Real V) 
-{
-  myValue = V;
-}
-
-//=======================================================================
-//function : Get
-//purpose  : 
-//=======================================================================
-
-Standard_Real PXCAFDoc_Area::Get () const
-{
-  return myValue;
-}
diff --git a/src/PXCAFDoc/PXCAFDoc_Centroid.cdl b/src/PXCAFDoc/PXCAFDoc_Centroid.cdl
deleted file mode 100644 (file)
index 7fddc23..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
--- Created on: 2000-09-08
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Centroid from PXCAFDoc inherits Attribute from PDF
-
-       ---Purpose: 
-
-uses 
-    
-   Pnt from gp
-is
-    Create returns Centroid from PXCAFDoc;
-    
-    Create (pnt: Pnt from gp) returns Centroid from PXCAFDoc;
-    
-    Set (me: mutable; pnt: Pnt from gp);
-    
-    Get (me) returns Pnt from gp;
-    
-fields
-    myPCentroid : Pnt from gp;
-    
-end Centroid from PXCAFDoc;
diff --git a/src/PXCAFDoc/PXCAFDoc_Centroid.cxx b/src/PXCAFDoc/PXCAFDoc_Centroid.cxx
deleted file mode 100644 (file)
index 4db3a51..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-// Created on: 2000-09-08
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PXCAFDoc_Centroid.ixx>
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-PXCAFDoc_Centroid::PXCAFDoc_Centroid()
-{
-}
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-PXCAFDoc_Centroid::PXCAFDoc_Centroid(const gp_Pnt& pnt):
-       myPCentroid(pnt)
-{
-}
-
-//=======================================================================
-//function : Set
-//purpose  : 
-//=======================================================================
-
- void PXCAFDoc_Centroid::Set(const gp_Pnt& pnt) 
-{
-  myPCentroid = pnt;
-}
-
-//=======================================================================
-//function : Get
-//purpose  : 
-//=======================================================================
-
- gp_Pnt PXCAFDoc_Centroid::Get() const
-{
-  return myPCentroid;
-}
diff --git a/src/PXCAFDoc/PXCAFDoc_Color.cdl b/src/PXCAFDoc/PXCAFDoc_Color.cdl
deleted file mode 100644 (file)
index 3a6c28f..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
--- Created on: 2000-08-16
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Color from PXCAFDoc  inherits Attribute from PDF
-
-       ---Purpose: 
-
-uses
-    Color from Quantity
-
-is
-    Create returns Color from PXCAFDoc;
-    
-    Create (Loc: Color from Quantity) returns Color from PXCAFDoc;
-    
-    Set (me: mutable; Loc: Color from Quantity);
-    
-    Get (me) returns Color from Quantity;
-    
-fields
-    myColor : Color from Quantity;
-    
-end Color;
diff --git a/src/PXCAFDoc/PXCAFDoc_Color.cxx b/src/PXCAFDoc/PXCAFDoc_Color.cxx
deleted file mode 100644 (file)
index ede47ca..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-// Created on: 2000-08-16
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PXCAFDoc_Color.ixx>
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-PXCAFDoc_Color::PXCAFDoc_Color()
-{
-}
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-PXCAFDoc_Color::PXCAFDoc_Color(const Quantity_Color& C)
-{
-  myColor = C;
-}
-
-//=======================================================================
-//function : Set
-//purpose  : 
-//=======================================================================
-
- void PXCAFDoc_Color::Set(const Quantity_Color& C) 
-{
-  myColor = C;
-}
-
-//=======================================================================
-//function : Get
-//purpose  : 
-//=======================================================================
-
- Quantity_Color PXCAFDoc_Color::Get() const
-{
-  return myColor;
-}
-
diff --git a/src/PXCAFDoc/PXCAFDoc_ColorTool.cdl b/src/PXCAFDoc/PXCAFDoc_ColorTool.cdl
deleted file mode 100644 (file)
index be6ac77..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
--- Created on: 2000-08-31
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ColorTool from PXCAFDoc inherits Attribute from PDF
-
-is
-    Create returns ColorTool from PXCAFDoc;
-
-end ColorTool;
diff --git a/src/PXCAFDoc/PXCAFDoc_ColorTool.cxx b/src/PXCAFDoc/PXCAFDoc_ColorTool.cxx
deleted file mode 100644 (file)
index d9a619b..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-// Created on: 2000-08-31
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PXCAFDoc_ColorTool.ixx>
-
-PXCAFDoc_ColorTool::PXCAFDoc_ColorTool() {}
diff --git a/src/PXCAFDoc/PXCAFDoc_Datum.cdl b/src/PXCAFDoc/PXCAFDoc_Datum.cdl
deleted file mode 100644 (file)
index 4c0d192..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
--- Created on: 2008-12-10
--- Created by: Pavel TELKOV
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Datum from PXCAFDoc inherits  Attribute from PDF
-
-       ---Purpose: 
-uses
-    HAsciiString  from PCollection
-is
-    Create returns Datum from PXCAFDoc;
-
-    Create (theName : HAsciiString from PCollection;
-           theDescr: HAsciiString from PCollection;
-            theId   : HAsciiString from PCollection)
-    returns Datum from PXCAFDoc;
-    
-    GetName (me) returns HAsciiString from PCollection;
-
-    GetDescription (me) returns HAsciiString from PCollection;
-
-    GetIdentification (me) returns HAsciiString from PCollection;
-    
-    Set (me : mutable; theName : HAsciiString from PCollection;
-                      theDescr: HAsciiString from PCollection;
-                      theId   : HAsciiString from PCollection);
-    
-fields
-
-    myName : HAsciiString from PCollection;
-    myDescr: HAsciiString from PCollection;
-    myId   : HAsciiString from PCollection;
-
-end Datum from PXCAFDoc;
diff --git a/src/PXCAFDoc/PXCAFDoc_Datum.cxx b/src/PXCAFDoc/PXCAFDoc_Datum.cxx
deleted file mode 100644 (file)
index abaf8c4..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-// Created on: 2008-12-10
-// Created by: Pavel TELKOV
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PXCAFDoc_Datum.ixx>
-
-//=======================================================================
-//function : PXCAFDoc_Datum
-//purpose  : 
-//=======================================================================
-
-PXCAFDoc_Datum::PXCAFDoc_Datum ()
-{}
-
-//=======================================================================
-//function : PXCAFDoc_Datum
-//purpose  : 
-//=======================================================================
-
-PXCAFDoc_Datum::PXCAFDoc_Datum 
-  (const Handle(PCollection_HAsciiString)& theName,
-   const Handle(PCollection_HAsciiString)& theDescr,
-   const Handle(PCollection_HAsciiString)& theId)
-: myName(theName),
-  myDescr(theDescr),
-  myId(theId)
-{}
-    
-//=======================================================================
-//function : Set
-//purpose  : 
-//=======================================================================
-
-void PXCAFDoc_Datum::Set (const Handle(PCollection_HAsciiString)& theName,
-                          const Handle(PCollection_HAsciiString)& theDescr,
-                          const Handle(PCollection_HAsciiString)& theId)
-{
-  myName = theName;
-  myDescr = theDescr;
-  myId = theId;
-}
-
-//=======================================================================
-//function : GetName
-//purpose  : 
-//=======================================================================
-
-Handle(PCollection_HAsciiString) PXCAFDoc_Datum::GetName () const
-{
-  return myName;
-}
-
-//=======================================================================
-//function : GetDescription
-//purpose  : 
-//=======================================================================
-
-Handle(PCollection_HAsciiString) PXCAFDoc_Datum::GetDescription () const
-{
-  return myDescr;
-}
-
-//=======================================================================
-//function : GetIdentification
-//purpose  : 
-//=======================================================================
-
-Handle(PCollection_HAsciiString) PXCAFDoc_Datum::GetIdentification () const
-{
-  return myId;
-}
diff --git a/src/PXCAFDoc/PXCAFDoc_DimTol.cdl b/src/PXCAFDoc/PXCAFDoc_DimTol.cdl
deleted file mode 100644 (file)
index 85d97b3..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
--- Created on: 2008-12-10
--- Created by: Pavel TELKOV
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class DimTol from PXCAFDoc inherits  Attribute from PDF
-
-       ---Purpose: 
-uses
-    Integer       from Standard,
-    HAsciiString  from PCollection,
-    HArray1OfReal from PColStd
-is
-    Create returns DimTol from PXCAFDoc;
-
-    Create (theKind : Integer from Standard;
-           theVal  : HArray1OfReal from PColStd;
-           theName : HAsciiString from PCollection;
-           theDescr: HAsciiString from PCollection)
-    returns DimTol from PXCAFDoc;
-    
-    GetKind (me) returns Integer from Standard;
-
-    GetVal (me) returns HArray1OfReal from PColStd;
-
-    GetName (me) returns HAsciiString from PCollection;
-
-    GetDescription (me) returns HAsciiString from PCollection;
-
-    Set (me : mutable; theKind : Integer from Standard;
-                      theVal  : HArray1OfReal from PColStd;
-                      theName : HAsciiString from PCollection;
-                      theDescr: HAsciiString from PCollection);
-    
-fields
-
-    myKind : Integer from Standard;
-    myVal  : HArray1OfReal from PColStd;
-    myName : HAsciiString from PCollection;
-    myDescr: HAsciiString from PCollection;
-
-end DimTol from PXCAFDoc;
diff --git a/src/PXCAFDoc/PXCAFDoc_DimTol.cxx b/src/PXCAFDoc/PXCAFDoc_DimTol.cxx
deleted file mode 100644 (file)
index 41ca54a..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-// Created on: 2008-12-10
-// Created by: Pavel TELKOV
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PXCAFDoc_DimTol.ixx>
-
-//=======================================================================
-//function : PXCAFDoc_DimTol
-//purpose  : 
-//=======================================================================
-
-PXCAFDoc_DimTol::PXCAFDoc_DimTol () : myKind(0)
-{}
-
-//=======================================================================
-//function : PXCAFDoc_DimTol
-//purpose  : 
-//=======================================================================
-
-PXCAFDoc_DimTol::PXCAFDoc_DimTol 
-  (const Standard_Integer theKind,
-   const Handle(PColStd_HArray1OfReal)& theVal,
-   const Handle(PCollection_HAsciiString)& theName,
-   const Handle(PCollection_HAsciiString)& theDescr)
-: myKind(theKind),
-  myVal(theVal),
-  myName(theName),
-  myDescr(theDescr)
-{}
-    
-//=======================================================================
-//function : Set
-//purpose  : 
-//=======================================================================
-
-void PXCAFDoc_DimTol::Set (const Standard_Integer theKind,
-                           const Handle(PColStd_HArray1OfReal)& theVal,
-                           const Handle(PCollection_HAsciiString)& theName,
-                           const Handle(PCollection_HAsciiString)& theDescr)
-{
-  myKind = theKind;
-  myVal = theVal;
-  myName = theName;
-  myDescr = theDescr;
-}
-
-//=======================================================================
-//function : GetKind
-//purpose  : 
-//=======================================================================
-
-Standard_Integer PXCAFDoc_DimTol::GetKind () const
-{
-  return myKind;
-}
-
-//=======================================================================
-//function : GetVal
-//purpose  : 
-//=======================================================================
-
-Handle(PColStd_HArray1OfReal) PXCAFDoc_DimTol::GetVal () const
-{
-  return myVal;
-}
-
-//=======================================================================
-//function : GetName
-//purpose  : 
-//=======================================================================
-
-Handle(PCollection_HAsciiString) PXCAFDoc_DimTol::GetName () const
-{
-  return myName;
-}
-
-//=======================================================================
-//function : GetDescription
-//purpose  : 
-//=======================================================================
-
-Handle(PCollection_HAsciiString) PXCAFDoc_DimTol::GetDescription () const
-{
-  return myDescr;
-}
diff --git a/src/PXCAFDoc/PXCAFDoc_DimTolTool.cdl b/src/PXCAFDoc/PXCAFDoc_DimTolTool.cdl
deleted file mode 100644 (file)
index 3cab4a8..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
--- Created on: 2008-12-10
--- Created by: Pavel TELKOV
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class DimTolTool from PXCAFDoc inherits Attribute from PDF
-
-is
-    Create returns DimTolTool from PXCAFDoc;
-
-end DimTolTool;
diff --git a/src/PXCAFDoc/PXCAFDoc_DimTolTool.cxx b/src/PXCAFDoc/PXCAFDoc_DimTolTool.cxx
deleted file mode 100644 (file)
index 31e0af0..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-// Created on: 2008-12-10
-// Created by: Pavel TELKOV
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PXCAFDoc_DimTolTool.ixx>
-
-//=======================================================================
-//function : PXCAFDoc_DimTolTool
-//purpose  : Constructor
-//=======================================================================
-
-PXCAFDoc_DimTolTool::PXCAFDoc_DimTolTool ()
-{
-}
diff --git a/src/PXCAFDoc/PXCAFDoc_DocumentTool.cdl b/src/PXCAFDoc/PXCAFDoc_DocumentTool.cdl
deleted file mode 100644 (file)
index 19cb1ad..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
--- Created on: 2000-08-31
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class DocumentTool from PXCAFDoc inherits Attribute from PDF
-
-       ---Purpose: 
-
-is
-    Create returns DocumentTool from PXCAFDoc;
-    
-end DocumentTool;
diff --git a/src/PXCAFDoc/PXCAFDoc_DocumentTool.cxx b/src/PXCAFDoc/PXCAFDoc_DocumentTool.cxx
deleted file mode 100644 (file)
index ab33269..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-// Created on: 2000-08-31
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PXCAFDoc_DocumentTool.ixx>
-
-PXCAFDoc_DocumentTool::PXCAFDoc_DocumentTool() {}
diff --git a/src/PXCAFDoc/PXCAFDoc_GraphNode.cdl b/src/PXCAFDoc/PXCAFDoc_GraphNode.cdl
deleted file mode 100644 (file)
index 2d3de9d..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
--- Created on: 2000-09-29
--- Created by: Pavel TELKOV
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class GraphNode from PXCAFDoc inherits Attribute from PDF
-
-       ---Purpose: 
-
-uses
-    Attribute         from PDF,
-    GUID              from Standard,
-    GraphNodeSequence from PXCAFDoc
-
-is
-    Create returns GraphNode from PXCAFDoc;
-    
-    SetFather (me : mutable;F : GraphNode from PXCAFDoc)
-    returns Integer from Standard;
-
-    SetChild (me : mutable;Ch : GraphNode from PXCAFDoc)
-    returns Integer from Standard;
-    
-    GetFather (me ; Findex : Integer from Standard)
-    returns GraphNode from PXCAFDoc;
-       
-    GetChild (me ; Chindex : Integer from Standard)
-    returns GraphNode from PXCAFDoc;
-    
-    FatherIndex (me ; F : GraphNode from PXCAFDoc)
-    returns Integer from Standard;
-    
-    ChildIndex (me ; Ch : GraphNode from PXCAFDoc)
-    returns Integer from Standard;
-
-    NbFathers (me) returns Integer from Standard;
-
-    NbChildren (me) returns Integer from Standard;
-
-    SetGraphID(me : mutable; GUID : GUID from Standard);
-
-    GetGraphID(me) returns GUID from Standard;
-
-fields
-
-       myFathers  : GraphNodeSequence from PXCAFDoc;
-       myChildren : GraphNodeSequence from PXCAFDoc;
-       myGraphID  : GUID              from Standard;
-       
-end GraphNode;
diff --git a/src/PXCAFDoc/PXCAFDoc_GraphNode.cxx b/src/PXCAFDoc/PXCAFDoc_GraphNode.cxx
deleted file mode 100644 (file)
index 2dca851..0000000
+++ /dev/null
@@ -1,142 +0,0 @@
-// Created on: 2000-09-29
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PXCAFDoc_GraphNode.ixx>
-#include <Standard_GUID.hxx>
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-PXCAFDoc_GraphNode::PXCAFDoc_GraphNode()
-{
-  myFathers  = new PXCAFDoc_GraphNodeSequence;
-  myChildren = new PXCAFDoc_GraphNodeSequence;
-}
-
-//=======================================================================
-//function : SetGraphID
-//purpose  : 
-//=======================================================================
-
-void PXCAFDoc_GraphNode::SetGraphID (const Standard_GUID& explicitID)
-{
-  myGraphID = explicitID;
-}
-
-//=======================================================================
-//function : GetGraphID
-//purpose  : 
-//=======================================================================
-
-Standard_GUID PXCAFDoc_GraphNode::GetGraphID() const
-{
-  return myGraphID;
-}
-
-//=======================================================================
-//function : SetFather
-//purpose  : 
-//=======================================================================
-
-Standard_Integer PXCAFDoc_GraphNode::SetFather(const Handle(PXCAFDoc_GraphNode)& F) 
-{
-  Standard_Integer Findex = myFathers->Length();
-  myFathers->Append(F);
-  return ++Findex;
-}
-
-//=======================================================================
-//function : SetChild
-//purpose  : 
-//=======================================================================
-
-Standard_Integer PXCAFDoc_GraphNode::SetChild(const Handle(PXCAFDoc_GraphNode)& Ch) 
-{
-  Standard_Integer Chindex = myChildren->Length();
-  myChildren->Append(Ch);
-  return ++Chindex;
-}
-
-//=======================================================================
-//function : GetFather
-//purpose  : 
-//=======================================================================
-
- Handle(PXCAFDoc_GraphNode) PXCAFDoc_GraphNode::GetFather(const Standard_Integer Findex) const
-{
-  Handle(PXCAFDoc_GraphNode) F = myFathers->Value(Findex);
-  return F;
-}
-
-//=======================================================================
-//function : GetChild
-//purpose  : 
-//=======================================================================
-
- Handle(PXCAFDoc_GraphNode) PXCAFDoc_GraphNode::GetChild(const Standard_Integer Chindex) const
-{
-  Handle(PXCAFDoc_GraphNode) Ch = myChildren->Value(Chindex);
-  return Ch;
-}
-
-//=======================================================================
-//function : FatherIndex
-//purpose  : 
-//=======================================================================
-
- Standard_Integer PXCAFDoc_GraphNode::FatherIndex(const Handle(PXCAFDoc_GraphNode)& F) const
-{
-  Standard_Integer Findex = 0;
-  for ( ; Findex <= NbFathers(); Findex++) {
-    if ( F == myFathers->Value(Findex)) return Findex;
-  }
-  return 0;
-}
-
-//=======================================================================
-//function : ChildIndex
-//purpose  : 
-//=======================================================================
-
- Standard_Integer PXCAFDoc_GraphNode::ChildIndex(const Handle(PXCAFDoc_GraphNode)& Ch) const
-{
-  Standard_Integer Chindex = 0;
-  for ( ; Chindex <= NbChildren(); Chindex++) {
-    if ( Ch == myChildren->Value(Chindex)) return Chindex;
-  }
-  return 0;
-}
-
-//=======================================================================
-//function : NbFathers
-//purpose  : 
-//=======================================================================
-
- Standard_Integer PXCAFDoc_GraphNode::NbFathers() const
-{
-  return myFathers->Length();
-}
-
-//=======================================================================
-//function : NbChildren
-//purpose  : 
-//=======================================================================
-
- Standard_Integer PXCAFDoc_GraphNode::NbChildren() const
-{
-  return myChildren->Length();
-}
diff --git a/src/PXCAFDoc/PXCAFDoc_LayerTool.cdl b/src/PXCAFDoc/PXCAFDoc_LayerTool.cdl
deleted file mode 100644 (file)
index 67afa69..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
--- Created on: 2000-10-03
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class LayerTool from PXCAFDoc inherits Attribute from PDF
-
-is
-    Create returns LayerTool from PXCAFDoc;
-    
-end LayerTool;
diff --git a/src/PXCAFDoc/PXCAFDoc_LayerTool.cxx b/src/PXCAFDoc/PXCAFDoc_LayerTool.cxx
deleted file mode 100644 (file)
index 6e4c99a..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// Created on: 2000-10-03
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PXCAFDoc_LayerTool.ixx>
-
-PXCAFDoc_LayerTool::PXCAFDoc_LayerTool() {}
-     
diff --git a/src/PXCAFDoc/PXCAFDoc_Location.cdl b/src/PXCAFDoc/PXCAFDoc_Location.cdl
deleted file mode 100644 (file)
index 00c2e6a..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
--- Created on: 2000-08-15
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Location from PXCAFDoc inherits Attribute from PDF
-
-       ---Purpose: 
-
-uses 
---    Location from TopLoc,
-    Location from PTopLoc
-is
-    Create returns Location from PXCAFDoc;
-    
-    Create (Loc: Location from PTopLoc) returns Location from PXCAFDoc;
-    
-    Set (me: mutable; Loc: Location from PTopLoc);
-    
-    Get (me) returns Location from PTopLoc;
-    
-fields
-    myPLocation : Location from PTopLoc;
-    
-end Location;
diff --git a/src/PXCAFDoc/PXCAFDoc_Location.cxx b/src/PXCAFDoc/PXCAFDoc_Location.cxx
deleted file mode 100644 (file)
index dbe293a..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-// Created on: 2000-08-15
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PXCAFDoc_Location.ixx>
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-PXCAFDoc_Location::PXCAFDoc_Location()
-{
-}
-
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
-
-PXCAFDoc_Location::PXCAFDoc_Location(const PTopLoc_Location& Loc):
-       myPLocation(Loc)
-{
-}
-
-//=======================================================================
-//function : Set
-//purpose  : 
-//=======================================================================
-
- void PXCAFDoc_Location::Set(const PTopLoc_Location& Loc) 
-{
-  myPLocation = Loc;
-}
-
-//=======================================================================
-//function : Get
-//purpose  : 
-//=======================================================================
-
- PTopLoc_Location PXCAFDoc_Location::Get() const
-{
-  return myPLocation;
-}
-
diff --git a/src/PXCAFDoc/PXCAFDoc_Material.cdl b/src/PXCAFDoc/PXCAFDoc_Material.cdl
deleted file mode 100644 (file)
index f9c71c6..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
--- Created on: 2008-12-10
--- Created by: Pavel TELKOV
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Material from PXCAFDoc inherits  Attribute from PDF
-
-       ---Purpose: 
-uses
-    Real          from Standard,
-    HAsciiString  from PCollection
-is
-    Create returns Material from PXCAFDoc;
-
-    Create (theName       : HAsciiString from PCollection;
-           theDescr      : HAsciiString from PCollection;
-           theDensity    : Real         from Standard;
-           theDensName   : HAsciiString from PCollection;
-           theDensValType: HAsciiString from PCollection)
-    returns Material from PXCAFDoc;
-    
-    GetName (me) returns HAsciiString from PCollection;
-
-    GetDescription (me) returns HAsciiString from PCollection;
-
-    GetDensity (me) returns Real from Standard;
-
-    GetDensName (me) returns HAsciiString from PCollection;
-
-    GetDensValType (me) returns HAsciiString from PCollection;
-
-    Set (me : mutable; theName       : HAsciiString from PCollection;
-                       theDescr      : HAsciiString from PCollection;
-                       theDensity    : Real         from Standard;
-                       theDensName   : HAsciiString from PCollection;
-                       theDensValType: HAsciiString from PCollection);
-    
-fields
-
-    myName        : HAsciiString from PCollection;
-    myDescr       : HAsciiString from PCollection;
-    myDensity     : Real from Standard;
-    myDensName    : HAsciiString from PCollection;
-    myDensValType : HAsciiString from PCollection;
-
-end Material from PXCAFDoc;
diff --git a/src/PXCAFDoc/PXCAFDoc_Material.cxx b/src/PXCAFDoc/PXCAFDoc_Material.cxx
deleted file mode 100644 (file)
index 502d101..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-// Created on: 2008-12-10
-// Created by: Pavel TELKOV
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PXCAFDoc_Material.ixx>
-
-//=======================================================================
-//function : PXCAFDoc_Material
-//purpose  : 
-//=======================================================================
-
-PXCAFDoc_Material::PXCAFDoc_Material () : myDensity(0.)
-{}
-
-//=======================================================================
-//function : PXCAFDoc_Material
-//purpose  : 
-//=======================================================================
-
-PXCAFDoc_Material::PXCAFDoc_Material 
-  (const Handle(PCollection_HAsciiString)& theName,
-   const Handle(PCollection_HAsciiString)& theDescr,
-   const Standard_Real theDensity,
-   const Handle(PCollection_HAsciiString)& theDensName,
-   const Handle(PCollection_HAsciiString)& theDensValType)
-: myName(theName),
-  myDescr(theDescr),
-  myDensity(theDensity),
-  myDensName(theDensName),
-  myDensValType(theDensValType)
-{}
-    
-//=======================================================================
-//function : Set
-//purpose  : 
-//=======================================================================
-
-void PXCAFDoc_Material::Set 
-  (const Handle(PCollection_HAsciiString)& theName,
-   const Handle(PCollection_HAsciiString)& theDescr,
-   const Standard_Real theDensity,
-   const Handle(PCollection_HAsciiString)& theDensName,
-   const Handle(PCollection_HAsciiString)& theDensValType)
-{
-  myName = theName;
-  myDescr = theDescr;
-  myDensity = theDensity;
-  myDensName = theDensName;
-  myDensValType = theDensValType;
-}
-
-//=======================================================================
-//function : GetDensity
-//purpose  : 
-//=======================================================================
-
-Standard_Real PXCAFDoc_Material::GetDensity () const
-{
-  return myDensity;
-}
-
-//=======================================================================
-//function : GetName
-//purpose  : 
-//=======================================================================
-
-Handle(PCollection_HAsciiString) PXCAFDoc_Material::GetName () const
-{
-  return myName;
-}
-
-//=======================================================================
-//function : GetDescription
-//purpose  : 
-//=======================================================================
-
-Handle(PCollection_HAsciiString) PXCAFDoc_Material::GetDescription () const
-{
-  return myDescr;
-}
-
-//=======================================================================
-//function : GetDensName
-//purpose  : 
-//=======================================================================
-
-Handle(PCollection_HAsciiString) PXCAFDoc_Material::GetDensName () const
-{
-  return myDensName;
-}
-
-//=======================================================================
-//function : GetDensValType
-//purpose  : 
-//=======================================================================
-
-Handle(PCollection_HAsciiString) PXCAFDoc_Material::GetDensValType () const
-{
-  return myDensValType;
-}
diff --git a/src/PXCAFDoc/PXCAFDoc_MaterialTool.cdl b/src/PXCAFDoc/PXCAFDoc_MaterialTool.cdl
deleted file mode 100644 (file)
index c98223c..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
--- Created on: 2008-12-10
--- Created by: Pavel TELKOV
--- Copyright (c) 2008-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class MaterialTool from PXCAFDoc inherits Attribute from PDF
-
-is
-    Create returns MaterialTool from PXCAFDoc;
-
-end MaterialTool;
diff --git a/src/PXCAFDoc/PXCAFDoc_MaterialTool.cxx b/src/PXCAFDoc/PXCAFDoc_MaterialTool.cxx
deleted file mode 100644 (file)
index ffe5d33..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-// Created on: 2008-12-10
-// Created by: Pavel TELKOV
-// Copyright (c) 2008-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PXCAFDoc_MaterialTool.ixx>
-
-//=======================================================================
-//function : PXCAFDoc_MaterialTool
-//purpose  : Constructor
-//=======================================================================
-
-PXCAFDoc_MaterialTool::PXCAFDoc_MaterialTool ()
-{
-}
diff --git a/src/PXCAFDoc/PXCAFDoc_ShapeTool.cdl b/src/PXCAFDoc/PXCAFDoc_ShapeTool.cdl
deleted file mode 100644 (file)
index 60f85ac..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
--- Created on: 2000-08-31
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class ShapeTool from PXCAFDoc inherits Attribute from PDF
-
-       ---Purpose: 
-
-
-is
-    Create returns ShapeTool from PXCAFDoc;
-
-end ShapeTool;
diff --git a/src/PXCAFDoc/PXCAFDoc_ShapeTool.cxx b/src/PXCAFDoc/PXCAFDoc_ShapeTool.cxx
deleted file mode 100644 (file)
index 1054edf..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// Created on: 2000-08-31
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PXCAFDoc_ShapeTool.ixx>
-
-
-PXCAFDoc_ShapeTool::PXCAFDoc_ShapeTool() {}
diff --git a/src/PXCAFDoc/PXCAFDoc_Volume.cdl b/src/PXCAFDoc/PXCAFDoc_Volume.cdl
deleted file mode 100644 (file)
index 53e9321..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
--- Created on: 2000-09-08
--- Created by: data exchange team
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class Volume from PXCAFDoc inherits Attribute from PDF
-
-       ---Purpose: 
-uses 
-    Real from Standard
-is
-    Create returns Volume from PXCAFDoc;
-
-    Create (Value     : Real from Standard)
-    returns Volume from PXCAFDoc;
-    
-    Get (me) returns Real from Standard;
-
-    Set (me : mutable; V : Real from Standard);
-    
-fields
-
-    myValue     : Real    from Standard;
-
-end Volume from PXCAFDoc;
diff --git a/src/PXCAFDoc/PXCAFDoc_Volume.cxx b/src/PXCAFDoc/PXCAFDoc_Volume.cxx
deleted file mode 100644 (file)
index 58a318d..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-// Created on: 2000-09-08
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <PXCAFDoc_Volume.ixx>
-
-//=======================================================================
-//function : PXCAFDoc_Volume
-//purpose  : 
-//=======================================================================
-
-PXCAFDoc_Volume::PXCAFDoc_Volume () : myValue(0.) { }
-
-//=======================================================================
-//function : PXCAFDoc_Volume
-//purpose  : 
-//=======================================================================
-
-PXCAFDoc_Volume::PXCAFDoc_Volume (const Standard_Real V) : myValue (V) {}
-    
-//=======================================================================
-//function : Set
-//purpose  : 
-//=======================================================================
-
-void PXCAFDoc_Volume::Set (const Standard_Real V) 
-{
-  myValue = V;
-}
-
-//=======================================================================
-//function : Get
-//purpose  : 
-//=======================================================================
-
-Standard_Real PXCAFDoc_Volume::Get () const
-{
-  return myValue;
-}
index ab4c67c..c1bdeb2 100644 (file)
@@ -4008,7 +4008,7 @@ int TestOpenSave(TCollection_ExtendedString aFile1,
 {
   // Std
   Handle(TDocStd_Document) doc_std, doc_std_open;
-  app->NewDocument("MDTV-Standard", doc_std);
+  app->NewDocument("BinOcaf", doc_std);
   // TDataStd_Tick:
   TDataStd_Tick::Set(doc_std->Main());
   // TDataStd_IntegerList:
@@ -4480,7 +4480,7 @@ static Standard_Integer OCC16782 (Draw_Interpretor& di, Standard_Integer argc, c
   int good = 0;
   
   Handle(TDocStd_Document) doc;
-  app->NewDocument("MDTV-Standard", doc);
+  app->NewDocument("BinOcaf", doc);
   doc->SetUndoLimit(10);
 
   di <<"\nTestSetGet start\n";
index 51b2afb..9704383 100644 (file)
@@ -25,7 +25,6 @@
 
 #include <V3d_Viewer.hxx>
 #include <V3d_View.hxx>
-#include <PCollection_HExtendedString.hxx>
 
 #include <TDocStd_Application.hxx>
 #include <TDocStd_Document.hxx>
 
 #define DEFAULT_COLOR    Quantity_NOC_GOLDENROD
 
-static Standard_Integer OCC216 (Draw_Interpretor& di, Standard_Integer /*argc*/, const char ** /*argv*/)
-{
-  Handle(PCollection_HExtendedString) HExtendedString = new PCollection_HExtendedString("");
-  HExtendedString.Nullify();
-  di << "OCC216: Deleting PCollection_HExtendedString initialized by empty string : OK" <<"\n";
-
-  return 0;
-}
-
 static Standard_Integer OCC267 (Draw_Interpretor& di, Standard_Integer argc, const char ** argv)
 {
   if ( argc != 3) {
@@ -244,7 +234,6 @@ static Standard_Integer OCC71bug (Draw_Interpretor& di, Standard_Integer /*argc*
 void QABugs::Commands_18(Draw_Interpretor& theCommands) {
   const char *group = "QABugs";
 
-  theCommands.Add("OCC216", "OCC216", __FILE__, OCC216, group);
   theCommands.Add("OCC267", "OCC267 DOC path", __FILE__, OCC267, group);
   theCommands.Add("OCC181", "OCC181 FileName path1 path2 verbose=0/1", __FILE__, OCC181, group);
   theCommands.Add("OCC367", "OCC367 shape step goodX goodY goodZ percent_tolerance", __FILE__, OCC367, group);
index bf32f12..0fa1943 100755 (executable)
@@ -35,8 +35,6 @@
 
 #include <Precision.hxx>
 
-#include <PCollection_HAsciiString.hxx>
-
 #include <cstdio>
 #include <cmath>
 #include <iostream>
@@ -52,7 +50,7 @@
 #include <TCollection_HAsciiString.hxx>
 #include <GeomFill_Trihedron.hxx>
 #include <BRepOffsetAPI_MakePipe.hxx>
-#include <Standard_Atomic.hxx>
+#include <TopExp_Explorer.hxx>
 
 #include <Standard_Version.hxx>
 
@@ -83,16 +81,6 @@ static Standard_Integer OCC230 (Draw_Interpretor& di, Standard_Integer argc, con
   return 0;
 }
 
-static Standard_Integer OCC142 (Draw_Interpretor& di, Standard_Integer /*argc*/, const char ** /*argv*/)
-{
-  for(Standard_Integer i= 0;i <= 20;i++){
-    Handle(PCollection_HAsciiString) pstr = new PCollection_HAsciiString("TEST");
-    pstr->Clear();
-  }
-  di << "OCC142: OK" << "\n";
-  return 0;
-}
-
 static Standard_Integer OCC23361 (Draw_Interpretor& di, Standard_Integer /*argc*/, const char ** /*argv*/)
 {
   gp_Pnt p(0, 0, 2);
@@ -1769,7 +1757,6 @@ static Standard_Integer OCC24533 (Draw_Interpretor& di, Standard_Integer n, cons
   if (n != 1) return 1;
 
   DoIsNull<Standard_Transient, Handle(Standard_Transient)>(di);
-  DoIsNull<Standard_Persistent, Handle(Standard_Persistent)>(di);
 
   return 0;
 }
@@ -1989,232 +1976,6 @@ static Standard_Integer OCC24667 (Draw_Interpretor& di, Standard_Integer n, cons
   return 0;
 }
 
-#include <IGESControl_Reader.hxx>
-#include <IGESControl_Controller.hxx>
-#include <IGESData_IGESEntity.hxx>
-#include <BRepCheck_Analyzer.hxx>
-#include <PTColStd_TransientPersistentMap.hxx>
-#include <PTopoDS_HShape.hxx>
-#include <Storage_Data.hxx>
-#include <TopExp_Explorer.hxx>
-#include <MgtBRep.hxx>
-#include <FSD_File.hxx>
-#include <ShapeSchema.hxx>
-#include <TColStd_HSequenceOfTransient.hxx>
-#include <PTColStd_PersistentTransientMap.hxx>
-#include <Storage_Root.hxx>
-
-static Standard_Integer OCC24565 (Draw_Interpretor& di, Standard_Integer argc, const char** argv)
-{
-  if (argc != 3) {
-    di << "Usage : " << argv[0] << " FileNameIGS FileNameSTOR";
-    return 1;
-  }
-
-  Standard_CString sFileNameIGS = argv[1];
-  Standard_CString sFileNameSTOR = argv[2];
-
-  IGESControl_Reader ICReader;
-
-  /* * * * * * *
-   * Read the IGES file and make sure it is valid
-   *
-   * * * * * * */
-  IGESControl_Controller::Init();
-
-  if (!ICReader.ReadFile(sFileNameIGS)) {
-    printf("%s:%d - Error reading '%s'\n",__FUNCTION__,__LINE__,sFileNameIGS);fflush(stdout);
-    return -1;
-  }
-
-  int nbShapes = ICReader.NbShapes();
-
-  printf("%s:%d - nbShapes = '%d'\n",__FUNCTION__,__LINE__,nbShapes);fflush(stdout);
-
-  TopoDS_Shape Shape;
-  if(nbShapes == 0)
-    {
-      Handle(TColStd_HSequenceOfTransient) faces=ICReader.GiveList("iges-faces");
-      Handle(TColStd_HSequenceOfTransient) surfaceList=ICReader.GiveList("xst-transferrable-roots",faces);
-
-      if (surfaceList.IsNull())
-       {
-         printf("%s:%d - surfaceList.IsNull()\n",__FUNCTION__,__LINE__);fflush(stdout);
-         return -1;
-       }
-      BRep_Builder builder;
-      TopoDS_Compound* pC = new TopoDS_Compound();
-      builder.MakeCompound(*pC);
-
-      for (int j=1;j<=surfaceList->Length();j++)
-       {
-         Handle(IGESData_IGESEntity) igesEntity=Handle(IGESData_IGESEntity)::DownCast(surfaceList->Value(j));
-         if (igesEntity.IsNull()) continue;
-         ICReader.ClearShapes();
-         Standard_Boolean rv;
-         try {
-           rv=ICReader.TransferEntity(igesEntity);
-         }
-         catch (...) {
-           rv=Standard_False;
-         }
-         if (!rv) {
-           printf("%s:%d - Error transferring IGES entity\n",__FUNCTION__,__LINE__);fflush(stdout);
-           printf("%s:%d - FormNumber = %d, TypeNumber = %d\n",__FUNCTION__,__LINE__,igesEntity->FormNumber(),igesEntity->TypeNumber());fflush(stdout);
-           return -1;
-         }
-
-         TopoDS_Shape S;
-         try {
-           S=ICReader.Shape();
-         }
-         catch(...) {
-           printf("%s:%d - Error reading IGES entity\n",__FUNCTION__,__LINE__);fflush(stdout);
-           printf("%s:%d - FormNumber = %d, TypeNumber = %d\n",__FUNCTION__,__LINE__,igesEntity->FormNumber(),igesEntity->TypeNumber());fflush(stdout);
-           return -1;
-         }
-         if (S.IsNull()) {
-           printf("%s:%d - NULL Surface encountered\n",__FUNCTION__,__LINE__);
-           return -1;
-         }
-
-         try
-           {
-             builder.Add(*pC,S);
-           }
-         catch(...)
-           {
-             printf("%s: Exception adding face.\n",__FUNCTION__);
-           }
-       }
-      Shape = TopoDS_Shape(*pC);
-    }
-  else
-    {
-      Shape = ICReader.OneShape();
-    }
-  {
-    BRepCheck_Analyzer brca(Shape);
-
-    if(!brca.IsValid())
-      {
-       printf("%s: Invalid shape after reading IGES file.\n",__FUNCTION__);
-      }
-  }
-
-  /* * * * * * *
-   * Write the contents of the Shape to a STOR file
-   *
-   * * * * * * */
-  PTColStd_TransientPersistentMap aMapTP;
-  Handle(PTopoDS_HShape) aPShape_write;
-  Handle(Storage_Data) d_write=new Storage_Data;
-  char Name[32];
-
-  TopExp_Explorer Ex;
-  int i;
-  int max_i = 0;
-
-  for (i=0,Ex.Init(Shape,TopAbs_FACE);Ex.More();i++,Ex.Next())
-    {
-
-      max_i = i;
-      try {
-       aPShape_write=MgtBRep::Translate(Ex.Current(),aMapTP,MgtBRep_WithoutTriangle);
-      }
-      catch (...) {
-       printf("%s: Error translating surface '%d'\n",__FUNCTION__,i);
-      }
-               
-      sprintf(Name,"S%010d",i);
-               
-      {
-       BRepCheck_Analyzer brca(Ex.Current());
-       if(!brca.IsValid())
-         {
-           printf("INVALID face '%s' in the shape, which will be written to the STOR file.\n",Name);
-         }
-      }
-      try {
-       d_write->AddRoot(Name,aPShape_write);
-      }
-      catch (...) {
-       printf("%s: Error adding surface '%d', RootName = '%s'\n",__FUNCTION__,i,Name);
-      }
-    }
-  printf("%s: Going to write %d surfaces.\n",__FUNCTION__,max_i+1);
-
-  FSD_File f_write;
-  if(f_write.Open(sFileNameSTOR, Storage_VSWrite)!=Storage_VSOk)
-    {
-      printf("%s: Error opening file: %s\n", __FUNCTION__,sFileNameSTOR);
-      return -1;
-    }
-  Handle(ShapeSchema) s_write=new ShapeSchema;
-  s_write->Write(f_write,d_write);
-  f_write.Close();
-  printf("%s: Wrote to the STOR file.\n",__FUNCTION__);
-
-  /* * * * * * *
-   * Read the contents of the Shape from a STOR file
-   *
-   * * * * * * */
-  FSD_File f_read;
-  if(f_read.Open(sFileNameSTOR, Storage_VSRead)!=Storage_VSOk)
-    {
-      printf("%s: Error opening file: %s\n", __FUNCTION__,sFileNameSTOR);
-      return -1;
-    }
-  Handle(ShapeSchema) s_read=new ShapeSchema;
-  Handle(Storage_Data) d_read=s_read->Read(f_read);
-
-  Handle(Standard_Persistent) p;
-  Handle(Storage_Root) r;
-  Handle(PTopoDS_HShape) aPShape_read;
-  PTColStd_PersistentTransientMap aMapPT;
-  TopoDS_Shape S_read;
-
-  printf("%s: Extracting %d faces from the STOR file.\n",__FUNCTION__,max_i+1);
-  for(int i = 0; i <= max_i; ++i)
-    {
-      sprintf(Name,"S%010d",i);
-      r=d_read->Find(Name);
-      if(r.IsNull())
-       {
-         printf("%s:%d '%s' IsNull().\n",__FUNCTION__,__LINE__,Name);fflush(stdout);
-         continue;
-       }
-      p=r->Object();
-      aPShape_read = Handle(PTopoDS_HShape)::DownCast(p);
-      try {
-       MgtBRep::Translate(aPShape_read,aMapPT,S_read,MgtBRep_WithoutTriangle);
-      }
-      catch (Standard_Failure) {
-       Handle(Standard_Failure) E=Standard_Failure::Caught();
-       std::string str;
-       str="Exception: ";
-       str+=E->DynamicType()->Name();
-       str+=" => ";
-       str+=E->GetMessageString();
-       printf("%s(1): %s: %s\n",__FUNCTION__,Name,str.c_str());fflush(stdout);
-      }
-      catch (...) {
-       printf("%s(1): Unhandled exception in MgtBRep::Translate\n",__FUNCTION__);
-      }
-
-      BRepCheck_Analyzer brca(S_read);
-
-      if(!brca.IsValid())
-       {
-         printf("%s: Read INVALID face (%s)!\n",__FUNCTION__,Name);
-       }
-    }
-
-  printf("Completed.\n");fflush(stdout);
-
-  return 0;
-}
-
 #include <Handle_BRepTools_NurbsConvertModification.hxx>
 #include <BRepPrimAPI_MakeCylinder.hxx>
 #include <BRepBuilderAPI_Copy.hxx>
@@ -2292,7 +2053,7 @@ static Standard_Integer OCC24755 (Draw_Interpretor& di, Standard_Integer n, cons
 
   Handle(TDocStd_Application) anApp = new AppStdL_Application;
   Handle(TDocStd_Document) aDoc;
-  anApp->NewDocument ("MDTV-Standard", aDoc);
+  anApp->NewDocument ("BinOcaf", aDoc);
   TDF_Label aLab = aDoc->Main();
   TDataStd_Integer::Set (aLab, 0);
   TDataStd_Name::Set (aLab, "test");
@@ -2795,7 +2556,7 @@ static Standard_Integer OCC23010 (Draw_Interpretor& di, Standard_Integer argc, c
   std::string fileName=argv[1];
   mOcafApplication *mCasApp = new mOcafApplication();
   Handle(TDocStd_Document) doc;
-  mCasApp->NewDocument("MDTV-XCAF", doc);
+  mCasApp->NewDocument("BinXCAF", doc);
   STEPCAFControl_Reader stepReader;
   IFSelect_ReturnStatus status = stepReader.ReadFile (fileName.c_str());
   if (status != IFSelect_RetDone)
@@ -3878,7 +3639,6 @@ void QABugs::Commands_19(Draw_Interpretor& theCommands) {
                    __FILE__, aNClassPtr, &QABugs_NHandleClass::NHandleProc, group);
 
   theCommands.Add ("OCC230", "OCC230 TrimmedCurve Pnt2d Pnt2d", __FILE__, OCC230, group);
-  theCommands.Add ("OCC142", "OCC142", __FILE__, OCC142, group);
   theCommands.Add ("OCC23361", "OCC23361", __FILE__, OCC23361, group);
   theCommands.Add ("OCC23237", "OCC23237", __FILE__, OCC23237, group); 
   theCommands.Add ("OCC22980", "OCC22980", __FILE__, OCC22980, group);
@@ -3905,7 +3665,6 @@ void QABugs::Commands_19(Draw_Interpretor& theCommands) {
   theCommands.Add ("OCC24086", "OCC24086 face wire", __FILE__, OCC24086, group);
   theCommands.Add ("OCC24622", "OCC24622 texture={1D|2D}\n Tests sourcing of 1D/2D pixmaps for AIS_TexturedShape", __FILE__, OCC24622, group);
   theCommands.Add ("OCC24667", "OCC24667 result Wire_spine Profile [Mode [Approx]], no args to get help", __FILE__, OCC24667, group);
-  theCommands.Add ("OCC24565", "OCC24565 FileNameIGS FileNameSTOR", __FILE__, OCC24565, group);
   theCommands.Add ("OCC24755", "OCC24755", __FILE__, OCC24755, group);
   theCommands.Add ("OCC24834", "OCC24834", __FILE__, OCC24834, group);
   theCommands.Add ("OCC24889", "OCC24889", __FILE__, OCC24889, group);
diff --git a/src/ShapeSchema/FILES b/src/ShapeSchema/FILES
deleted file mode 100755 (executable)
index 141a0f8..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-ShapeSchema_CMPLRS.edl
-FILES
diff --git a/src/ShapeSchema/ShapeSchema.cdl b/src/ShapeSchema/ShapeSchema.cdl
deleted file mode 100644 (file)
index f54c4e0..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
--- Created on: 1996-07-05
--- Created by: Design
--- Copyright (c) 1996-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-schema ShapeSchema
-
-is
-
-
----Category: inheritage and persistence basic tools
-
-    package ObjMgt;
-
-    package PTopLoc;
-    package PColgp;
-    package PGeom2d;
-    package PGeom;
-    package PPoly;
-    package PTopoDS;
-    package PBRep;
-
-    package PCDMShape; -- class Document from PCDM.
-
-end ShapeSchema;
diff --git a/src/ShapeSchema/ShapeSchema_CMPLRS.edl b/src/ShapeSchema/ShapeSchema_CMPLRS.edl
deleted file mode 100644 (file)
index 6159c37..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
--- Created on: 1996-02-19
--- Created by: Jean GAUTIER
--- Copyright (c) 1996-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
--- Templates HP-UX 
-@if ( %Station == "hp" ) then
-
-  @string %CMPLRS_CXX_Options = %CMPLRS_CXX_Options " -w  ";
---- POP suivant directive POP :  @string %CMPLRS_CXX_Options = %CMPLRS_CXX_Options " -w +a1 ";
---
--- FSA : +O2 est trop consomateur de swap pour l'instant.
-
-  @set %ModeOpt = "+O1";
-
-@endif;
-
-
diff --git a/src/StdDrivers/StdDrivers.cdl b/src/StdDrivers/StdDrivers.cdl
deleted file mode 100644 (file)
index 18858c4..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
--- Created on: 2000-09-07
--- Created by: TURIN  Anatoliy <ati@nnov.matra-dtv.fr>
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package StdDrivers
-
-uses  
-
-    PDF, Standard, TCollection, CDM, PCDM, TDF, PDF, MDF, TDocStd, MDocStd, PDocStd
-is 
-    
-    class DocumentRetrievalDriver;
-    
-    class DocumentStorageDriver;
-
-
-    ---Category: Factory methods
-    --           ==============================================================
-
-    Factory (aGUID: GUID from Standard)
-    returns Transient from Standard;
-       ---Purpose: Depending from the  ID, returns a list of  storage
-       --          or retrieval attribute drivers. Used for plugin
-                  
-end StdDrivers;
-
diff --git a/src/StdDrivers/StdDrivers.cxx b/src/StdDrivers/StdDrivers.cxx
deleted file mode 100644 (file)
index 6218b91..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-// Created on: 2000-09-07
-// Created by: TURIN Anatoliy
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <StdDrivers.ixx>
-#include <StdDrivers_DocumentStorageDriver.hxx>
-#include <StdDrivers_DocumentRetrievalDriver.hxx>
-#include <StdSchema.hxx>
-#include <StdLSchema.hxx>
-#include <ShapeSchema.hxx>
-#include <Storage_HArrayOfSchema.hxx>
-
-#include <Standard_Failure.hxx>
-#include <Standard_GUID.hxx>
-#include <Plugin_Macro.hxx>
-
-static Standard_GUID StdStorageDriver     ("ad696000-5b34-11d1-b5ba-00a0c9064368");
-static Standard_GUID StdRetrievalDriver   ("ad696001-5b34-11d1-b5ba-00a0c9064368");
-static Standard_GUID StdSchemaID          ("ad696002-5b34-11d1-b5ba-00a0c9064368");
-
-Handle(Standard_Transient) StdDrivers::Factory(const Standard_GUID& aGUID) {
-
-  if(aGUID == StdSchemaID) {    
-#ifdef OCCT_DEBUG
-    cout << "StdSchema : Plugin" << endl;
-#endif
-    static Handle(StdLSchema) model_ss = new StdLSchema;
-    static Standard_Boolean aNeedNested = Standard_True;
-    if(aNeedNested) {
-      aNeedNested = Standard_False;
-#ifdef OCCT_DEBUG
-      cout << "StdSchema: Adding nested schema" << endl;
-#endif
-      Handle(StdSchema) aSchema = new StdSchema;
-      Handle(ShapeSchema) aSSchema = new ShapeSchema;
-      Handle(Storage_HArrayOfSchema) aSchemas = new Storage_HArrayOfSchema(0,1);
-      aSchemas->SetValue(0, aSSchema);
-      aSchemas->SetValue(1, aSchema);
-      model_ss->SetNestedSchemas(aSchemas);
-    }
-    return model_ss;
-  }
-
-  if(aGUID == StdStorageDriver)  {
-#ifdef OCCT_DEBUG
-    cout << "StdDrivers : Storage Plugin" << endl;
-#endif
-    static Handle(StdDrivers_DocumentStorageDriver) model_sd = new StdDrivers_DocumentStorageDriver;
-    return model_sd;
-  }
-  if(aGUID == StdRetrievalDriver) {  
-#ifdef OCCT_DEBUG
-    cout << "StdDrivers : Retrieval Plugin" << endl;
-#endif
-    static Handle(StdDrivers_DocumentRetrievalDriver) model_rd = new StdDrivers_DocumentRetrievalDriver;
-    return model_rd;
-  }
-  Standard_Failure::Raise ("StdDrivers : unknown GUID");
-  Handle(Standard_Transient) t;
-  return t;
-}
-
-#ifdef _MSC_VER
-#pragma warning(disable:4190) /* disable warning on C++ type returned by C function; should be OK for C++ usage */
-#endif
-
-// Declare entry point PLUGINFACTORY
-PLUGIN(StdDrivers)
diff --git a/src/StdDrivers/StdDrivers_DocumentRetrievalDriver.cdl b/src/StdDrivers/StdDrivers_DocumentRetrievalDriver.cdl
deleted file mode 100644 (file)
index e8ba311..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
--- Created on: 2000-09-07
--- Created by: TURIN  Anatoliy <ati@nnov.matra-dtv.fr>
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class DocumentRetrievalDriver from StdDrivers inherits DocumentRetrievalDriver from MDocStd
-
-       ---Purpose: retrieval driver of a Part document
-
-uses  
-
-    ARDriverTable from MDF, 
-    MessageDriver from CDM
-
-is
-
-    Create
-    returns DocumentRetrievalDriver from StdDrivers;
-
-    AttributeDrivers(me : mutable; theMessageDriver : MessageDriver from CDM) 
-    returns ARDriverTable from MDF
-    is redefined;
-
-end DocumentRetrievalDriver;
-
diff --git a/src/StdDrivers/StdDrivers_DocumentRetrievalDriver.cxx b/src/StdDrivers/StdDrivers_DocumentRetrievalDriver.cxx
deleted file mode 100644 (file)
index 331e725..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-// Created on: 2000-09-07
-// Created by: TURIN  Anatoliy
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <StdDrivers_DocumentRetrievalDriver.ixx>
-#include <MDF_ARDriverHSequence.hxx>
-
-#include <MDF.hxx>
-#include <MDataStd.hxx> 
-#include <MDataXtd.hxx>
-#include <MNaming.hxx>  
-#include <MDocStd.hxx> 
-#include <MFunction.hxx>
-#include <MPrsStd.hxx>
-#include <CDM_MessageDriver.hxx>
-//=======================================================================
-//function : PAppStd_DocumentRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-StdDrivers_DocumentRetrievalDriver::StdDrivers_DocumentRetrievalDriver() {}
-
-//=======================================================================
-//function : AttributeDrivers
-//purpose  : 
-//=======================================================================
-
-Handle(MDF_ARDriverTable) StdDrivers_DocumentRetrievalDriver::AttributeDrivers(const Handle(CDM_MessageDriver)& theMsgDriver)
-{ 
-  Handle(MDF_ARDriverTable) aRetrievalTable  = new MDF_ARDriverTable(); 
-  //
-  Handle(MDF_ARDriverHSequence) HARSeq = new MDF_ARDriverHSequence();  
-  MDF::AddRetrievalDrivers(HARSeq, theMsgDriver);  
-  MDataStd::AddRetrievalDrivers(HARSeq, theMsgDriver);
-  MDataXtd::AddRetrievalDrivers(HARSeq, theMsgDriver);
-  MDocStd::AddRetrievalDrivers(HARSeq, theMsgDriver);
-  MFunction::AddRetrievalDrivers(HARSeq, theMsgDriver);
-  MNaming::AddRetrievalDrivers(HARSeq, theMsgDriver); 
-  MPrsStd::AddRetrievalDrivers(HARSeq, theMsgDriver); 
-  //
-  aRetrievalTable->SetDrivers(HARSeq);
-  return aRetrievalTable;
-}
-
diff --git a/src/StdDrivers/StdDrivers_DocumentStorageDriver.cdl b/src/StdDrivers/StdDrivers_DocumentStorageDriver.cdl
deleted file mode 100644 (file)
index 26fd1ef..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
--- Created on: 2000-09-07
--- Created by: TURIN  Anatoliy <ati@nnov.matra-dtv.fr>
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class DocumentStorageDriver from StdDrivers inherits DocumentStorageDriver from MDocStd
-
-       ---Purpose: storage driver of a  Part document
-
-
-uses Document from CDM, 
-     MessageDriver from CDM,
-     Document     from PCDM,
-     SequenceOfDocument from PCDM,
-     ExtendedString from  TCollection,
-     ASDriverTable from MDF
-
-
-is
-
-    Create
-    returns DocumentStorageDriver from StdDrivers;
-    
-    Make(me : mutable; aDocument :     Document from CDM;
-                       Documents : out SequenceOfDocument from PCDM)
-    is redefined; 
-    
-    AttributeDrivers(me : mutable;  theMessageDriver : MessageDriver from CDM)
-    returns ASDriverTable from MDF
-    is redefined;
-    
-end DocumentStorageDriver;
diff --git a/src/StdDrivers/StdDrivers_DocumentStorageDriver.cxx b/src/StdDrivers/StdDrivers_DocumentStorageDriver.cxx
deleted file mode 100644 (file)
index 6511faa..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-// Created on: 2000-09-07
-// Created by: TURIN  Anatoliy
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <StdDrivers_DocumentStorageDriver.ixx>
-#include <MDF.hxx> 
-#include <MDataStd.hxx> 
-#include <MDataXtd.hxx>
-#include <MNaming.hxx>  
-#include <MDocStd.hxx> 
-#include <MPrsStd.hxx>
-#include <MFunction.hxx>
-
-#include <TNaming_Tool.hxx>
-#include <TNaming_NamedShape.hxx>
-#include <PDocStd_Document.hxx>
-#include <TDocStd_Document.hxx>
-
-#include <TDF_Label.hxx>
-#include <MDF_ASDriverHSequence.hxx>
-#include <MDF_SRelocationTable.hxx>
-#include <CDM_MessageDriver.hxx>
-
-
-
-//=======================================================================
-//function : PAppStd_DocumentStorageDriver
-//purpose  : 
-//=======================================================================
-
-StdDrivers_DocumentStorageDriver::StdDrivers_DocumentStorageDriver () {}
-
-
-//=======================================================================
-//function : AttributeDrivers
-//purpose  : faire le Plugin
-//=======================================================================
-
-Handle(MDF_ASDriverTable) StdDrivers_DocumentStorageDriver::AttributeDrivers(const Handle(CDM_MessageDriver)& theMsgDriver) 
-{
-  Handle(MDF_ASDriverTable) aStorageTable  = new MDF_ASDriverTable(); 
-  //
-  Handle(MDF_ASDriverHSequence) HASSeq = new MDF_ASDriverHSequence();  
-  MDF::AddStorageDrivers(HASSeq, theMsgDriver);   
-  MDataStd::AddStorageDrivers(HASSeq, theMsgDriver);
-  MDataXtd::AddStorageDrivers(HASSeq, theMsgDriver);
-  MDocStd::AddStorageDrivers(HASSeq, theMsgDriver); 
-  MFunction::AddStorageDrivers(HASSeq, theMsgDriver);
-  MNaming::AddStorageDrivers(HASSeq, theMsgDriver);
-  MPrsStd::AddStorageDrivers(HASSeq, theMsgDriver);
-  //
-  aStorageTable->SetDrivers(HASSeq);
-  return aStorageTable;
-}
-
-//=======================================================================
-//function : Make
-//purpose  : 
-//=======================================================================
-
-void StdDrivers_DocumentStorageDriver::Make (const Handle(CDM_Document)& aDocument,
-                                            PCDM_SequenceOfDocument& Documents)
-{  
-  Handle(PDocStd_Document) PDOC;   
-  Handle(MDF_SRelocationTable) Reloc = new MDF_SRelocationTable();
-  Handle(TDocStd_Document) TDOC = Handle(TDocStd_Document)::DownCast(aDocument);
-  if (!TDOC.IsNull()) {
-    PDOC = new PDocStd_Document ();
-    Paste (TDOC,PDOC,Reloc);
-  }
-  Documents.Append(PDOC);
-}
diff --git a/src/StdLDrivers/StdLDrivers.cdl b/src/StdLDrivers/StdLDrivers.cdl
deleted file mode 100644 (file)
index ee8021d..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
--- Created on: 2000-09-07
--- Created by: TURIN  Anatoliy <ati@nnov.matra-dtv.fr>
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package StdLDrivers
-
-uses  
-
-    PDF,
-    Standard,
-    TCollection,
-    CDM,
-    PCDM,
-    TDF,
-    PDF,
-    MDF,
-    TDocStd,
-    MDocStd,
-    PDocStd
-is 
-    
-    class DocumentRetrievalDriver;
-    
-    class DocumentStorageDriver;
-
-
-    ---Category: Factory methods
-    --           ==============================================================
-
-    Factory (aGUID: GUID from Standard)
-    returns Transient from Standard;
-       ---Purpose: Depending from the  ID, returns a list of  storage
-       --          or retrieval attribute drivers. Used for plugin
-                  
-end PAppStdL;
-
diff --git a/src/StdLDrivers/StdLDrivers.cxx b/src/StdLDrivers/StdLDrivers.cxx
deleted file mode 100644 (file)
index 1a2a8ab..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-// Created on: 2000-09-07
-// Created by: TURIN Anatoliy
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <StdLDrivers.ixx>
-#include <StdLDrivers_DocumentStorageDriver.hxx>
-#include <StdLDrivers_DocumentRetrievalDriver.hxx>
-#include <ShapeSchema.hxx>
-#include <Storage_HArrayOfSchema.hxx>
-#include <StdLSchema.hxx>
-
-#include <Standard_Failure.hxx>
-#include <Standard_GUID.hxx>
-#include <Plugin_Macro.hxx>
-
-static Standard_GUID StdLStorageDriver     ("bd696000-5b34-11d1-b5ba-00a0c9064368");
-static Standard_GUID StdLRetrievalDriver   ("bd696001-5b34-11d1-b5ba-00a0c9064368");
-static Standard_GUID StdLSchemaID          ("bd696002-5b34-11d1-b5ba-00a0c9064368");
-
-Handle(Standard_Transient) StdLDrivers::Factory(const Standard_GUID& aGUID) {
-
-  if(aGUID == StdLSchemaID) {    
-#ifdef OCCT_DEBUG
-    cout << "StdLSchema : Plugin" << endl;
-#endif
-    static Handle(StdLSchema) model_ss = new StdLSchema;
-    Handle(ShapeSchema) aSSchema = new ShapeSchema;
-    Handle(Storage_HArrayOfSchema) aSchemas = new Storage_HArrayOfSchema(0,0);
-    aSchemas->SetValue(0, aSSchema);
-    model_ss->SetNestedSchemas(aSchemas);
-
-    return model_ss;
-  }
-
-  if(aGUID == StdLStorageDriver)  {
-#ifdef OCCT_DEBUG
-    cout << "StdLDrivers : Storage Plugin" << endl;
-#endif
-    static Handle(StdLDrivers_DocumentStorageDriver) model_sd = new StdLDrivers_DocumentStorageDriver;
-    return model_sd;
-  }
-  if(aGUID == StdLRetrievalDriver) {  
-#ifdef OCCT_DEBUG
-    cout << "StdLDrivers : Retrieval Plugin" << endl;
-#endif
-    static Handle(StdLDrivers_DocumentRetrievalDriver) model_rd = new StdLDrivers_DocumentRetrievalDriver;
-    return model_rd;
-  }
-  Standard_Failure::Raise ("StdLDrivers : unknown GUID");
-  Handle(Standard_Transient) t;
-  return t;
-}
-
-#ifdef _MSC_VER
-#pragma warning(disable:4190) /* disable warning on C++ type returned by C function; should be OK for C++ usage */
-#endif
-
-// Declare entry point PLUGINFACTORY
-PLUGIN(StdLDrivers)
diff --git a/src/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.cdl b/src/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.cdl
deleted file mode 100644 (file)
index 487744c..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
--- Created on: 2000-09-07
--- Created by: TURIN  Anatoliy <ati@nnov.matra-dtv.fr>
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class DocumentRetrievalDriver from StdLDrivers inherits DocumentRetrievalDriver from MDocStd
-
-       ---Purpose: retrieval driver of a Part document
-
-uses  
-
-    ARDriverTable from MDF, 
-    MessageDriver from CDM
-
-is
-
-    Create
-    returns DocumentRetrievalDriver from StdLDrivers;
-
-    AttributeDrivers(me : mutable; theMessageDriver : MessageDriver from CDM) 
-    returns ARDriverTable from MDF
-    is redefined;
-
-end DocumentRetrievalDriver;
-
diff --git a/src/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.cxx b/src/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.cxx
deleted file mode 100644 (file)
index a75d9e9..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-// Created on: 2000-09-07
-// Created by: TURIN  Anatoliy
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <StdLDrivers_DocumentRetrievalDriver.ixx>
-
-#include <MDF_ARDriverHSequence.hxx>
-#include <MDF.hxx>
-#include <MDataStd.hxx> 
-#include <MFunction.hxx>
-#include <MDocStd.hxx> 
-
-#include <CDM_MessageDriver.hxx>
-//=======================================================================
-//function : StdLDrivers_DocumentRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-StdLDrivers_DocumentRetrievalDriver::StdLDrivers_DocumentRetrievalDriver() {}
-
-//=======================================================================
-//function : AttributeDrivers
-//purpose  : 
-//=======================================================================
-
-Handle(MDF_ARDriverTable) StdLDrivers_DocumentRetrievalDriver::AttributeDrivers(const Handle(CDM_MessageDriver)& theMsgDriver)
-{ 
-  Handle(MDF_ARDriverTable) aRetrievalTable  = new MDF_ARDriverTable(); 
-  //
-  Handle(MDF_ARDriverHSequence) HARSeq = new MDF_ARDriverHSequence();  
-  MDF::AddRetrievalDrivers(HARSeq, theMsgDriver);  
-  MDataStd::AddRetrievalDrivers(HARSeq, theMsgDriver);
-  MFunction::AddRetrievalDrivers(HARSeq, theMsgDriver);
-  MDocStd::AddRetrievalDrivers(HARSeq, theMsgDriver); 
-  //
-  aRetrievalTable->SetDrivers(HARSeq);
-  return aRetrievalTable;
-}
-
diff --git a/src/StdLDrivers/StdLDrivers_DocumentStorageDriver.cdl b/src/StdLDrivers/StdLDrivers_DocumentStorageDriver.cdl
deleted file mode 100644 (file)
index 5b96bb1..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
--- Created on: 2000-09-07
--- Created by: TURIN  Anatoliy <ati@nnov.matra-dtv.fr>
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class DocumentStorageDriver from StdLDrivers inherits DocumentStorageDriver from MDocStd
-
-       ---Purpose: storage driver of a  Part document
-
-
-uses Document from CDM, 
-     MessageDriver from CDM,
-     Document     from PCDM,
-     SequenceOfDocument from PCDM,
-     ExtendedString from  TCollection,
-     ASDriverTable from MDF
-
-
-is
-
-    Create
-    returns DocumentStorageDriver from StdLDrivers;
-    
-    Make(me : mutable; aDocument :     Document from CDM;
-                       Documents : out SequenceOfDocument from PCDM)
-    is redefined; 
-    
-    AttributeDrivers(me : mutable;  theMessageDriver : MessageDriver from CDM)
-    returns ASDriverTable from MDF
-    is redefined;
-    
-end DocumentStorageDriver;
diff --git a/src/StdLDrivers/StdLDrivers_DocumentStorageDriver.cxx b/src/StdLDrivers/StdLDrivers_DocumentStorageDriver.cxx
deleted file mode 100644 (file)
index 198004b..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-// Created on: 2000-09-07
-// Created by: TURIN  Anatoliy
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <StdLDrivers_DocumentStorageDriver.ixx>
-#include <MDF.hxx> 
-#include <MDataStd.hxx> 
-#include <MDocStd.hxx> 
-#include <PDocStd_Document.hxx>
-#include <TDocStd_Document.hxx>
-#include <MFunction.hxx>
-#include <TDF_Label.hxx>
-#include <MDF_ASDriverHSequence.hxx>
-#include <MDF_SRelocationTable.hxx>
-
-#include <CDM_MessageDriver.hxx>
-
-
-//=======================================================================
-//function : StdLDrivers_DocumentStorageDriver
-//purpose  : 
-//=======================================================================
-
-StdLDrivers_DocumentStorageDriver::StdLDrivers_DocumentStorageDriver () {}
-
-
-//=======================================================================
-//function : AttributeDrivers
-//purpose  : faire le Plugin
-//=======================================================================
-
-Handle(MDF_ASDriverTable) StdLDrivers_DocumentStorageDriver::AttributeDrivers(const Handle(CDM_MessageDriver)& theMsgDriver) 
-{
-  Handle(MDF_ASDriverTable) aStorageTable  = new MDF_ASDriverTable(); 
-  //
-  Handle(MDF_ASDriverHSequence) HASSeq = new MDF_ASDriverHSequence();  
-  MDF::AddStorageDrivers(HASSeq, theMsgDriver);   
-  MDataStd::AddStorageDrivers(HASSeq, theMsgDriver);
-  MFunction::AddStorageDrivers(HASSeq, theMsgDriver);
-  MDocStd::AddStorageDrivers(HASSeq, theMsgDriver); 
-  aStorageTable->SetDrivers(HASSeq);
-  return aStorageTable;
-}
-
-//=======================================================================
-//function : Make
-//purpose  : 
-//=======================================================================
-
-void StdLDrivers_DocumentStorageDriver::Make (const Handle(CDM_Document)& aDocument,
-                                          PCDM_SequenceOfDocument& Documents)
-{  
-  Handle(PDocStd_Document) PDOC;   
-  Handle(MDF_SRelocationTable) Reloc = new MDF_SRelocationTable();
-  Handle(TDocStd_Document) TDOC = Handle(TDocStd_Document)::DownCast(aDocument);
-  if (!TDOC.IsNull()) {
-    PDOC = new PDocStd_Document ();
-    Paste (TDOC,PDOC,Reloc);
-  }
-  Documents.Append(PDOC);
-}
diff --git a/src/StdLSchema/FILES b/src/StdLSchema/FILES
deleted file mode 100755 (executable)
index db9c320..0000000
+++ /dev/null
@@ -1 +0,0 @@
-StdLSchema_CMPLRS.edl
diff --git a/src/StdLSchema/StdLSchema.cdl b/src/StdLSchema/StdLSchema.cdl
deleted file mode 100644 (file)
index eaefa2d..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
--- Created on: 2004-06-21
--- Created by: Eugeny NAPALKOV <eugeny.napalkov@opencascade.com>
--- Copyright (c) 2004-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-schema StdLSchema
-
-is
-
-    package PDF;
-    package PDataStd;
-    package PFunction;
-    package PDocStd;
-    package PCDM;
-
-    
-end StdSchema;
-
diff --git a/src/StdLSchema/StdLSchema_CMPLRS.edl b/src/StdLSchema/StdLSchema_CMPLRS.edl
deleted file mode 100644 (file)
index 2a083ce..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
--- Created on: 1999-11-05
--- Created by: Sergey ZARITCHNY
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-@ifnotdefined ( %StdLSchema_CMPLRS_EDL) then
-@set %StdLSchema_CMPLRS_EDL = "";
-
---- Insert your stuff Here
-
---
--- Templates HP-UX 
---
-@if ( %Station == "hp" ) then
-
-  @string %CMPLRS_CXX_Options = %CMPLRS_CXX_Options " -w  ";
---- POP suivant directive POP :  @string %CMPLRS_CXX_Options = %CMPLRS_CXX_Options " -w +a1 ";
---
--- FSA : +O2 est trop consomateur de swap pour l'instant.
-
-  @set %ModeOpt = "+O1";
-
-@endif;
-
-@endif;
index 278184f..bee0052 100755 (executable)
@@ -1,8 +1,5 @@
 appresource:::Standard
-msgappresource:::Standard.us
-icon:::MDTV-Standard.xwd
 loginfile:::Plugin
 appresource:::XCAF
 appresource:::TObj
 appresource:::StandardLite
-appresource:::MigrationSheet.txt
diff --git a/src/StdResource/MDTV-Standard.xwd b/src/StdResource/MDTV-Standard.xwd
deleted file mode 100755 (executable)
index 3b9ed6c..0000000
Binary files a/src/StdResource/MDTV-Standard.xwd and /dev/null differ
diff --git a/src/StdResource/MigrationSheet.txt b/src/StdResource/MigrationSheet.txt
deleted file mode 100755 (executable)
index 9bc10b0..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-TDataStd_Shape          TDataXtd_Shape
-TDataStd_Constraint     TDataXtd_Constraint
-TDataStd_Geometry       TDataXtd_Geometry
-TDataStd_Axis           TDataXtd_Axis
-TDataStd_Point          TDataXtd_Point
-TDataStd_Plane          TDataXtd_Plane
-TDataStd_Position       TDataXtd_Position
-TDataStd_Placement      TDataXtd_Placement
-TDataStd_PatternStd     TDataXtd_PatternStd
-PDataStd_Shape         PDataXtd_Shape
-PDataStd_Constraint    PDataXtd_Constraint
-PDataStd_Geometry      PDataXtd_Geometry
-PDataStd_Axis          PDataXtd_Axis
-PDataStd_Point         PDataXtd_Point
-PDataStd_Plane         PDataXtd_Plane
-PDataStd_Position      PDataXtd_Position
-PDataStd_Placement     PDataXtd_Placement
-PDataStd_PatternStd    PDataXtd_PatternStd
-
index 57e34c6..516a2ad 100755 (executable)
@@ -3,18 +3,6 @@
 !
 a148e300-5740-11d1-a904-080036aaa103.Location: FWOSPlugin
 !
-! standard attribute drivers plugin
-!
-ad696000-5b34-11d1-b5ba-00a0c9064368.Location: TKStdSchema
-ad696001-5b34-11d1-b5ba-00a0c9064368.Location: TKStdSchema
-ad696002-5b34-11d1-b5ba-00a0c9064368.Location: TKStdSchema
-!
-! standard attribute drivers plugin
-!
-bd696000-5b34-11d1-b5ba-00a0c9064368.Location: TKStdLSchema
-bd696001-5b34-11d1-b5ba-00a0c9064368.Location: TKStdLSchema
-bd696002-5b34-11d1-b5ba-00a0c9064368.Location: TKStdLSchema
-!
 ! XmlOcaf Document Plugin
 !
 03a56820-8269-11d5-aab2-0050044b1af1.Location: TKXml
@@ -37,12 +25,6 @@ bd696002-5b34-11d1-b5ba-00a0c9064368.Location: TKStdLSchema
 13a56835-8269-11d5-aab2-0050044b1af1.Location: TKBinL
 13a56836-8269-11d5-aab2-0050044b1af1.Location: TKBinL
 !
-! XCAF  Document Plugin
-!
-ed8793f8-3142-11d4-b9b5-0060b0ee281b.Location: TKXCAFSchema
-ed8793f9-3142-11d4-b9b5-0060b0ee281b.Location: TKXCAFSchema
-ed8793fa-3142-11d4-b9b5-0060b0ee281b.Location: TKXCAFSchema
-!
 ! XmlXCAF Document Plugin
 !
 f78ff496-a779-11d5-aab4-0050044b1af1.Location: TKXmlXCAF
index 016e882..72ba56b 100755 (executable)
@@ -1,17 +1,9 @@
-formatlist:MDTV-Standard|XmlOcaf|BinOcaf
+formatlist:XmlOcaf|BinOcaf
 !
 ! Default format
 xml.FileFormat: XmlOcaf
 cbf.FileFormat: BinOcaf
 !
-! standard attributes
-!
-MDTV-Standard.Description: Standard Document Version 1.0
-MDTV-Standard.FileExtension: std
-MDTV-Standard.StoragePlugin: ad696000-5b34-11d1-b5ba-00a0c9064368
-MDTV-Standard.RetrievalPlugin: ad696001-5b34-11d1-b5ba-00a0c9064368
-MDTV-StandardSchema: ad696002-5b34-11d1-b5ba-00a0c9064368
-!
 ! XmlOcaf format
 !
 XmlOcaf.Description: Xml Document Version 1.0
@@ -25,16 +17,3 @@ BinOcaf.Description: Bin Ocaf Document Version 1.0
 BinOcaf.FileExtension: cbf
 BinOcaf.StoragePlugin: 03a56835-8269-11d5-aab2-0050044b1af1
 BinOcaf.RetrievalPlugin: 03a56836-8269-11d5-aab2-0050044b1af1
-!
-! Standard Shape from designer
-!
-MDTV-ShapeSchema: e4a0c608-9e3f-11d1-b5ca-00a0c9064368
-MDTV-Shape.StoragePlugin: 5ff7dc00-8840-11d1-b5c2-00a0c9064368
-MDTV-Shape.RetrievalPlugin: 5ff7dc01-8840-11d1-b5c2-00a0c9064368
-MDTV-Shape.FileExtension: brp
-MDTV-Shape.DataType: Shape Document Representation
-MDTV-Shape.VersionDataType: Shape_Model
-MDTV-Shape.Description: Shape Document Version 1.0
-MDTV-Shape.Domain: EUCLID/Quantum
-MDTV-Shape Document Version 1.0.Icon: MDTV-Shape
-Shape Document Version 1.0.Icon: MDTV-Shape
diff --git a/src/StdResource/Standard.us b/src/StdResource/Standard.us
deleted file mode 100755 (executable)
index 25d046f..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-13101570-cdde-11d1-b5d8-00a0c9064368: Design Representation
-13101571-cdde-11d1-b5d8-00a0c9064368: Designer_Design
-96d01ca6-c79f-11d1-acc7-080009dc4422: EUCLID/Quantum
index 33147a1..15449cd 100755 (executable)
@@ -1,13 +1,4 @@
-formatlist:OCC-StdLite|BinLOcaf|XmlLOcaf
-!
-!
-! Lite attributes
-!
-OCC-StdLite.Description: Lite Document Version 1.0
-OCC-StdLite.FileExtension: stdl
-OCC-StdLite.StoragePlugin: bd696000-5b34-11d1-b5ba-00a0c9064368
-OCC-StdLite.RetrievalPlugin: bd696001-5b34-11d1-b5ba-00a0c9064368
-OCC-StdLiteSchema: bd696002-5b34-11d1-b5ba-00a0c9064368
+formatlist:BinLOcaf|XmlLOcaf
 !
 ! BinLOcaf format
 !
index 0d3c979..f65cdbc 100755 (executable)
@@ -1,14 +1,8 @@
-formatlist: MDTV-XCAF XmlXCAF MDTV-Standard
+formatlist: XmlXCAF BinXCAF
 !
 ! Default format
 xml.FileFormat: XmlXCAF
 !
-MDTV-XCAF.Description: XCAF Document Version 1.0
-MDTV-XCAF.FileExtension: dxc
-MDTV-XCAF.StoragePlugin: ed8793f8-3142-11d4-b9b5-0060b0ee281b
-MDTV-XCAF.RetrievalPlugin: ed8793f9-3142-11d4-b9b5-0060b0ee281b
-MDTV-XCAFSchema: ed8793fa-3142-11d4-b9b5-0060b0ee281b
-!
 XmlXCAF.Description: XmlXCAF Document Version 1.0
 XmlXCAF.FileExtension: xml
 XmlXCAF.StoragePlugin: f78ff496-a779-11d5-aab4-0050044b1af1
@@ -18,28 +12,3 @@ BinXCAF.Description: BinXCAF Document Version 1.0
 BinXCAF.FileExtension: xbf
 BinXCAF.StoragePlugin: a78ff496-a779-11d5-aab4-0050044b1af1
 BinXCAF.RetrievalPlugin: a78ff497-a779-11d5-aab4-0050044b1af1
-!                                                                               
-! XmlOcaf format                                                                
-!                                                                               
-XmlOcaf.Description: Xml Document Version 1.0                                   
-XmlOcaf.FileExtension: xml
-XmlOcaf.StoragePlugin: 03a56820-8269-11d5-aab2-0050044b1af1
-XmlOcaf.RetrievalPlugin: 03a56822-8269-11d5-aab2-0050044b1af1
-!
-! standard attributes
-!
-MDTV-Standard.Description: Standard Document Version 1.0
-MDTV-Standard.FileExtension: std
-MDTV-Standard.StoragePlugin: ad696000-5b34-11d1-b5ba-00a0c9064368
-MDTV-Standard.RetrievalPlugin: ad696001-5b34-11d1-b5ba-00a0c9064368
-MDTV-StandardSchema: ad696002-5b34-11d1-b5ba-00a0c9064368
-MDTV-Standard.AttributeStoragePlugin: 47b0b826-d931-11d1-b5da-00a0c9064368
-MDTV-Standard.AttributeRetrievalPlugin: 47b0b827-d931-11d1-b5da-00a0c9064368
-!
-! BinOcaf format
-!
-BinOcaf.Description: Bin Ocaf Document Version 1.0
-BinOcaf.FileExtension: cbf
-BinOcaf.StoragePlugin: 03a56835-8269-11d5-aab2-0050044b1af1
-BinOcaf.RetrievalPlugin: 03a56836-8269-11d5-aab2-0050044b1af1
-
diff --git a/src/StdSchema/FILES b/src/StdSchema/FILES
deleted file mode 100755 (executable)
index 6144548..0000000
+++ /dev/null
@@ -1 +0,0 @@
-StdSchema_CMPLRS.edl
diff --git a/src/StdSchema/StdSchema.cdl b/src/StdSchema/StdSchema.cdl
deleted file mode 100644 (file)
index fc780b1..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
--- Created on: 2000-09-07
--- Created by: TURIN Anatoliy
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-schema StdSchema
-
-is
-    package PDataXtd;
-    package PNaming;    
-    package PPrsStd;
-    
-end StdSchema;
-
diff --git a/src/StdSchema/StdSchema_CMPLRS.edl b/src/StdSchema/StdSchema_CMPLRS.edl
deleted file mode 100644 (file)
index 15d17bb..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
--- Created on: 1999-11-05
--- Created by: Sergey ZARITCHNY
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-@ifnotdefined ( %StdSchema_CMPLRS_EDL) then
-@set %StdSchema_CMPLRS_EDL = "";
-
---- Insert your stuff Here
-
---
--- Templates HP-UX 
---
-@if ( %Station == "hp" ) then
-
-  @string %CMPLRS_CXX_Options = %CMPLRS_CXX_Options " -w  ";
---- POP suivant directive POP :  @string %CMPLRS_CXX_Options = %CMPLRS_CXX_Options " -w +a1 ";
---
--- FSA : +O2 est trop consomateur de swap pour l'instant.
-
-  @set %ModeOpt = "+O1";
-
-@endif;
-
-@endif;
index b4b00d0..de026a1 100644 (file)
@@ -50,9 +50,7 @@ package TDocStd
 uses 
      Standard,
      CDF,
-     CDM,
      PCDM,
-     MDF,
      TDF,
      TColStd,
      TCollection,
diff --git a/src/TKPCAF/EXTERNLIB b/src/TKPCAF/EXTERNLIB
deleted file mode 100755 (executable)
index 26e986d..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-PTKernel
-TKBRep
-TKMath
-TKernel
-TKCDF
-TKG2d
-TKV3d
-TKService
-TKG3d
-TKPShape
-TKCAF
-TKLCAF
-TKPLCAF
diff --git a/src/TKPCAF/FILES b/src/TKPCAF/FILES
deleted file mode 100755 (executable)
index ca4f0e5..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-EXTERNLIB
-PACKAGES
diff --git a/src/TKPCAF/PACKAGES b/src/TKPCAF/PACKAGES
deleted file mode 100755 (executable)
index 10549ef..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-PDataXtd
-PNaming
-PPrsStd
-MDataXtd
-MPrsStd
-MNaming
diff --git a/src/TKPLCAF/EXTERNLIB b/src/TKPLCAF/EXTERNLIB
deleted file mode 100755 (executable)
index 947551f..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-TKCDF
-PTKernel
-TKernel
-TKLCAF
diff --git a/src/TKPLCAF/FILES b/src/TKPLCAF/FILES
deleted file mode 100755 (executable)
index ca4f0e5..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-EXTERNLIB
-PACKAGES
diff --git a/src/TKPLCAF/PACKAGES b/src/TKPLCAF/PACKAGES
deleted file mode 100755 (executable)
index 515b6dd..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-PDF
-PDataStd
-PFunction
-PDocStd
-MDF
-MDataStd
-MFunction
-MDocStd
-
diff --git a/src/TKPShape/EXTERNLIB b/src/TKPShape/EXTERNLIB
deleted file mode 100755 (executable)
index 2e05fdd..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-TKMath
-TKernel
-TKG2d
-TKG3d
-PTKernel
-TKBRep
diff --git a/src/TKPShape/FILES b/src/TKPShape/FILES
deleted file mode 100755 (executable)
index ca4f0e5..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-EXTERNLIB
-PACKAGES
diff --git a/src/TKPShape/PACKAGES b/src/TKPShape/PACKAGES
deleted file mode 100755 (executable)
index be57f24..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-PBRep
-PTopoDS
-PGeom
-PGeom2d
-PPoly
-PColgp
-PTopLoc
-MgtBRep
-MgtGeom
-MgtGeom2d
-MgtPoly
-MgtTopLoc
-MgtTopoDS
index 75b2724..be8b4c9 100755 (executable)
@@ -4,7 +4,6 @@ TKernel
 TKService
 TKG2d
 TKDraw
-PTKernel
 TKV3d
 TKGeomBase
 TKG3d
@@ -32,8 +31,6 @@ TKXDESTEP
 TKXSDRAW
 TKSTL
 TKVoxel
-TKShapeSchema
-TKPShape
 CSF_gdi32
 CSF_advapi32
 CSF_user32
diff --git a/src/TKShapeSchema/EXTERNLIB b/src/TKShapeSchema/EXTERNLIB
deleted file mode 100755 (executable)
index 10f0293..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-TKernel
-TKG2d
-PTKernel
-TKMath
-TKCDF
-TKPShape
diff --git a/src/TKShapeSchema/FILES b/src/TKShapeSchema/FILES
deleted file mode 100755 (executable)
index c999897..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-PACKAGES
-EXTERNLIB
diff --git a/src/TKShapeSchema/PACKAGES b/src/TKShapeSchema/PACKAGES
deleted file mode 100755 (executable)
index 79ccbb1..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-ShapeSchema
-PCDMShape
diff --git a/src/TKStdLSchema/EXTERNLIB b/src/TKStdLSchema/EXTERNLIB
deleted file mode 100755 (executable)
index 0c32293..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-TKCDF
-PTKernel
-TKernel
-TKShapeSchema
-TKLCAF
-TKPLCAF
diff --git a/src/TKStdLSchema/FILES b/src/TKStdLSchema/FILES
deleted file mode 100755 (executable)
index c999897..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-PACKAGES
-EXTERNLIB
diff --git a/src/TKStdLSchema/PACKAGES b/src/TKStdLSchema/PACKAGES
deleted file mode 100755 (executable)
index 62ea1ab..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-StdLSchema
-StdLDrivers
diff --git a/src/TKStdSchema/EXTERNLIB b/src/TKStdSchema/EXTERNLIB
deleted file mode 100755 (executable)
index a5d882f..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-TKCDF
-PTKernel
-TKPLCAF
-TKernel
-TKCAF
-TKShapeSchema
-TKLCAF
-TKStdLSchema
-TKG3d
-TKPShape
-TKMath
-TKG2d
-TKPCAF
diff --git a/src/TKStdSchema/FILES b/src/TKStdSchema/FILES
deleted file mode 100755 (executable)
index c999897..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-PACKAGES
-EXTERNLIB
diff --git a/src/TKStdSchema/PACKAGES b/src/TKStdSchema/PACKAGES
deleted file mode 100755 (executable)
index 0883306..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-StdSchema
-StdDrivers
diff --git a/src/TKXCAFSchema/EXTERNLIB b/src/TKXCAFSchema/EXTERNLIB
deleted file mode 100755 (executable)
index b1b60ca..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-TKPLCAF
-TKernel
-PTKernel
-TKMath
-TKPShape
-TKCDF
-TKShapeSchema
-TKLCAF
-TKPCAF
-TKXCAF
-TKStdLSchema
-TKStdSchema
diff --git a/src/TKXCAFSchema/FILES b/src/TKXCAFSchema/FILES
deleted file mode 100755 (executable)
index c999897..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-PACKAGES
-EXTERNLIB
diff --git a/src/TKXCAFSchema/PACKAGES b/src/TKXCAFSchema/PACKAGES
deleted file mode 100755 (executable)
index a09e852..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-MXCAFDoc
-PXCAFDoc
-XCAFDrivers
-XCAFSchema
index b117060..42fcb23 100644 (file)
@@ -50,10 +50,8 @@ XCAFApp_Application::XCAFApp_Application()
 
 void XCAFApp_Application::Formats(TColStd_SequenceOfExtendedString& Formats) 
 {
-  Formats.Append(TCollection_ExtendedString ("MDTV-XCAF"));  
   Formats.Append(TCollection_ExtendedString ("XmlXCAF"));
-  Formats.Append(TCollection_ExtendedString ("XmlOcaf"));
-  Formats.Append(TCollection_ExtendedString ("MDTV-Standard"));
+  Formats.Append(TCollection_ExtendedString ("BinXCAF"));
 }
 
 //=======================================================================
diff --git a/src/XCAFDrivers/FILES b/src/XCAFDrivers/FILES
deleted file mode 100755 (executable)
index b1d6ee3..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-FILES
-GUID.txt
diff --git a/src/XCAFDrivers/GUID.txt b/src/XCAFDrivers/GUID.txt
deleted file mode 100755 (executable)
index a1d723d..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-GUIDs defined here:
-
-ed8793f8-3142-11d4-b9b5-0060b0ee281b: DECAF storage driver
-ed8793f9-3142-11d4-b9b5-0060b0ee281b: DECAF retrieval driver
-ed8793fa-3142-11d4-b9b5-0060b0ee281b: XS schema
diff --git a/src/XCAFDrivers/XCAFDrivers.cdl b/src/XCAFDrivers/XCAFDrivers.cdl
deleted file mode 100644 (file)
index 5d55425..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
--- Created on: 2000-05-24
--- Created by: Edward AGAPOV
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-package XCAFDrivers 
-
-       ---Purpose: 
-
-uses
-    TCollection, 
-    CDM, 
-    PCDM, 
-    TDF, 
-    PDF, 
-    MDF, 
-    TDocStd, 
-    MDocStd, 
-    PDocStd
-    
-is
-    class DocumentRetrievalDriver;
-    
-    class DocumentStorageDriver;
-
-    ---Category: Factory methods
-    --           ==============================================================
-
-    Factory (aGUID: GUID from Standard)
-    returns Transient from Standard;
-       ---Purpose: Depending from the  ID, returns a list of  storage
-       --          or retrieval attribute drivers. Used for plugin.
-       --          
-       --          Standard data model drivers
-       --          ===========================
-       --          47b0b826-d931-11d1-b5da-00a0c9064368 Transient-Persistent 
-       --          47b0b827-d931-11d1-b5da-00a0c9064368 Persistent-Transient
-       --          
-       --          XCAF data model drivers
-       --          =================================
-       --          ed8793f8-3142-11d4-b9b5-0060b0ee281b Transient-Persistent 
-       --          ed8793f9-3142-11d4-b9b5-0060b0ee281b Persistent-Transient
-       --          ed8793fa-3142-11d4-b9b5-0060b0ee281b XCAFSchema
-
-
-end XCAFDrivers;
diff --git a/src/XCAFDrivers/XCAFDrivers.cxx b/src/XCAFDrivers/XCAFDrivers.cxx
deleted file mode 100644 (file)
index 9cf5e75..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-// Created on: 2000-05-24
-// Created by: Edward AGAPOV
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <XCAFDrivers.ixx>
-#include <XCAFDrivers_DocumentStorageDriver.hxx>
-#include <XCAFDrivers_DocumentRetrievalDriver.hxx>
-#include <XCAFSchema.hxx>
-
-#include <Standard_Failure.hxx>
-#include <Standard_GUID.hxx>
-#include <StdDrivers.hxx>
-#include <Storage_HArrayOfSchema.hxx>
-#include <StdSchema.hxx>
-#include <StdLSchema.hxx>
-#include <ShapeSchema.hxx>
-
-#include <Plugin_Macro.hxx>
-
-static Standard_GUID XSStorageDriver  ("ed8793f8-3142-11d4-b9b5-0060b0ee281b");
-static Standard_GUID XSRetrievalDriver("ed8793f9-3142-11d4-b9b5-0060b0ee281b");
-static Standard_GUID XCAFSchemaID     ("ed8793fa-3142-11d4-b9b5-0060b0ee281b");
-
-Handle(Standard_Transient) XCAFDrivers::Factory(const Standard_GUID& aGUID) {
-  
-  if(aGUID == XCAFSchemaID) {    
-#ifdef OCCT_DEBUG
-    cout << "XCAFSchema : Plugin" << endl;
-#endif
-    static Handle(XCAFSchema)  model_ss;
-    static Standard_Boolean IsInitialized = Standard_False;
-    if (! IsInitialized)
-    {
-      IsInitialized = Standard_True;
-      model_ss = new XCAFSchema;
-      // nest Standard schema
-      Handle(Storage_HArrayOfSchema) aSchemaArray = new Storage_HArrayOfSchema (1, 3);
-      aSchemaArray->SetValue (1, new StdLSchema);
-      aSchemaArray->SetValue (2, new StdSchema);
-      aSchemaArray->SetValue (3, new ShapeSchema);
-
-      model_ss->SetNestedSchemas (aSchemaArray);
-    }
-    return model_ss;
-  }
-
-  if(aGUID == XSStorageDriver)  
-  {
-#ifdef OCCT_DEBUG
-    cout << "XCAFDrivers : Storage Plugin" << endl;
-#endif
-    static Handle(XCAFDrivers_DocumentStorageDriver) model_sd 
-      = new XCAFDrivers_DocumentStorageDriver;
-    return model_sd;
-  }
-  if(aGUID == XSRetrievalDriver) 
-  {  
-#ifdef OCCT_DEBUG
-    cout << "XCAFDrivers : Retrieval Plugin" << endl;
-#endif
-    static Handle (XCAFDrivers_DocumentRetrievalDriver) model_rd 
-      = new XCAFDrivers_DocumentRetrievalDriver;
-    return model_rd;
-  }
-  
-  return StdDrivers::Factory (aGUID);
-}
-
-#ifdef _MSC_VER
-#pragma warning(disable:4190) /* disable warning on C++ type returned by C function; should be OK for C++ usage */
-#endif
-
-PLUGIN(XCAFDrivers)
diff --git a/src/XCAFDrivers/XCAFDrivers_DocumentRetrievalDriver.cdl b/src/XCAFDrivers/XCAFDrivers_DocumentRetrievalDriver.cdl
deleted file mode 100644 (file)
index c747887..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
--- Created on: 2000-05-24
--- Created by: Edward AGAPOV
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class DocumentRetrievalDriver from XCAFDrivers 
-inherits DocumentRetrievalDriver from MDocStd
-
-       ---Purpose: retrieval driver of a XS document
-
-uses
-    ARDriverTable from MDF,
-    MessageDriver from CDM
-
-is
-    Create returns DocumentRetrievalDriver from XCAFDrivers;    
-
-    AttributeDrivers(me : mutable; theMessageDriver : MessageDriver from CDM)
-    returns ARDriverTable from MDF
-    is redefined;
-
-end DocumentRetrievalDriver;
-
diff --git a/src/XCAFDrivers/XCAFDrivers_DocumentRetrievalDriver.cxx b/src/XCAFDrivers/XCAFDrivers_DocumentRetrievalDriver.cxx
deleted file mode 100644 (file)
index 294fbaa..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-// Created on: 2000-05-24
-// Created by: Edward AGAPOV
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <XCAFDrivers_DocumentRetrievalDriver.ixx>
-#include <MDF.hxx>
-#include <MDataStd.hxx> 
-#include <MDF_ARDriverHSequence.hxx>
-#include <MXCAFDoc.hxx>
-#include <StdDrivers_DocumentRetrievalDriver.hxx>
-
-//=======================================================================
-//function : XCAFDrivers_DocumentRetrievalDriver
-//purpose  : 
-//=======================================================================
-
-XCAFDrivers_DocumentRetrievalDriver::XCAFDrivers_DocumentRetrievalDriver() {}
-
-//=======================================================================
-//function : AttributeDrivers
-//purpose  : 
-//=======================================================================
-
-Handle(MDF_ARDriverTable) XCAFDrivers_DocumentRetrievalDriver::AttributeDrivers(const Handle(CDM_MessageDriver)& theMessageDriver)
-{ 
-  // Standard drivers
-  Handle(StdDrivers_DocumentRetrievalDriver) aDocumentRetrievalDriver = new StdDrivers_DocumentRetrievalDriver;
-  Handle(MDF_ARDriverTable) aRetrievalTable = aDocumentRetrievalDriver->AttributeDrivers(theMessageDriver);
-  
-  // Native drivers
-  Handle(MDF_ARDriverHSequence) anHARSeq = new MDF_ARDriverHSequence();  
-  MXCAFDoc::AddRetrievalDrivers        (anHARSeq, theMessageDriver);
-  //
-  aRetrievalTable->SetDrivers           (anHARSeq); //aRetrievalTable will append Native drivers
-  return aRetrievalTable;
-}
diff --git a/src/XCAFDrivers/XCAFDrivers_DocumentStorageDriver.cdl b/src/XCAFDrivers/XCAFDrivers_DocumentStorageDriver.cdl
deleted file mode 100644 (file)
index a14c7ea..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
--- Created on: 2000-05-24
--- Created by: Edward AGAPOV
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-class DocumentStorageDriver from XCAFDrivers 
-inherits DocumentStorageDriver from MDocStd
-                   
-       ---Purpose: storage driver of a  XS document
-                   
-uses
-    ASDriverTable from MDF,
-    MessageDriver from CDM
-
-is
-    Create returns DocumentStorageDriver from XCAFDrivers;
-
-    AttributeDrivers(me : mutable; theMessageDriver : MessageDriver from CDM)
-    returns ASDriverTable from MDF
-    is redefined;
-
-end DocumentStorageDriver;
-    
diff --git a/src/XCAFDrivers/XCAFDrivers_DocumentStorageDriver.cxx b/src/XCAFDrivers/XCAFDrivers_DocumentStorageDriver.cxx
deleted file mode 100644 (file)
index 67e9288..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-// Created on: 2000-05-24
-// Created by: Edward AGAPOV
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <XCAFDrivers_DocumentStorageDriver.ixx>
-#include <MDF.hxx>
-#include <MDF_ASDriverHSequence.hxx>
-#include <MDF_ASDriverTable.hxx>
-#include <MXCAFDoc.hxx>
-#include <StdDrivers_DocumentStorageDriver.hxx>
-
-//=======================================================================
-//function : XCAFDrivers_DocumentStorageDriver
-//purpose  : 
-//=======================================================================
-
-XCAFDrivers_DocumentStorageDriver::XCAFDrivers_DocumentStorageDriver() {}
-
-//=======================================================================
-//function : AttributeDrivers
-//purpose  : 
-//=======================================================================
-
-Handle(MDF_ASDriverTable) XCAFDrivers_DocumentStorageDriver::AttributeDrivers(const Handle(CDM_MessageDriver)& theMessageDriver) 
-{
-  // Standard drivers
-  Handle(StdDrivers_DocumentStorageDriver) aDocumentStorageDriver =
-    new StdDrivers_DocumentStorageDriver;
-  Handle(MDF_ASDriverTable) aStorageTable =
-    aDocumentStorageDriver->AttributeDrivers(theMessageDriver);
-  
-  // Native drivers
-  Handle(MDF_ASDriverHSequence) anHASSeq = new MDF_ASDriverHSequence();  
-  MXCAFDoc::AddStorageDrivers          (anHASSeq, theMessageDriver);
-  //
-  //aStorageTable will append Native drivers
-  aStorageTable->SetDrivers             (anHASSeq);
-  return aStorageTable;
-}
diff --git a/src/XCAFSchema/FILES b/src/XCAFSchema/FILES
deleted file mode 100755 (executable)
index 794f9a5..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-FILES
-XCAFSchema_CMPLRS.edl
diff --git a/src/XCAFSchema/XCAFSchema.cdl b/src/XCAFSchema/XCAFSchema.cdl
deleted file mode 100644 (file)
index 08cba19..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
--- Created on: 2000-05-26
--- Created by: Edward AGAPOV
--- Copyright (c) 2000-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-schema XCAFSchema 
-
-    ---Purpose: Schema
-
-is
-
-    package PXCAFDoc;
-    
-end XCAFSchema;
diff --git a/src/XCAFSchema/XCAFSchema_CMPLRS.edl b/src/XCAFSchema/XCAFSchema_CMPLRS.edl
deleted file mode 100644 (file)
index 33f7ee0..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
--- Created on: 1999-11-05
--- Created by: Sergey ZARITCHNY
--- Copyright (c) 1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-@ifnotdefined ( %XCAFSchema_CMPLRS_EDL) then
-@set %XCAFSchema_CMPLRS_EDL = "";
-
---- Insert your stuff Here
-
---
--- Templates HP-UX 
---
-@if ( %Station == "hp" ) then
-
-  @string %CMPLRS_CXX_Options = %CMPLRS_CXX_Options " -w  ";
---- POP suivant directive POP :  @string %CMPLRS_CXX_Options = %CMPLRS_CXX_Options " -w +a1 ";
---
--- FSA : +O2 est trop consomateur de swap pour l'instant.
-
-  @set %ModeOpt = "+O1";
-
-@endif;
-
-@endif;
index eef41ee..89a3a19 100644 (file)
@@ -121,7 +121,7 @@ static Standard_Integer newDoc (Draw_Interpretor& di, Standard_Integer argc, con
   if (!DDocStd::Find(A)) return 1;
 
   if (!DDocStd::GetDocument(argv[1],D,Standard_False)) {
-    A->NewDocument(  "MDTV-XCAF"  ,D);
+    A->NewDocument(  "BinXCAF"  ,D);
     DD = new DDocStd_DrawDocument(D);
     TDataStd_Name::Set(D->GetData()->Root(),argv[1]);
     Draw::Set(argv[1],DD);
@@ -1025,7 +1025,7 @@ static Standard_Integer testDoc (Draw_Interpretor&,
  
   Handle(XCAFApp_Application) A = XCAFApp_Application::GetApplication();
  
-  Handle(TDocStd_Document) aD1 = new TDocStd_Document("MDTV-XCAF");
+  Handle(TDocStd_Document) aD1 = new TDocStd_Document("BinXCAF");
   aD1->Open(A);
   
   TCollection_AsciiString  aViewName ("Driver1/DummyDocument/View1");
index c9747b5..8761b3a 100644 (file)
@@ -224,7 +224,7 @@ static Standard_Integer ReadIges (Draw_Interpretor& di, Standard_Integer argc, c
   if (!DDocStd::GetDocument(argv[1],doc,Standard_False)) {  
     Handle(TDocStd_Application) A;
     if (!DDocStd::Find(A)) {di<<"No application found"<<"\n";return 1;}
-    A->NewDocument("MDTV-XCAF",doc);  
+    A->NewDocument("BinXCAF",doc);  
     TDataStd_Name::Set(doc->GetData()->Root(),argv[1]);  
     Handle(DDocStd_DrawDocument) DD = new DDocStd_DrawDocument(doc);  
     Draw::Set(argv[1],DD);       
@@ -335,7 +335,7 @@ static Standard_Integer ReadStep (Draw_Interpretor& di, Standard_Integer argc, c
   if (!DDocStd::GetDocument(argv[1],doc,Standard_False)) {  
     Handle(TDocStd_Application) A;
     if (!DDocStd::Find(A)) {di<<"No application found"<<"\n";return 1;}
-    A->NewDocument("MDTV-XCAF",doc);  
+    A->NewDocument("BinXCAF",doc);  
     TDataStd_Name::Set(doc->GetData()->Root(),argv[1]);  
     Handle(DDocStd_DrawDocument) DD = new DDocStd_DrawDocument(doc);  
     Draw::Set(argv[1],DD);       
diff --git a/tests/bugs/caf/bug24565 b/tests/bugs/caf/bug24565
deleted file mode 100644 (file)
index 402129b..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-puts "=========="
-puts "OCC24565"
-puts "=========="
-puts ""
-###################################################
-# MgtBRep persistence bug
-###################################################
-
-pload QAcommands
-
-set igs_file [locate_data_file bug24565_N60E.igs]
-
-set output_file ${imagedir}/bug24565_output.stor
-catch { file delete ${output_file} }
-
-dlog reset
-dlog on
-OCC24565 ${igs_file} ${output_file}
-set info [dlog get]
-
-if { [regexp "Exception" ${info} ] != 1 } {
-    puts "OK : persistence is good"
-} else {
-    puts "Error : persistence is bad"
-}
diff --git a/tests/bugs/fclasses/bug142 b/tests/bugs/fclasses/bug142
deleted file mode 100644 (file)
index f0d6b55..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-puts "========"
-puts "OCC142"
-puts "CSR888 (call 68539)"
-puts "========"
-
-pload QAcommands
-
-OCC142
diff --git a/tests/bugs/fclasses/bug216 b/tests/bugs/fclasses/bug216
deleted file mode 100644 (file)
index 394b8c9..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-puts "========"
-puts "OCC216"
-puts "========"
-
-pload QAcommands
-
-OCC216